Commit Graph

138 Commits

Author SHA1 Message Date
Stuart Breckenridge
5a7c3111ce
Removes rename 2020-07-18 21:24:06 +08:00
Maurice Parker
69c92e795b
Merge pull request #2276 from stuartbreckenridge/feature/feed-inspector
Inspector Views
2020-07-18 05:00:15 -05:00
Maurice Parker
40e0a1b676 Launch with correct views instead of using placeholder text views 2020-07-18 04:35:44 -05:00
Stuart Breckenridge
8f8afb5dbb
Inspector View
Inspector Views for macOS and iOS
2020-07-18 17:34:04 +08:00
Maurice Parker
11bd3dce22 Change sidebar context menu to use trailing closure syntax 2020-07-17 18:05:26 -05:00
Maurice Parker
37a84395fe Add in missing file 2020-07-17 17:34:11 -05:00
Maurice Parker
048da0bf79 Separate the sidebar context menu into a standalone different file 2020-07-17 17:27:08 -05:00
Stuart Breckenridge
b739f6dd61
Improves behaviour of dark/light changes on iOS 2020-07-17 22:18:10 +08:00
Maurice Parker
46762bf297 Implement refresh progress bar for macOS 2020-07-15 21:24:22 -05:00
Maurice Parker
e34dbd48ee Move error handling to SceneNavigationView 2020-07-15 20:06:29 -05:00
Maurice Parker
30d1f77405 Implement pull to refresh on iOS 2020-07-15 16:52:57 -05:00
Maurice Parker
2b84469fb4 Refactored refresh progress so that it doesn't crash on the mac anymore 2020-07-15 15:32:04 -05:00
Maurice Parker
f32b0bfdc3 Change to use a view instead of a function for the navigation wrapper 2020-07-15 15:25:41 -05:00
Maurice Parker
367bd90ec9 Fix refresh progress compile error 2020-07-15 13:43:24 -05:00
Maurice Parker
c8077ad214 Separated refresh progress model from SceneModel again 2020-07-15 12:56:19 -05:00
Maurice Parker
da08219ca3 Add more button state and standardize button syntax 2020-07-13 17:24:40 -05:00
Maurice Parker
ffa579446e Only add section header padding for macOS 2020-07-13 12:00:59 -05:00
Maurice Parker
b79a1aef0c Put in the padding that Apple left off of the section headers 2020-07-13 11:58:44 -05:00
Maurice Parker
543048b981 Add context menu divider to match existing macOS design 2020-07-13 11:43:27 -05:00
Maurice Parker
3a67f2cd8e Change navigation title for macOS so that it shows the Feed 2020-07-12 17:45:38 -05:00
Maurice Parker
2ebec7801c Fix read filter accessibility labels (help) 2020-07-12 15:03:43 -05:00
Maurice Parker
6c236fc0e3 Implement Timeline read filter 2020-07-12 14:43:52 -05:00
Maurice Parker
22e2c0b0e6 Add sidebar read filter 2020-07-12 10:52:42 -05:00
Maurice Parker
9f4a037c8f Rebuild sidebar items when the unread count changes 2020-07-12 09:54:39 -05:00
Maurice Parker
6891f76241 Fix smart feed feed lookup 2020-07-11 19:56:42 -05:00
Maurice Parker
184ef57576 Implement Timeline multiselect 2020-07-11 18:22:47 -05:00
Maurice Parker
360f7a07bf Implement Sidebar multiselect for macOS 2020-07-11 12:47:13 -05:00
Stuart Breckenridge
4c11667ff7
Moves selection to SidebarModel 2020-07-09 07:15:47 +08:00
Stuart Breckenridge
91bc4a0c30
fixes iOS build 2020-07-08 22:04:26 +08:00
Stuart Breckenridge
ab0fbc99c3
Merge branch 'multi-select' into swiftui 2020-07-08 21:41:59 +08:00
Stuart Breckenridge
18f7d82f7a
white space removal 2020-07-08 21:40:09 +08:00
Stuart Breckenridge
af4849642c
Adds multi-select to macOS sidebar
This hacks around property observers to get to a model that almost works.
2020-07-08 21:39:39 +08:00
Maurice Parker
900766d780 Remove icons from macOS context menus since they aren't supported 2020-07-07 17:02:17 -05:00
Stuart Breckenridge
d8df24e997 removes reference to old appSettings var 2020-07-06 20:18:50 +08:00
Stuart Breckenridge
10924caf7f Fixes #2171
Slider is now used in lieu of a stepper. To do that, `timelineIconDimensions` had to be changed from an `Int` to a `Double`.
2020-07-06 17:54:11 +08:00
Maurice Parker
6695fcfca7 Refactor sidebar styling to remove duplicate code 2020-07-06 01:32:43 -05:00
Maurice Parker
6c5655191e Implement hack to hide disclosure chevrons 2020-07-05 19:21:23 -05:00
Maurice Parker
9126ec424d Align unread counts on iOS 2020-07-05 19:09:23 -05:00
Maurice Parker
5b0c397739 Add filter buttons to navigation bar 2020-07-05 15:11:45 -05:00
Maurice Parker
8b81548457 Rename SidebarToolbar to SidebarToolbarModifer 2020-07-05 14:45:19 -05:00
Maurice Parker
49c86bd578 Add Get Info to Sidebar context menu 2020-07-04 14:13:12 -05:00
Maurice Parker
3f7401994d Made Sidebar context menu code simpler 2020-07-04 12:16:21 -05:00
Maurice Parker
5d43635780 Move directly referenced images to AppAssets 2020-07-04 11:57:51 -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
Phil Viso
299f3d421e Fixed refresh progress label truncating 2020-07-04 09:34:56 -05:00
Maurice Parker
5da851f937 Rebuild the sidebar when things are added or changed 2020-07-04 09:33:27 -05:00
Maurice Parker
e062ccc67e Restore object did change event 2020-07-04 09:21:53 -05:00
Phil Viso
16e7b23425 Fixed merge conflict 2020-07-04 09:20:51 -05:00
Maurice Parker
d07f42dc88
Merge pull request #2207 from alexcfaber/feature/add-folder
NEW: Add Folder functionality in SwiftUI
2020-07-04 09:19:59 -05:00
Alex Faber
7fc7bedf9e NEW: Add Folder functionality in SwiftUI 2020-07-04 16:19:03 +02:00
Maurice Parker
9fa003d545 Default Smart Feeds and Accounts to being expanded in Sidebar 2020-07-04 09:18:56 -05: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
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
Maurice Parker
6b45a72707 Change unread indicator font and weight to match existing iOS parameters 2020-07-03 20:03:36 -05:00
Maurice Parker
4393e54a5c Fix unread indicator color 2020-07-03 19:41:38 -05:00
Maurice Parker
dd9dca57de Update design to more closely match the existing iOS design and Big Sur look and feel 2020-07-03 19:19:40 -05:00
Stuart Breckenridge
74438de343 Renames viewmodel 2020-07-04 00:10:47 +08:00
Stuart Breckenridge
8840bf535f Merges fixes from colorPalette work 2020-07-04 00:06:43 +08:00
Stuart Breckenridge
75166b404e Merge branch 'pr/7' into swiftui
# Conflicts:
#	Multiplatform/Shared/Sidebar/SidebarToolbar.swift
2020-07-03 23:47:21 +08: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
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
Rizwan Mohamed Ibrahim
fc548ac913
Try conditional modifier for preferredColorScheme 2020-07-03 12:35:12 +05:30
Maurice Parker
c6bd4cd6e3 Add action sheet for adding feed resources 2020-07-02 16:18:59 -05:00
Maurice Parker
248b6720fc Delete dead code 2020-07-02 13:38:02 -05: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
74f34b1c78 Add basic timeline fetching 2020-07-01 12:30:55 -05:00
Maurice Parker
c1eb9ab927 Add sidebar navigation 2020-07-01 11:13:11 -05:00
Maurice Parker
e7a04804b4 Simplified the if/else logic in the getter 2020-07-01 03:46:00 -05:00
Maurice Parker
6ddf0f29fb Comment out SceneStorage since it crashes on launch on macOS 2020-06-30 20:38:55 -05: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
Stuart Breckenridge
f222dbd0fa SidebarItem updates
Several computed properties added to `SidebarItem` which `SidebarItemView` makes use of.
2020-06-30 12:37:29 +08:00
Stuart Breckenridge
c3e93980d1 Adds context menus to sidebar items 2020-06-30 10:31:50 +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
29b5f426fd Add accounts to Sidebar 2020-06-29 15:03:17 -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
be39448e01 Change to sidebar list style 2020-06-29 06:31:50 -05:00
Maurice Parker
86b929743b Add SmartFeeds to outline 2020-06-29 06:16:48 -05: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