Commit Graph

38 Commits

Author SHA1 Message Date
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
cacc96fa5e
Code alignment. 2020-08-12 21:44:46 +08:00
Stuart Breckenridge
36acd84c14
Removes #warning
(Also .preferredColorScheme(AppDefaults.userInterfaceColorScheme) is still needed on macOS Settings)
2020-08-10 08:50:46 +08:00
Stuart Breckenridge
cd20632b5d
Adds sidebar toggle image to app assets 2020-08-10 08:36:31 +08:00
Stuart Breckenridge
dadff04da5
Removes padding. 2020-08-10 08:31:10 +08:00
Stuart Breckenridge
88ee63ba68
Adds #warning message for AppKit usage. 2020-08-10 08:28:17 +08:00
Stuart Breckenridge
94a9557ba6
Adds sidebar toggling from toolbar. 2020-08-10 08:01:16 +08:00
Maurice Parker
028eccfaf9 Delete old and dead error handling code 2020-07-25 19:47:15 -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
4446fa0ca9 Change mark all as read image to be a PNG, since SwiftUI on AppKit sucks at handling vector resources 2020-07-19 17:44:41 -05:00
Maurice Parker
de10e81e31 Stub out goToNextUnread for SceneModel 2020-07-19 13:28:22 -05:00
Maurice Parker
e391b29353 Implement the Mark All as Read button 2020-07-18 04:58:46 -05:00
Maurice Parker
40e0a1b676 Launch with correct views instead of using placeholder text views 2020-07-18 04:35:44 -05:00
Maurice Parker
644e9da1c0 Implement open in browser timeline context menu item. 2020-07-17 20:08:49 -05:00
Maurice Parker
78fdf0a0d0 Enable open in browser toolbar button. 2020-07-17 17:08:08 -05:00
Maurice Parker
69fa598d99 Enable refresh button on macOS 2020-07-15 20:09:11 -05:00
Maurice Parker
e34dbd48ee Move error handling to SceneNavigationView 2020-07-15 20:06:29 -05:00
Maurice Parker
31068f90a0 Implement macOS share button 2020-07-14 17:10:53 -05:00
Maurice Parker
da08219ca3 Add more button state and standardize button syntax 2020-07-13 17:24:40 -05:00
Maurice Parker
7643ddc173 Remove specific button state enums as they were overkill 2020-07-13 16:26:53 -05:00
Maurice Parker
7998b5450b Enabled toolbar buttons for read and star 2020-07-11 19:52:28 -05:00
Maurice Parker
184ef57576 Implement Timeline multiselect 2020-07-11 18:22:47 -05:00
Maurice Parker
20d989f1b8
Revert "Widget Work in Progress" 2020-07-11 09:48:34 -05:00
Maurice Parker
3eda1de825
Merge pull request #2249 from stuartbreckenridge/feature/widget
Widget Work in Progress
2020-07-11 09:36:50 -05:00
Stuart Breckenridge
c3d4834879
Moves to monitoring changes in scene phase 2020-07-11 21:02:46 +08:00
Maurice Parker
2d57945e98 Implement Read and Star button functionality 2020-07-09 18:44:51 -05:00
Maurice Parker
3e61c7044b Stub out mark as read and star functionality 2020-07-09 16:34:47 -05:00
Alex Faber
5b50e8cdd2 OPT: Cleanup Add Folder view on Mac, change SceneNavigationView to support multiple sheet types. 2020-07-09 21:09:50 +02:00
Maurice Parker
79691a1988 Add reader view icon to macOS toolbar 2020-07-08 17:34:35 -05:00
Maurice Parker
8064e65e68 Move Mac toolbar to SceneNavigationView so that it operates properly. Issue #2217 2020-07-07 16:05:26 -05:00
Maurice Parker
6695fcfca7 Refactor sidebar styling to remove duplicate code 2020-07-06 01:32:43 -05:00
Stuart Breckenridge
0e0f46fa49 Refactors AppDefaults to AppSettings
This commit makes some assumptions:

- `AppSettings` is an `ObservableObject` that uses `@AppStorage` where possible, which sets default values.
- Each change to an property triggers an `objectWillChange.send()` call.
- `IconSize` is not used. Instead, it defaults to 40.0 with minimums and maximums of 20.0 and 60.0, controlled via Timeline settings.
2020-07-01 21:06:40 +08:00
Maurice Parker
61ad0fbfa4 Add unread counts to Sidebar 2020-06-29 16:58:10 -05:00
Maurice Parker
0886cffcff Refactor the SidebarView list into its own View so to reduce code duplication 2020-06-29 13:14:03 -05:00
Stuart Breckenridge
0907164627 Adapts to compact size classes 2020-06-29 22:06:00 +08:00
Maurice Parker
0bd4301df2 Add environment object to previews so that they work. 2020-06-28 21:17:00 -05:00
Maurice Parker
f669411b55 Update project settings so that we can compile under xcode previews 2020-06-28 17:43:20 -05:00
Maurice Parker
441bc072f3 Create rough app outline 2020-06-28 14:21:43 -05:00