Commit Graph
1993 Commits
Author SHA1 Message Date
Brent Simmons 1d49b93283 Fix bug where next-unread could cause the timeline to appear briefly. Fix, again, the iPad bug where the article wouldn’t clear after changing selection in Feeds sidebar. Also: restore split view configuration. 2025-12-07 09:47:00 -08:00
Brent Simmons 8bfc5411c4 Create a OPML UTType by filenameExtension in hopes that we can allow all .opml files on all devices. Fixes #4858. 2025-12-03 14:39:52 -08:00
Brent Simmons 94a936c696 Fix bug where article could persist on iPad after changing Feeds sidebar selection. Fix #4863. 2025-12-03 14:10:19 -08:00
Brent Simmons 07c47bb7dc Always show Feed view on iPad on launch. 2025-12-03 11:20:46 -08:00
Brent Simmons 236943f821 Add state restoration logging. 2025-12-03 11:20:35 -08:00
Brent Simmons 19f719a9d4 Clean up some code. 2025-12-03 09:43:13 -08:00
Brent Simmons 38d6b11c5e Create StateRestorationInfo struct and move all legacy migration to AppDefaults. 2025-12-03 08:51:55 -08:00
Brent Simmons 3be0276994 Fix expansion state restoration. 2025-12-02 12:21:36 -08:00
Brent Simmons 16c66513c1 Fix state restoration bug when showing article not present in timeline — this way its feed icon can be found. 2025-12-02 10:07:43 -08:00
Brent Simmons caff4a213d Update UserDefaults when currentArticle changes. 2025-12-02 09:47:29 -08:00
Brent Simmons 1ef2aa162d Do state restoration via UserDefaults only, not via NSUserActivity. 2025-12-02 09:23:26 -08:00
Brent Simmons 6ce3bdadc7 Get selected sidebar item and selected article before doing the state restoration, in case the process of pushing view controllers around overwrites the values in UserDefaults. 2025-12-02 09:23:04 -08:00
Brent Simmons 93f1dc5fe4 Use new article(matching:) and fetchArticle methods. 2025-12-02 08:59:30 -08:00
Brent Simmons 981aeb6daa Fix possible bug finding selected article. 2025-12-01 22:32:21 -08:00
Brent Simmons 2c2cee645d Move ArticleSpecifier to shared directory. 2025-12-01 21:33:47 -08:00
Brent Simmons 6bd59cb5de Add selectedArticle to UserDefaults. 2025-12-01 21:17:18 -08:00
Brent Simmons 4bf57afc11 Rename some AppDefaults things to SidebarItem over FeedIdentifier. Add state restoration for selectedSidebarItem. 2025-12-01 21:01:54 -08:00
Brent Simmons e0074d70bf Rename Key.readArticlesFilterState to Key.feedsHidingReadArticles. 2025-12-01 15:11:27 -08:00
Brent Simmons 616b9deebc Rename expandedTable to expandedContainers. Rename lastExpandedTable to lastExpandedContainers. 2025-12-01 14:57:54 -08:00
Brent Simmons f6bca9ee8f Rename containerExpandedWindowState to expandedContainers. 2025-12-01 14:55:01 -08:00
Brent Simmons ea6eedb864 Make containerExpandedWindowState typed as Set<ContainerIdentifier>?. 2025-12-01 14:53:04 -08:00
Brent Simmons 0b9ec94cf8 Make selectedFeedIdentifier a FeedIdentifier. 2025-12-01 14:43:24 -08:00
Brent Simmons c6f659dc96 Create and use feedsHidingReadArticles as Set<FeedIdentifier> on Mac and iOS. 2025-12-01 14:24:18 -08:00
Brent Simmons 380617920b Make readArticlesFilterState Set<FeedIdentifier>? instead of [[String: String]]?. 2025-12-01 13:10:08 -08:00
Brent Simmons 1f19d91a0d Make FeedIdentifier.userInfo [String: String] since it always really was. 2025-12-01 11:53:25 -08:00
Brent Simmons d68106ac0b Fix bug restoring expansion state on launch. Don’t overwrite stored state on launch — write state only when user makes change. 2025-12-01 10:34:34 -08:00
Brent Simmons d30c627577 Refactor iOS state restoration to migrate first and then restore from UserDefaults. 2025-12-01 09:55:40 -08:00
Brent Simmons 813f0706bd Move readArticlesFilterState to UserDefaults. 2025-11-30 21:45:22 -08:00
Brent Simmons 2ea00619c3 Convert containerExpandedWindowState to UserDefaults. 2025-11-30 21:21:53 -08:00
Brent Simmons bdf73d6eb0 Migrate articleWindowScrollY to UserDefaults. 2025-11-30 17:49:20 -08:00
Brent Simmons b9447d34d1 Migrate isShowingExtractedArticle to UserDefaults. 2025-11-30 12:12:50 -08:00
Brent Simmons 03c2a4d325 Migrate hide-read-feeds setting to UserDefaults. 2025-11-30 11:58:42 -08:00
Brent Simmons 79fa6c664b Create an SFSafariViewController safely — don’t crash on an unhandled Objective-C exception. 2025-11-29 20:37:45 -08:00
Brent Simmons 925f5c1ed4 Pass the markdown parameter. 2025-10-29 21:08:25 -07:00
Brent Simmons 9d485bc3f9 Use static logger. Refactor and improve code for handling status notifications. 2025-10-02 21:32:09 -07:00
Brent Simmons 5afb5a7d10 Replace OSLog with Logger. 2025-10-02 08:54:48 -07:00
Brent Simmons 93ef6b27f0 Force an app icon unread count badge update on foreground/background events. Fix #4365. 2025-10-01 11:49:49 -07:00
Brent Simmons 7b96ba05f9 Allow drag into empty account. Add logging. Fix #3825. 2025-09-30 12:07:54 -07:00
Brent Simmons f7dfac3e6a Create and use shared HelpURL for various help URLs. 2025-09-29 13:50:01 -07:00
Brent Simmons 6f947467ac Update window color palette when the setting changes — not every time any setting changes. 2025-09-29 10:34:17 -07:00
Brent Simmons 8fbca574bb Remove support for multiple scenes. Fix #4798. 2025-09-29 10:19:12 -07:00
Brent Simmons 4a9a9e755f Merge branch 'task/ios-wkuserscript-4309' 2025-09-28 11:55:37 -07:00
Brent Simmons 5a8403c053 Download and display image, since we can no longer get the image from the webview due to security policies. 2025-09-28 11:51:42 -07:00
Stuart Breckenridge 00d34234ff 🔥 Remove debug UIResponder code 2025-09-28 10:54:46 +08:00
Stuart Breckenridge c095334cff 🩹 Stop keyboard reappearing after it dismissal
Only allow the article search bar to start editing viewDidAppear. This stops the keyboard appearing at the wrong time. Fixes #4796
2025-09-28 10:53:25 +08:00
Brent Simmons 97a5953f3d Remove canvas code, which fails with CORS. 2025-09-25 11:01:45 -07:00
Brent Simmons 3cf3bc5763 Use shared WebViewConfiguration.configuration. Make sure allowsContentJavaScript is accessed on main thread. 2025-09-23 10:09:32 -07:00
Brent Simmons f80d081874 Fix a typo. 2025-09-23 10:08:57 -07:00
Brent Simmons 95d2d0e07b Remove extraneous whitespace. 2025-09-23 10:08:39 -07:00
Brent Simmons 551fd99b49 Use AddCloudKitAccountError to present error. 2025-09-22 20:43:32 -07:00