Commit Graph
9013 Commits
Author SHA1 Message Date
Brent Simmons dfe1dc368c Update version and release notes for Mac 7.0b3. mac-7.0b3 2026-01-10 09:36:09 -08:00
Brent Simmons c4479897da Fix SwiftLint issues. 2026-01-10 09:21:30 -08:00
Brent Simmons 759a1712d5 Merge pull request #4941 from stuartbreckenridge/nnw7-fixes/ios-sidebar-persistence
Implement sidebar, timeline, and article view state restoration
2026-01-10 09:19:12 -08:00
Brent Simmons 817909b7be Merge pull request #4939 from stuartbreckenridge/main
🚑️ Fix #4938 - Theme persistence
2026-01-10 09:14:15 -08:00
Stuart Breckenridge a187032f9d 🔥 Remove print statements 2026-01-10 17:30:15 +08:00
Stuart Breckenridge db397e7a0d ⚡️ Allow primary column on mark all as read
Mark all as read needs to change the `preferredDisplayMode` in order to allow `show(.primary)` to execute.
2026-01-10 17:17:53 +08:00
Stuart Breckenridge 159059cd15 ⚡️ Suppress column presentation
Code driven feed/article selections, particularly during app launch will change the displayMode and interfere with state restoration. This applies suppression logic to make it behave.
2026-01-10 17:16:49 +08:00
Stuart Breckenridge 1ef8945d10 Apply saved display mode in willConnectTo 2026-01-10 17:15:15 +08:00
Stuart Breckenridge 46cd724aa9 🔥 Remove toggleSidebar code
No longer triggered
2026-01-10 17:14:30 +08:00
Stuart Breckenridge 11e6380fac Add delegate method to track/save DisplayMode 2026-01-10 17:13:58 +08:00
Stuart Breckenridge e34a3d2adc 🔥 Delete toggleSidebar code
This is no longer triggered
2026-01-10 17:13:00 +08:00
Stuart Breckenridge 24074b10cb Add new default to track display mode
This will track the most recent `UISplitViewController.DisplayMode` set by the user or the system.
2026-01-10 17:11:48 +08:00
Stuart Breckenridge fd860b8cd5 🚑️ Fix #4938 - Theme persistence
When setting a new theme, these three functions need to run in sequence.

AppDefaults.shared.currentThemeName = newValue
updateThemeNames()
updateCurrentTheme()

Within updateThemeNames() there is a `Task { @MainActor in }` that allows  `updateCurrentTheme()` to complete before `updateThemeNames()`. In this scenario, when `updateCurrentTheme() is run the app hasnt got an itinerary of installed themes, so it sets the current them back to Default.

Removing the `Task` fixes the persistence issue.
2026-01-10 10:42:54 +08:00
Brent Simmons acfee014de Work around unexplainable Swift concurrency crash by creating/running the session off the main thread. Fixes #4937. 2026-01-09 18:33:32 -08:00
Brent Simmons 3792cd3eda Improve code formatting. 2026-01-09 11:04:21 -08:00
Brent Simmons 8e299ba0b7 Commit to Task { @MainActor in and delete unneeded dispatch queue main async calls. Also: replace completion-based retryIfPossible with local wrapper for Task.sleep. 2026-01-09 11:04:11 -08:00
Brent Simmons dc62d153bd Update appcast for 7.0b2. 2026-01-09 09:14:09 -08:00
Brent Simmons fac81ef7a2 Update Status for Mac 7.0b2. mac-7.0b2 2026-01-09 08:53:41 -08:00
Brent Simmons 3e95ce6376 Write release notes for 7.0b2. 2026-01-09 08:53:00 -08:00
Brent Simmons 5043e92444 Bump version to 7.0b2. 2026-01-09 08:52:48 -08:00
Brent Simmons e0be3718e0 Fix bug where hide-read-articles didn't work for Today feed or for folders. Fix #4919. 2026-01-08 21:47:39 -08:00
Brent Simmons b2c9cb6fd8 Fix concurrency crash by running code on MainActor that’s supposed to be on MainActor. Fix #4934. 2026-01-08 21:24:30 -08:00
Brent Simmons 98046b3e62 Fix toggleReadFilter, which had it backwards. Fix #4933. 2026-01-08 20:56:53 -08:00
Brent Simmons d94f37caa4 Add Gus Mueller’s contribution — always show menu item image when menu item title is empty. 2026-01-08 20:56:22 -08:00
Brent Simmons c635cb9d06 Add debug code for writing rendered article HTML to disk. 2026-01-08 20:30:51 -08:00
Brent Simmons f1dbe8045a Adjust the article title font size. Hide the .externalLink block when it’s empty. 2026-01-08 20:23:40 -08:00
Brent Simmons d4827b65a4 Update appcast for 7.0b1 for Mac. 2026-01-08 11:14:15 -08:00
Brent Simmons 68eadb169c Update status for Mac 7.0b1. mac-7.0b1 2026-01-08 10:43:13 -08:00
Brent Simmons 246cabc6f8 Write change notes for Mac 7.0b1. 2026-01-08 10:28:52 -08:00
Brent Simmons 36e4fa020a Anchor the Share picker, when launched via timeline contextual menu, to the right-clicked article, which may not be the same as the selected article. Fix #4931. 2026-01-08 10:00:07 -08:00
Brent Simmons af1e641f59 Adjust the leading space alignment of the explanation text to handle macOs 26’s changed metrics. 2026-01-08 09:38:08 -08:00
Brent Simmons 33013a5908 Use ellipsis character instead of three dots. 2026-01-08 09:19:55 -08:00
Brent Simmons 6a114a9b86 Remove unneeded internal annotations. 2026-01-08 09:14:51 -08:00
Brent Simmons 7df7a40018 Fix lint issues. 2026-01-08 09:07:53 -08:00
Brent Simmons 2dc8c37cd1 Merge pull request #4930 from stuartbreckenridge/nnw7-fixes/fix-4929
🚑️ Use NSSharingServicePicker to resolve crash
2026-01-08 09:04:29 -08:00
Brent Simmons 44364009ea Merge pull request #4928 from stuartbreckenridge/nnw7-fixes/fix-4912
💄 Change supplementary column width min/pref/max
2026-01-08 08:52:00 -08:00
Brent Simmons 306f4ea7a7 Merge pull request #4922 from stuartbreckenridge/improve-widget-performance
Improve widget performance
2026-01-08 08:50:57 -08:00
Stuart Breckenridge 32ef7b754d 🚑️ Use NSSharingServicePicker to resolve crash
Fixes #4929
2026-01-08 21:25:38 +08:00
Stuart Breckenridge fbada99931 💄 Change supplementary column width min/pref/max 2026-01-08 19:27:22 +08:00
Stuart Breckenridge cf103f013c 💄 Update lock screen widget alignment 2026-01-08 17:34:59 +08:00
Stuart Breckenridge 212d3973a2 ✨ Add Lock Screen Summary Widget 2026-01-08 16:50:57 +08:00
Stuart Breckenridge 117b5aa779 🩹 Fix selection logic
Improve `SceneDelegate` selection logic:
- select the correct feed before selecting the article
2026-01-08 16:31:58 +08:00
Brent Simmons 434f99db7f Improved state restoration when sidebar is collapsed. 2026-01-07 22:09:17 -08:00
Stuart Breckenridge 6458065e6a ⚡️ Widget encoding is syncronous
When the widget encoding is completed asynchronously and wrapped in `Task { @MainActor in }`, the app rarely (if ever) refreshes the widget unless attached to the debugger (in which case, unhelpfully, it works fine).

My thinking is that the app is being terminated _before_ `encode` is complete and therefore the call to refresh widget timelines is not happening consistently.

Moving the widget to synchronous encoding has resolved the widget refresh behaviour.
2026-01-08 13:50:36 +08:00
Stuart Breckenridge 03209e4294 🎨 Use Date.now instead of Date() 2026-01-08 13:39:36 +08:00
Brent Simmons 23a836dfea Trim default subscriptions list. 2026-01-07 21:33:11 -08:00
Brent Simmons e3e2ed335e Fix typo. 2026-01-07 21:33:02 -08:00
Stuart Breckenridge e55e5b5b3d ⚡️ Improve performance of Widget
Rewrite `encode()`:
- Remove file removal checks, writing data will replace
- Compare existing widget data to new data and determine which widgets actually need refreshed

Refactor `flushSharedContainer` to `removeStaleFaviconsFromSharedContainer`:
- No longer nuked in full
- Only favicons not accessed in the last seven days are deleted (in DEBUG builds this is 30 seconds)

Improve `writeImageDataToSharedContainer`:
- Favicons now use their md5 digest instead of a UUID (thus one image per feed, instead of one image per article)
- If the favicon exists it is not rewritten

Add `reloadTimelines`:
- Compares existing article arrays to new article arrays and will only reload specific widget timelines where there is a difference.
- `LatestArticle` now conforms to `Hashable` to make this possible.

Improve `SceneDelegate` selection logic:
- select the correct feed before selecting the article
2026-01-08 12:38:34 +08:00
Stuart Breckenridge 9af3103c7f 🩹 Fix alignment and use available counts in JSON 2026-01-08 12:29:34 +08:00
Brent Simmons 2ac2a3c1bf Fix concurrency crash in ArticlePasteboardWriter. 2026-01-07 18:21:56 -08:00