Commit Graph

257 Commits

Author SHA1 Message Date
Brent Simmons 1c6df38bcc Rename WebFeedIconDownloader to FeedIconDownloader. 2024-11-01 21:46:26 -07:00
Brent Simmons 050c47c41d Rename Feed protocol to SidebarItem. Rename FeedIdentifier to SidebarItemIdentifier. Rename WebFeed to Feed. 2024-11-01 21:34:08 -07:00
Brent Simmons e3b0dd0134 Remove Reddit and Twitter deprecation alert code. 2023-12-19 21:41:08 -08:00
Brent Simmons 424b9a02c4 Remove Reddit references that can be removed. 2023-06-29 12:43:14 -07:00
Brent Simmons 3dd7743e99 Show Twitter alert if needed. If not, show Reddit alert if needed. 2023-06-14 13:09:19 -07:00
Brent Simmons e2aa15f08a Create and use anyLocalOriCloudAccountHasAtLeastOneTwitterFeed in AccountManager, so both iOS and Mac apps can use it. Also: simplify the Date comparison in presentTwitterDeprecationAlertIfRequired by using Dates instead of TimeInterval. 2023-02-05 18:07:30 -08:00
Stuart Breckenridge d5c039b80f
Add account type check for Twitter deprecation 2023-02-05 21:29:19 +08:00
Stuart Breckenridge b2a2c5f5b9
Changes strings to NSLocalizedStrings 2023-02-05 09:45:34 +08:00
Stuart Breckenridge 757c680f4b
Adjusted expiry date 2023-02-05 09:04:23 +08:00
Stuart Breckenridge ee00339b4c
Removes print statement 2023-02-05 08:55:23 +08:00
Stuart Breckenridge b35c4df28d
Shows Twitter Deprecation Alert on iOS 2023-02-05 08:46:16 +08:00
Maurice Parker 36822a77d0 Remove Twitter integration. Fixes #3842 2023-02-03 19:11:33 -08:00
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