Commit Graph

471 Commits

Author SHA1 Message Date
Maurice Parker 6695fcfca7 Refactor sidebar styling to remove duplicate code 2020-07-06 01:32:43 -05:00
Maurice Parker 1389008b31 Add Article toolbar 2020-07-05 18:53:18 -05:00
Maurice Parker eb8f6e0c03 Refactor the Timeline toolbar to be a modifier like Sidebar's is 2020-07-05 14:52:04 -05:00
Maurice Parker 8b81548457 Rename SidebarToolbar to SidebarToolbarModifer 2020-07-05 14:45:19 -05:00
Maurice Parker 208271d6b4
Merge pull request #2210 from philviso/swiftui-progressview
Implement iOS progress view
2020-07-04 10:23:20 -05:00
Phil Viso 9131056f2b Added refreshProgressState to SceneModel. Removed RefreshProgressModel from environment 2020-07-04 10:20:50 -05:00
Stuart Breckenridge 3bf30fb6e2 Add Feed Fix
Fixes #2209
2020-07-04 23:08:12 +08:00
Alex Faber 7fc7bedf9e NEW: Add Folder functionality in SwiftUI 2020-07-04 16:19:03 +02:00
Phil Viso 9b43994701 Merge branch 'swiftui' of https://github.com/brentsimmons/NetNewsWire into swiftui-progressview
# Conflicts:
#	Multiplatform/Shared/Sidebar/SidebarToolbar.swift
2020-07-04 09:15:08 -05:00
Phil Viso 2ed0d66e42 Implement iOS progress view #2162 2020-07-04 09:09:49 -05:00
Maurice Parker f16fd36e70
Merge pull request #2206 from stuartbreckenridge/swiftui
Add Web Feed macOS Layout
2020-07-04 09:05:49 -05:00
Maurice Parker 4bd6b3ac96 Refactor SettingsModel into its own swift file 2020-07-04 09:03:35 -05:00
Stuart Breckenridge 294591d154 Fixes compile crash with sidebar toolbar 2020-07-04 22:01:01 +08:00
Stuart Breckenridge 01a84a2a40 Sidebar toolbar no longer an overlay
Also moved view model to separate file and removed the view prefix.
2020-07-04 21:34:15 +08:00
Rizwan Mohamed Ibrahim dde9035592
Add feeds settings for import and export subscriptions 2020-07-04 13:39:08 +05:30
Maurice Parker ba0093e07c Implement timeline toolbar using toolbar modifier 2020-07-03 22:14:36 -05:00
Maurice Parker 4486d2bd09 Add TimeilneToolbar. Issue #2195 2020-07-03 21:55:27 -05:00
Maurice Parker b28fc913af Renamed because we just call out view models Models 2020-07-03 20:23:41 -05:00
Maurice Parker 883590b50f
Merge pull request #2198 from stuartbreckenridge/swiftui
Fixes #2196
2020-07-03 20:12:29 -05:00
Stuart Breckenridge e99ff1346b Work on #2196
Fixes #2196

All logic has moved to `AddWebFeedViewModel`.
2020-07-04 09:07:55 +08:00
Maurice Parker a4537ec0d4 Merge branch 'swiftui' of https://github.com/Ranchero-Software/NetNewsWire into swiftui 2020-07-03 11:46:32 -05:00
Stuart Breckenridge 75166b404e Merge branch 'pr/7' into swiftui
# Conflicts:
#	Multiplatform/Shared/Sidebar/SidebarToolbar.swift
2020-07-03 23:47:21 +08:00
Maurice Parker 52a868ae7d Refactored PreferredColorSchemeModifier out into its own swift file 2020-07-03 10:45:12 -05:00
Stuart Breckenridge d8914510f7 AddWebFeed
Fixes #2184

Adding Web Feeds is working for macOS and iOS. There are some alignment is.
2020-07-03 23:43:20 +08:00
Stuart Breckenridge 6b6ff7ce1c Work in progress for #2184 2020-07-03 20:31:48 +08:00
Rizwan Mohamed Ibrahim 7cc71eac95
Merge branch 'swiftui' into swiftui-color-palette
* swiftui:
  Register AppDefaults.  Issue #2190
  Removed obsolete AppDefaults values
  Revert to using List for timeline and use infinite scrolling technique to speed up timeline loads
  Add action sheet for adding feed resources
  Stub out Article code
  Delete dead code
  Fix bad merge where we were missing a file reference

# Conflicts:
#	NetNewsWire.xcodeproj/project.pbxproj
2020-07-03 13:45:03 +05:30
Maurice Parker 494bd85a37 Stub out Article code 2020-07-02 15:30:50 -05:00
Maurice Parker 9efda0d59b Fix bad merge where we were missing a file reference 2020-07-02 11:45:53 -05:00
Rizwan Mohamed Ibrahim 959eef6a1a
Add color palette implementation for Appearance settings 2020-07-02 21:10:24 +05:30
Maurice Parker cec866cf27
Merge branch 'swiftui' into swiftui 2020-07-02 04:53:43 -05:00
Stuart Breckenridge c2149579c9 Converts AppDefaults to singleton 2020-07-02 09:58:25 +08:00
Maurice Parker bacffbadbe Add icon image to Timeline 2020-07-01 17:21:58 -05:00
Maurice Parker 4c148e6eba Rename FeedImageLoader 2020-07-01 16:37:20 -05:00
Maurice Parker 781f24454e Add read/starred indicator to timeline 2020-07-01 16:33:07 -05:00
Maurice Parker c1eb9ab927 Add sidebar navigation 2020-07-01 11:13:11 -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 53a26f89fe Implement scene specific storage for Sidebar expanded state 2020-06-30 20:23:22 -05:00
Maurice Parker e593f67429 Stub out Timeline code 2020-06-30 11:03:33 -05:00
Stuart Breckenridge 2342ef2b76 Adds Toolbar for Sidebar & SettingsViews for iOS 2020-06-30 21:22:23 +08:00
Maurice Parker 835b04c53d Add feed icons 2020-06-29 20:09:11 -05: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
Stuart Breckenridge 8b7940492a Mac Toolbar
Placement of buttons is not quite right, but the search bar is in the right place!
2020-06-29 21:19:51 +08:00
Stuart Breckenridge 1f6f5fa054 Adds Mac Preferences
This makes use of `@AppStorage` for preferences. Severeral more need to migrated from AppDefaults etc.
2020-06-29 21:04:50 +08:00
Maurice Parker 86b929743b Add SmartFeeds to outline 2020-06-29 06:16:48 -05:00
Maurice Parker c40b7d8c05 Tweak the project settings to get previews working 2020-06-28 21:05:49 -05:00
Maurice Parker 441bc072f3 Create rough app outline 2020-06-28 14:21:43 -05:00
Maurice Parker 67c0e00957 Make multiplatform compile shared app resources 2020-06-28 03:05:01 -05:00
Maurice Parker 7ceaa305e7 Initial multiplatform build 2020-06-27 11:22:01 -05:00