Commit Graph

1825 Commits

Author SHA1 Message Date
Maurice Parker 7608bf2ae6 Disable the Mark as Read on Scroll preferences temporarily 2021-11-18 19:01:48 -06:00
Maurice Parker 079e764f13 Enable prefetching on iOS 15 to improve Timeline scrolling speed 2021-11-18 17:09:42 -06:00
Maurice Parker 0d4f4054ce Disable prefetching on the tableview because we sometimes change the icon after the item is prefetched, but before it is visible. Fixes #3352 2021-11-18 15:39:05 -06:00
Maurice Parker 1bc46f1251 Fix initial sidebar load - selected item wasn't getting reloaded correctly 2021-11-18 12:25:43 -06:00
Maurice Parker 89e899c5d7 Directly set the unread count on the cell instead of doing a full reload to get rid of unread count flickering 2021-11-13 11:06:17 -06:00
Maurice Parker 0da3bca41e Restrict smart feeds from swipe commands 2021-11-13 10:56:30 -06:00
Maurice Parker b6eb648f95 Fix code style 2021-11-13 10:44:11 -06:00
Maurice Parker d09cdb9663 Remove animate block since it wasn't helping any 2021-11-13 10:43:09 -06:00
Maurice Parker f4961bdc42 Increase the animation duration to reduce unread count flickering 2021-11-13 10:35:20 -06:00
Maurice Parker e2f3d1867d Revert to reloading individual rows with a short animation to remove the flicker caused by unread counts changing too fast 2021-11-13 10:33:07 -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
Stuart Breckenridge 0469d81c62 consistent naming 2021-11-06 22:46:26 +08:00
Stuart Breckenridge 0db88c5f92 Fixes #3335
When the app is brought to the foreground from an external action (e.g., tapping on the widget, opening from a notification), a notification is posted (with a slight delay).

`MasterFeedViewController` and `SettingsViewController` are observers. `MasterFeedViewController` will dismiss any `SFSafariViewController`s that are presented, while `SettingsViewController` will dismiss itself.
2021-11-06 22:43:50 +08:00
everhardt bf749682c4 Merge branch 'main' into feat-1844-scroll-mark-as-read 2021-11-05 22:03:18 +01:00
everhardt e7830d8e3f Fixed crash on iOS scroll with empty article list 2021-11-05 21:20:15 +01:00
Maurice Parker 06eae25797
Merge pull request #3329 from everhardt/feat-1844-scroll-mark-as-read
Add mark as read on scroll
2021-11-04 12:04:53 -05:00
Maurice Parker 12324bf498 Remove font debugging code 2021-11-02 05:44:21 -05:00
Maurice Parker c16a231530 Added the Hyperlegible theme 2021-11-01 21:22:22 -05:00
everhardt 96ffa3aa22 Do not mark as read without user interaction 2021-10-30 18:57:04 +02: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
everhardt b8cae328f5 Add iOS setting for mark as read on scroll 2021-10-27 21:17:04 +02:00
everhardt 7b8bed9ac2 Add mark as read on scroll functionality
Does not yet include a setting
2021-10-27 20:52:26 +02:00
Maurice Parker 877391ec6b Fix flickering that happens when unread counts come in to fast 2021-10-24 12:45:45 -05: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 19eca0e3fc Restore the selection state after reloading cells 2021-10-21 09:47:34 -05:00
Maurice Parker 245a648293 Remove code to auto expand reactivated accounts 2021-10-21 09:44:07 -05:00
Maurice Parker 99d24e1623 Change to always call super 2021-10-21 09:34:33 -05:00
Maurice Parker a990888be7 Fix crash caused by reloading visible cells when they didn't need to be 2021-10-21 09:33:29 -05:00
Maurice Parker 278e845f76 Reenable the trait collection reload now that things are working better 2021-10-20 20:50:55 -05:00
Maurice Parker 9069ac975a Stop animating the reloading of cells 2021-10-20 20:45:20 -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
Maurice Parker 5716bc3d19 Fix compiler warnings 2021-09-30 09:35:44 -05:00
Maurice Parker ced4ff239a Fix compile errors by updating to latest API for Article 2021-09-30 09:28:09 -05:00
Maurice Parker 0f7659f466
Merge pull request #3307 from babbage/bugfix/3103-copy-repaired-URLs
Use repaired URLs for link, externalLink and imageLink where needed. Fixes #3103
2021-09-30 09:23:56 -05:00
Duncan Babbage f6552e110d Replace raw with repaired links. Fixes #3103 2021-09-30 16:52:00 +13:00
Duncan Babbage cc855f3832 link and URL vars for Article. Storage as rawLink
link and externalLink fall back to providing the raw stored value if URLs cannot be created even with repair.
2021-09-30 16:51:59 +13:00
Paul Godavari 7696ca8c2b Fix a typo in a variable name 2021-09-29 14:16:08 -05:00
Stuart Breckenridge 25f9896832 Localized strings for errors 2021-09-24 09:28:32 +08:00
Stuart Breckenridge bd6095517b is missing instead of not found 2021-09-23 20:19:41 +08:00
Stuart Breckenridge 88674d2fc4 Consistent theme error messages on iOS 2021-09-23 20:16:09 +08:00
Stuart Breckenridge 82a62712ce
Better error messages for decoding issues 2021-09-21 10:43:12 +08: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
Stuart Breckenridge a1b01384d3 refactors downloader code for macOS & iOS
More consistent code across platforms.
2021-09-20 19:34:25 +08:00
Stuart Breckenridge eb8f27b457 Removes files if unzip is not successful 2021-09-20 09:48:31 +08:00
Stuart Breckenridge afd952fbc2 refactors iOS theme downloads 2021-09-20 09:36:09 +08:00
Stuart Breckenridge 105a78bc0f Merge remote-tracking branch 'origin/main' into nnwtheme-downloader 2021-09-20 06:24:32 +08:00