Commit Graph

277 Commits

Author SHA1 Message Date
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
Maurice Parker b27be9c8ea Don't animate the Feeds rebuild when responding to the initial unread count initialization. Fixes #2985 2021-06-15 16:35:29 -05:00
Brent Simmons 9d2c8f000f Create and use IconImageCache. It centralizes and de-dupes logic for getting feed/article images, and it caches the results, which helps performance. 2021-05-08 12:42:44 -07:00
Duncan Babbage bc056e4952 Mark as read just before display. Fixes #3037
Marking an article as read just before navigating to it prevents the read status from flashing unread/read on display when swiping to new unread articles, or navigating with the next article toolbar button.
2021-04-29 22:46:52 +12:00
Duncan Babbage 9092d075a0 Handle links with unencoded spaces. Fixes #3069 2021-04-28 22:49:32 +12:00
Maurice Parker c47480614c Fix regression where marking all as unread wouldn't take you back to the sidebar 2021-04-12 21:09:34 -05:00
Maurice Parker 991297165b Add completion callbacks so that we can ensure that unreads have been marked before determining the next unread. Fixes #2993 2021-04-12 19:42:05 -05:00
Maurice Parker 1a65211f19 Change how smart feeds are shown so that they appear even if they have been filtered 2020-11-19 05:23:07 -06:00
Stuart Breckenridge 361ca85762 Removes need for dispatchAsync delay 2020-11-19 12:17:29 +08:00
Stuart Breckenridge 0b4640db04 Tidies up Delegate and Coordinator code 2020-11-19 11:30:52 +08:00
Maurice Parker b0fc1eccca Fix deprecation warnings for Xcode 12.2 2020-10-25 12:34:02 -05:00
Maurice Parker 4284ea26c8 Merge branch 'mac-release' into main 2020-10-18 16:37:00 -05:00
Maurice Parker c580877a86 Change to utilize ArticleFetchers instead of Feeds so that the single article fetcher stops getting filtered out. Issue #2416 2020-09-12 18:09:42 -05:00
Maurice Parker feba4a7bc6 Change to respect individual feed filters when multiple feeds are selected. Issue #2399 2020-09-08 17:14:49 -05:00
Maurice Parker 0cb0bc357a Rename AddWebFeed controller classes to AddFeed since they are now used for other feed types 2020-08-11 17:04:11 -05:00
Maurice Parker 9f9b12b6b3 Add Twitter Feed functionality 2020-08-11 16:46:26 -05:00
Maurice Parker e7f42905dc Add Reddit Feed adding functionality 2020-08-11 16:27:42 -05:00
Maurice Parker 0ec250ec24 Rewrite Add Feed and Add Folder to be separate dialogs 2020-08-11 15:00:31 -05:00
Maurice Parker 84389e2cf4 Move from using views for the queue to using an array and remove unneeded flush of queue 2020-07-16 13:56:07 -05:00
Maurice Parker 95a8f6d72d Merge branch 'swiftui' 2020-07-10 15:28:14 -05:00
Nate Weaver 82f7f99827 iOS: Make shift-space scroll up even when the detail view doesn't have focus 2020-07-10 13:57:35 -05:00
Stuart Breckenridge f92b219cdc NetNewsWire-iOS AppDefaults is now a singleton 2020-07-02 10:47:45 +08:00
Maurice Parker 21e79250db Merge branch 'ios-release' 2020-06-18 17:45:12 -05:00
Maurice Parker b3c0fac5d3 Save the previous feed instead of relying on the currentFeedIndexPath which may have been reset. Issue #2139 2020-06-18 16:16:30 -05:00
Maurice Parker 5356189654 Optimize unread count look up 2020-06-16 08:32:01 -05:00
Maurice Parker d69b313525 Optimize unread count lookup 2020-06-16 08:27:59 -05:00
Maurice Parker 50508446bb Use immutable object for diffable datasource on Feeds. Issues #1901, #2031, #2124 2020-06-15 18:03:20 -05:00
Maurice Parker 95f6f80583 Merge branch 'ios-release' 2020-06-15 17:40:06 -05:00