Commit Graph

245 Commits

Author SHA1 Message Date
Maurice Parker 3a9e3c8050 Restrict the delete function if not the first responder. Fixes #3642 2022-08-02 18:10:09 -05:00
Maurice Parker 2ff8fee308 Reload any Container rows that have change disclosure state since the last rebuild of the Shadow Table. Fixes #3484 2022-03-01 11:14:41 -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
Maurice Parker 877391ec6b Fix flickering that happens when unread counts come in to fast 2021-10-24 12:45:45 -05:00
Maurice Parker 19eca0e3fc Restore the selection state after reloading cells 2021-10-21 09:47:34 -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 09647be51b Merge branch 'ios-release' 2021-09-06 20:31:24 -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 86ca397221 Ignore key commands when the web view has focus. Fixes #3179 2021-06-23 02:44:34 -05:00
Maurice Parker f1dbc2de71 Merge branch 'ios-release' 2021-06-22 19:14:50 -05:00
Maurice Parker cc176134ea Put in a slight delay to prevent the screen from flashing. Fixes #3038 2021-06-17 19:23:41 -05:00
Maurice Parker 29458fb03b Change to use destructive style on delete button. Fixes #3159 2021-06-15 21:33:23 -05:00
Brent Simmons 5490e3ab49 Merge branch 'ios-candidate' of https://github.com/Ranchero-Software/NetNewsWire into ios-candidate 2021-05-08 12:42:52 -07: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
Maurice Parker 9b53fcbe37 Fix regression that prevented the timeline and article from being cleared when the current feed is deleted. Fixes #3054 2021-05-06 20:07:49 -05:00
Brent Simmons 28b00260e0 Cache IconImage for feeds on the Feeds screen.
Empty the cache, and reload visible cells, when the trait collection changes, so that we get the proper icons for light/dark mode. This caching provides a small-but-worthwhile performance increase for the Feeds screen.
2021-05-01 12:29:18 -07:00
Stuart Breckenridge 15fb5637ff
Fixes #3035
MarkAllAsReadAction will check for and handle SmartFeeds.
2021-04-24 15:05:11 +08:00
Maurice Parker 0ac3ba0bbb Change force unwraps so that we just fail on the move instead of crashing 2021-04-13 07:38:41 -05:00
Stuart Breckenridge 7f702abc8a
fixes build error 2021-03-24 20:06:48 +08:00
Stuart Breckenridge f00241e73e
revised context menu code 2021-02-24 07:47:52 +08:00
Stuart Breckenridge ab80d190d4
Notifications
MasterFeedViewController now observes changes in active extension points so the context menu can be rebuilt.
2021-02-01 08:33:37 +08:00
Stuart Breckenridge 19ab74527b
AppAssets 2021-02-01 08:25:34 +08:00
Stuart Breckenridge e2c63174a5
removes test logic 2021-02-01 08:14:02 +08:00
Stuart Breckenridge 7c4e93e1c4
adds add item context menu for iOS 14 2021-01-31 22:37:47 +08:00
Maurice Parker bf6e4b5bf3 Add preferred action to all alert dialogs. 2021-01-11 19:57:14 -06:00
Maurice Parker a80fc871c4 Add separators to iOS context menus 2020-11-13 05:23:04 -06:00
Maurice Parker f391eb1669 Allow users to drop onto expanded folders. Fixes #2022 2020-11-02 14:53:00 -06:00
Maurice Parker 7030de089e Speed up context menus by checking unread count instead of fetching articles everytime. 2020-10-20 17:59:54 -05:00
Maurice Parker ee7e32959f Add confirmation dialog for Feed/Folder deletes. Issue #1789 2020-09-28 20:21:07 -05:00
Maurice Parker a500166af0 Merge branch 'ios-release' into main 2020-08-15 11:03:29 -05:00
Maurice Parker d6ed015514 Don't allow users to add Reddit or Twitter feeds if they don't have an extension configured. 2020-08-12 10:27:58 -05:00
Maurice Parker c4ad7c71fd Don't allow Twitter or Reddit feeds to be added to accounts that can't handle them 2020-08-11 17:33:48 -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
Rizwan Mohamed Ibrahim 687b454cd7
fix mark all as read context menu on Accounts 2020-07-01 12:30:39 +05:30
Maurice Parker 50508446bb Use immutable object for diffable datasource on Feeds. Issues #1901, #2031, #2124 2020-06-15 18:03:20 -05:00