Commit Graph
304 Commits
Author SHA1 Message Date
Brent Simmons 5e39b569a7 Merged main to branch. 2025-11-01 15:53:33 -07:00
Brent Simmons 4b7ea6d920 Mark classes as final when they can be, to communicate intent (don’t subclass these). Fix #4751. 2025-09-16 10:21:29 -07:00
Stuart Breckenridge 0050146577 💄 Make tile consistent
.tile is the default behaviour to maintain the display of three columns  when selecting a timeline item.
2025-08-18 23:01:02 +08:00
Stuart Breckenridge f4429de5d8 🔥 Remove willChangeTo displayMode: 2025-08-18 14:23:13 +08:00
Stuart Breckenridge 49e22cacb4 Fix #4722 - Use custom title/subtitle views
This restores the ability to tap the feed title and display the inspector.

- A tap gesture is added to both title/subtitle, and pointer interaction is added to just the title.
- As the title/subtitle is updated, user interaction is disabled when the feed is PseudoFeed.
2025-08-16 18:36:11 +08:00
Stuart Breckenridge cbde62d245 💄 Give supplementary a preferred fraction 2025-07-26 20:41:23 +08:00
Stuart Breckenridge 04f659f704 💄 Liquid Glass Redesign for NetNewsWire
💄 Add `MainFeedCollectionViewController`

💄 Add and hook up UICollectionView in Storyboard

🚧 Collection view loads temp cells

🚧 UICollectionView

- Adds capsule shape for iPad selection
- Add filter button, newItem button, settings button
- Configures the collection view based on platform
- implementsDidSelectItem at
- Clears cell background on iPad
- Adds cell textColor for iPad
- Storyboard changes

🚧 Adds unread count and favicon support

🚧 Smartfeed icons now display

🚧 iPhone cells are consistent in light/dark mode

💄 Sidebar modernised

Known bug: Sidebar text doesn’t adapt to dark/light mode changes on iPad

💄 Modern Sidebars

Fixes some accessibilty issues and adds swipe actions.

🩹 Become firstResponder

🩹 Workaround #4691

💡 Remove print statement

💄 Fixes to storyboard

- adjusts constraints on timeline header view
- launch screens now adopt look of liquid glass

Restore coordinator behaviour

⚡️ Tweaks to MainFeedCollectionViewController

- On iPhone, returning to the feeds view deselect the current feed with an animation.
- On iPhone, prefers large titles defaults to `false`
- Capsule background with smaller corner radius for iPhone added for selected status.

🩹 Fixes folder height

💄 Fix unread count vertical alignment

💄 Restores header & use UICellConfigurationState

💄 Sidebar tweaks

💄 Folders now highlight on as drop target

💄 Sidebar fixes

- Moves more code to cell configuation state
- Allows sidebar to move to larger sizes

🩹 Fixes #4694  folder expansion using keyboard

💄 Adds new cell types for the Timeline

♻️ Remove dead code and re-orders to viewWillApp

🩹 Reordering of code from viewWA to viewDA

💄 Removes unused code, tweaks layout

💄 Multiple tweaks to sidebar and timeline

💄 Add missing constraint

♿️ Puts timeline metadata in a stackview

🎨 Adds stackview function

💄 🚑️ Moves to modern UISliders

Timeline customiser now uses modern UISliders as they have tickmark functionality.

`TickMarkSlider` marked as deprecated.

💄 Make All Unread cell icon tint correctly

💄 Extend edges under opaque bars on timeline

💄 Image View Controller uses modern button style

🚚 Renames `MainTimelinePseudoFeedCell`

💄 Improve feed selection animations

🩹 Use shouldSelectItem to handle selection logic

🩹 Fix fill settings for stack view

💄 Comment out usage of MainTimelineTitleView

🔧 Remove iOS cells from macOS target

💄 Give columns some flexibility

💄 Fix chevron size and alignment

💄 Don’t prefer large navigation bar titles

They create a delay in animation on iPhone.

🩹 Fixes nav bar subtitle performance

🎨 Minor refactor

- Switch logic in cell state
- Prefer traitCollection.userInterfaceIdiom

➕ Add updated mac code for the About view

💄 NSGlassVisualEffectView for About
2025-07-23 21:58:47 +08:00
Stuar Breckenridge 255d238646 ♻️ Rename isRefreshScheduled 2025-06-21 23:05:55 +08:00
Stuart Breckenridge 2c757a70c4 💄 Add Navigation Subtitle logic to SceneCoord 2025-06-14 14:45:57 +08:00
Brent Simmons ee9c14783f Revert webview changes that might be the cause of the no-scroll-on-coming-back-from-sleep bug. 2025-05-08 21:29:58 -07:00
Brent Simmons 86f6d51428 Fix typos. 2025-04-28 21:45:23 -07:00
Brent Simmons b7d4041781 Simplify WebView loading on iOS. 2025-04-28 21:00:31 -07:00
Brent Simmons 6247d72a5b Fix a couple typos. 2025-04-28 08:46:03 -07:00
Brent Simmons aa75efaa2e Fix test-time crashes by making sure some main thread code runs on main thread. 2025-04-20 21:21:38 -07:00
Brent Simmons e7992441bb Handle more cases in willChangeTo displayMode delegate method. Create and use setRefreshToolbarItemVisibility method on TimelineViewController. 2025-01-18 21:47:05 -08:00
Stuart Breckenridge 7ea9ce509b ♻️ Moves timeline fix to scene coordinator 2025-01-18 21:46:48 -08:00
Brent Simmons eb2ea9c770 Fix obscure warning. 2025-01-01 21:23:13 -08:00
Brent Simmons 4c0d371103 Restore Go To Feed menu item. 2025-01-01 21:02:48 -08:00
Brent Simmons b0b5ad018c Fix theme-importing — use startAccessingSecurityScopedResource and stopAccessingSecurityScopedResource, which appear to be required now. 2024-12-31 21:15:51 -08:00
Brent Simmons b601c181dd Rename Master* to Main*. 2024-12-24 12:09:41 -08:00
Brent Simmons a86d4dbab4 Rename MasterFeed* to MainFeed*. 2024-12-24 11:37:23 -08:00
Maurice Parker c7b606c89e Disable navigation for selectPrevUnread and selectNextUnread 2024-12-23 22:29:53 -08:00
Maurice Parker a6b19fb22a Change to new iOS 3 panel UISplitViewController 2024-12-22 22:03:08 -08:00
Brent Simmons 836d31875d Fix several warnings. 2024-12-07 14:52:38 -08:00
Brent Simmons d5dd6131b1 Bring in code from previous iOS release. 2024-12-04 17:52:46 -08:00
Brent Simmons c05ef2344f Remove unused code and references to Twitter and Reddit. 2023-11-25 11:44:34 -08:00
Dimitris Apostolou 94ae4d348c Fix typos 2022-01-05 00:25:20 +02:00
Maurice Parker 09652bff81 Remove Mark Read on Scroll code 2021-12-29 14:44:40 -08:00
Maurice Parker 1bc46f1251 Fix initial sidebar load - selected item wasn't getting reloaded correctly 2021-11-18 12:25:43 -06:00
Stuart Breckenridge 8b39dc4abb Uses SceneCoordinator
Adds a `func` to SceneCoordinator to handle dismisses vis-a-vis using notifications.
2021-11-08 09:52:12 +08:00
everhardt 8e53768033 Mark bottom items in feed as read after 2 seconds on iOS
In case markArticlesAsReadOnScroll is set
2021-10-30 11:17:59 +02:00
everhardt 3b6a3cf4e7 Do not mark articles as read on scroll when they were manually toggled 2021-10-30 10:37:10 +02:00
Maurice Parker 5f4409ca1f Remove deferrer feed and article select hack 2021-10-21 13:08:18 -05:00
Maurice Parker f93cedfca0 Rebuild the backing stores when selecting a different feed and the read feeds filter is enabled 2021-10-21 11:55:59 -05:00
Maurice Parker 245a648293 Remove code to auto expand reactivated accounts 2021-10-21 09:44:07 -05:00
Maurice Parker 08a1e79e7d Fix handling of how sections were added and remove 2021-10-20 20:37:29 -05:00
Maurice Parker bbc7230e76 Refactor Diffable Datasources out of the Sidebar 2021-10-20 19:03:02 -05:00
Stuart Breckenridge c29afd2677 try? changed to try with error handling 2021-09-21 09:22:45 +08:00
Stuart Breckenridge 78e0595708 Various ThemeDownloader Updates
- `try` added where applicable to ArticleTheme inits
- `ArticleThemePlist` has fixed spelling of theme identifier and conforms to Equatable
- `ArticleTheme` now uses `ArticleThemePlist`
-  `ArticleThemeDownloader` is now a class
- `ArticleThemeDownloader` will now download themes to Application Support/NetNewsWire/Downloads on macOS and iOS.
- `ArticleThemeDownloader` will remove downloaded themes from the Download folder when the application is closed.
- macOS app delegate now observes for theme download fails
- Error display code moved from SceneDelegate to SceneCoordinator so that it can use existing presentError on rootVC.
2021-09-21 09:10:56 +08:00
Maurice Parker 42bcaf7e55 Extract Theme Import logic so that it can be reused 2021-09-18 10:28:19 -05:00
Maurice Parker ee2e2f8fa6 Merge branch 'ios-release' 2021-09-15 05:22:18 -05:00
Maurice Parker 5299134e01 Fix regression that broke state restoration on the iPhone 2021-09-15 05:05:58 -05:00
Maurice Parker f44308c0c5 Make state restoration work on both the iPad and the iPhone 2021-09-13 02:22:15 -05:00
Maurice Parker 5001d82355 Restore article scroll position on iOS 2021-09-13 01:11:23 -05:00
Maurice Parker 04ff96c60a Fix variable name 2021-09-12 16:35:49 -05:00
Maurice Parker cad91d9415 Add the ability to import themes on iOS 2021-09-12 14:46:15 -05:00
Maurice Parker 8633516cc6 Merge branch 'ios-release' 2021-09-11 14:28:20 -05:00
Maurice Parker 25946f3c5a Defer the selection of the feed and article on state restoration to avoid crashes on iPad's running iOS 15 in landscape mode as they restore article selected state. Fixes #3201 2021-09-11 14:28:00 -05:00
Maurice Parker 2e7bb5b752 Remove optimization that was preventing selection changes from rebuilding the sidebar. 2021-08-24 17:56:36 -05:00
Maurice Parker 168020cba2 Always updates the tree controller when collapsing and expanding. Fixes #3040 2021-08-24 16:55:44 -05:00