Commit Graph
371 Commits
Author SHA1 Message Date
Brent Simmons 6b0985c2c4 Skip clearing the restored article during state restoration. 2026-01-31 20:16:08 -08:00
Brent Simmons 97a76336b5 Keep track of when article view was pushed, so timeline deselects only in case where article view was popped. 2026-01-31 08:18:32 -08:00
Brent Simmons 1289201dbd Get rid of push animation on restoring article on launch. 2026-01-28 10:46:20 -08:00
Brent Simmons c5625635de Fix restore-selection bug on refreshing the timeline. 2026-01-26 12:20:58 -08:00
Stuart Breckenridge c0df3f2de1 🩹 Fix #5014 2026-01-25 14:47:08 +08:00
Stuart Breckenridge 3aba6ce688 ✨ Timeline as CollectionView 2026-01-25 13:56:56 +08:00
Stuart Breckenridge 3836d08b11 Additional collection view work 2026-01-24 15:21:34 +08:00
Brent Simmons 5881086246 Add isRestoringState flag so that the current article is not cleared during state restoration when it doesn't appear in the timeline. 2026-01-21 21:40:59 -08:00
Brent Simmons 28a1ca85c3 Fixed bug that could cause the wrong feed to be displayed in the timeline — we were checking for indexpath and not feed identity. 2026-01-21 14:37:52 -08:00
Brent Simmons f26dbc7090 Use dataSource as source of truth for UI. 2026-01-19 21:59:05 -08:00
Brent Simmons 5e3537f04a Delete some unused code. 2026-01-19 21:42:45 -08:00
Brent Simmons ed4c47d003 Fix SwiftLint issues. 2026-01-19 17:00:47 -08:00
Brent Simmons b16da1115b Fix two cases where user facing text was using ... instead of an ellipsis character … 2026-01-19 17:00:20 -08:00
Brent Simmons 99ca89bbfc Queue up calls to rebuildBackingStores when possible. This helps performance during refresh, especially during an initial refresh of a new account. 2026-01-19 15:12:45 -08:00
Brent Simmons 3f7af09b22 Add function reconfigureSidebarItem to update a row given a SidebarItem. Call from displayNameDidChange. 2026-01-19 10:47:06 -08:00
Brent Simmons 9a44b4b70b Rename savedSearchArticleIds to savedSearchArticleIDs. 2026-01-19 09:41:43 -08:00
Brent Simmons 3d5486ad5f Rename some instances of Feed and feed that should be SidebarItem and sidebarItem. 2026-01-19 09:41:06 -08:00
Brent Simmons a431889591 Rename FeedNode to SidebarItemNode. 2026-01-19 09:32:10 -08:00
Brent Simmons 3036fb74bd Put a guard’s return statement on its own line. It’s quicker for me to parse and easier to set a breakpoint. (Yes, I know that we can set a breakpoint for an inline return.) 2026-01-19 09:19:08 -08:00
Brent Simmons e2eca11b6c Renamed functions that reference shadowTable. 2026-01-19 09:13:22 -08:00
Brent Simmons 8f078352ca Make sure dataSource exists at the right time on launch. Make tweak to logging in rebuildBackingStores to make it less annoying. 2026-01-19 08:54:28 -08:00
Brent Simmons b7df740b24 Fix build errors. 2026-01-18 16:07:38 -08:00
Brent Simmons 9d9699c55a Use diffable data source. 2026-01-18 15:43:51 -08:00
Brent Simmons 6aa6710c5a Fix cause of hash collision — SidebarItemIdentifier isn’t necessarily unique, given that a feed can appear in multiple locations in some account types. 2026-01-18 14:22:47 -08:00
Brent Simmons 86adfec53f Remove some too-noisy logging. 2026-01-18 10:36:55 -08:00
Brent Simmons 4a0a263f5d Defer rebuilding backing stores when a BatchUpdate is in progress. Fix #4949. 2026-01-18 10:17:43 -08:00
Brent Simmons 4d4938f9ca Fix performance issue with constantly rebuilding the data model for the sidebar. Fix #4975. 2026-01-17 14:26:41 -08:00
Brent Simmons 5172efb96e Add missing import. 2026-01-17 14:04:40 -08:00
Brent Simmons e77815fcee Add some logging to SceneCoordinator. 2026-01-17 14:03:23 -08:00
Brent Simmons 99a8882d95 Extend the BatchUpdate.shared.isPerforming protection around the animations the collection view controller does so that the model doesn’t change during those animations. Also: make sure the model is rebuilt in the case where another change comes in during the animation. This hopefully fixes #4949. 2026-01-16 11:03:59 -08:00
Stuart Breckenridge f0b13dac5e 🐛 Fix selection logic
Fix #4947 by adding delay
2026-01-12 20:58:37 +08:00
Brent Simmons c4479897da Fix SwiftLint issues. 2026-01-10 09:21:30 -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 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 fbada99931 💄 Change supplementary column width min/pref/max 2026-01-08 19:27:22 +08:00
Brent Simmons a9b4efeaab Remove most uses of forEach. (Note: not talking about SwiftUI ForEach, which is fine and good and should not be removed.) 2026-01-04 12:36:41 -08:00
Brent Simmons bc4879a4fa Use the new regularized and more flexible progress reporting system. 2026-01-04 10:53:08 -08:00
Brent Simmons 9ff1bd9836 Fix various SwiftLint warnings. 2026-01-02 17:50:35 -08:00
Brent Simmons e45490fb1e Fix various SwiftLint warnings. 2026-01-02 11:57:55 -08:00
Brent Simmons 36956c0345 Fix various SwiftLint warnings. 2026-01-02 10:17:41 -08:00
Brent Simmons 0832a7cf67 Fix various SwiftLint warnings. 2026-01-01 17:55:12 -08:00
Brent Simmons 61e109a0d5 Fix various SwiftLint warnings. 2026-01-01 15:59:20 -08:00
Brent Simmons d6f44c291f Use more verbose but easier-to-read names in HidingReadArticlesState. 2025-12-30 21:40:37 -08:00
Brent Simmons 4b1ee96998 Merge (manually) SceneCoordinator changes from 6.2.1. 2025-12-30 17:37:24 -08:00
Stuart Breckenridge 1b822cf0ad 🩹 Fix to make sure unread count displays 2025-12-12 20:24:58 +08:00
Brent Simmons 1383a9476a Restore state using UserDefaults. 2025-12-05 10:18:38 -08:00
Brent Simmons 72a8592caa Restore state using UserDefaults. 2025-12-05 09:11:53 -08:00
Brent Simmons 833d06c076 Fix various concurrency issues. 2025-11-18 20:22:48 -08:00
Brent Simmons 143e5e1da8 Use Swift 6.2 tools and Swift 6 language mode with RSTree. Deal with fallout. 2025-11-10 11:26:10 -08:00