Commit Graph

140 Commits

Author SHA1 Message Date
Maurice Parker 23fe288fe9 Remove Multiplatform targets 2021-10-15 17:23:40 -05:00
Stuart Breckenridge 1e578828e9
: class chnaged to : AnyObject for protocols 2021-02-06 07:06:45 +08:00
Maurice Parker 77743f734d Fix undo manager compile error 2020-11-04 17:13:58 -06:00
Stuart Breckenridge 06826a23bb
Partially fixes #566
• Adds a preference to show alerts to confirm deletion of feeds (default is true) and this is configurable in Settings / Preferences

• Supports single (iOS/macOS) and multiple selection (macOS) for deletion

• Until folders are selectable (future beta, hopefully), selecting them for deletion is disabled.
2020-08-15 09:37:18 +08:00
Maurice Parker 9218b4d95c
Merge pull request #2330 from stuartbreckenridge/ios-multiplat-updates
Multiplatform updates
2020-08-14 15:59:42 -05:00
Maurice Parker 24f1371a9a Fix can't delete without selecting in sidebar but for Multiplatform 2020-08-14 15:36:19 -05:00
Stuart Breckenridge 0a51508abf
Reduces reliance on presentationMode to dismiss
Bindings are passed instead and this fixes issues with Add Web (etc) only appearing once.
2020-08-14 00:04:39 +08:00
Stuart Breckenridge 3ae4a85969
Removes @ViewBuilder from `var body` 2020-08-12 21:04:56 +08:00
Maurice Parker ff829c0e59 Stop skipping the Today feed when finding next unread and looping around 2020-07-27 21:21:11 -05:00
Maurice Parker ecefe59a5e Skip the current folder for next unread 2020-07-27 21:01:32 -05:00
Rizwan Mohamed Ibrahim 2528d1e9d7
Add Twitter and Reddit button actions 2020-07-27 13:43:07 +05:30
Rizwan Mohamed Ibrahim 2987c9742e
Remove action sheet var on sidebar toolbar model 2020-07-27 13:41:23 +05:30
Rizwan Mohamed Ibrahim 177c18d4ea
Adds Menu for "Add" tool bar button 2020-07-27 13:39:39 +05:30
Maurice Parker 4c1061cfba Fix bug that caused currently selected item to not be found on next unread 2020-07-26 16:00:00 -05:00
Maurice Parker 2efc0a17a9 Make Sidebar expansion state available to SidebarModel 2020-07-26 15:31:32 -05:00
Maurice Parker 71acfb524d Move onReceive to container view for timeline 2020-07-26 07:18:05 -05:00
Maurice Parker a3459bc57a Move onReceive to container where it belongs 2020-07-26 07:06:00 -05:00
Maurice Parker a1cbca8a0b Remove replays that were making things strange on macOS 2020-07-25 17:31:34 -05:00
Maurice Parker 882ebbea3e Update iOS with latest TimelineModel refactoring 2020-07-25 06:20:21 -05:00
Maurice Parker 7d7a018fe1 Merge branch 'main' of https://github.com/Ranchero-Software/NetNewsWire into main 2020-07-25 05:01:23 -05:00
Maurice Parker 25bce5e258
Merge pull request #2297 from stuartbreckenridge/feature/sync-errors
Handles single and multiple sync failures
2020-07-25 05:00:48 -05:00
Stuart Breckenridge 673f0ce718
Handles single and multiple sync failures
If a single sync failure is encountered a sheet is presented which allows the user to update their credentials.

If multiple sync failures are encountered an alert is shown listing the accounts which encountered errors. On iOS, this alert can take the user into Settings, but there is no obvious way to programatically pesent macOS preferences.
2020-07-25 16:40:04 +08:00
Maurice Parker 953c22f605 Begin refactor of Timeline to use Combine fully 2020-07-24 21:05:30 -05:00
Maurice Parker c5d040fa97 Change select next unread subject to be void instead of Bool 2020-07-24 18:30:54 -05:00
Maurice Parker bffcfdd67d Add share operator to sidebarItemsPublisher so that we don't duplicate rebuilds 2020-07-24 14:05:26 -05:00
Maurice Parker 3b648ac548 Remove removeDuplicates operator as it wasn't needed 2020-07-24 13:57:08 -05:00
Maurice Parker a25ed4da4a Changed delete context menu item to use combine code 2020-07-24 12:57:47 -05:00
Maurice Parker d70721491d Change mark all as read in account to use combine code 2020-07-24 11:52:46 -05:00
Maurice Parker b2c70e847c Change from using @Published as a PassthroughSubject to using real ones to avoid @Published quirks 2020-07-24 11:40:17 -05:00
Maurice Parker 75b9264d44 Rewrite Sidebar select next unread in Combine 2020-07-23 16:27:54 -05:00
Maurice Parker 36aba33c3d Animate sidebar item changes 2020-07-23 11:53:59 -05:00
Maurice Parker b3ca806d0b Stop disabling tab support on Multiplatform macOS. Issue #179 2020-07-23 11:29:48 -05:00
Maurice Parker 6ebd5ad5ed Make toolbar placement more explicit to fix problems that appeared in Xcode 12 Beta 3 2020-07-22 21:01:02 -05:00
Maurice Parker f9cd15970f Update for changes in Beta 3 of Xcode 12 2020-07-22 17:55:15 -05:00
Maurice Parker 48c721a468
Merge pull request #2293 from stuartbreckenridge/feature/sidebar-context-menus
Feature/sidebar context menus
2020-07-22 16:50:53 -05:00
Stuart Breckenridge 1bd0bfce37
Minor changes for #2287 2020-07-22 21:47:40 +08:00
Maurice Parker cf8c6f5e8e Layout sidebar items differently on macOS and iOS due to rendering differences in the platforms 2020-07-21 17:40:51 -05:00
Maurice Parker 8d6d7b94cc Fix sidebar item alignment 2020-07-21 15:43:21 -05:00
Maurice Parker b4aef7c414 Make sidebar handle selection state when read filter is on 2020-07-21 14:16:46 -05:00
Maurice Parker a990e07351 Change to not debounce the filter button 2020-07-21 10:53:31 -05:00
Maurice Parker e8742306ad Replace coalescing queue and other items with Combine 2020-07-21 09:27:38 -05:00
Stuart Breckenridge 7639ea2780
Initial work on #2287 2020-07-21 16:05:31 +08:00
Maurice Parker 6853535b96 Remove macOS navigate code that was messing up performance 2020-07-19 20:34:20 -05:00
Maurice Parker 797b8cd428 Delete dead code 2020-07-19 20:26:54 -05:00
Maurice Parker 68a569ec0b Implement go to next unread 2020-07-19 15:24:59 -05:00
Maurice Parker 3cbb4da788 Add Sidebar go to next functionality 2020-07-19 13:23:08 -05:00
Maurice Parker 8291230561 Fix the iPad which seems to like to set the selected value to nil after setting it to the correct selection 2020-07-18 21:02:38 -05:00
Maurice Parker 9732ca10f3 Made Sidebar Combine correct 2020-07-18 17:10:45 -05:00
Maurice Parker d36870028a Refactor Combine code to make it more readable 2020-07-18 16:53:30 -05:00
Maurice Parker 6a33060473 Fix sidebar rename bug 2020-07-18 15:24:48 -05:00