Commit Graph
321 Commits
Author SHA1 Message Date
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 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 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 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 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 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
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