Commit Graph

81 Commits

Author SHA1 Message Date
Stuart Breckenridge 14c66f9c2b Add Feed Fix
Fixes #2209
2020-07-04 23:12:53 +08: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
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
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
Stuart Breckenridge c0755fe55b Add Web Feed Layout
Fixes #2194

• Views are aligned using `LazyVGrid` and some `.padding()`
2020-07-04 21:07:18 +08:00
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 6a0f9b63ac
Merge pull request #2200 from stuartbreckenridge/swiftui
Fixes #2199
2020-07-03 21:18:49 -05:00
Stuart Breckenridge c66c386df7 2199
Fixes #2199

• Removes scheme from url checker.
2020-07-04 09:40:38 +08:00
Stuart Breckenridge 9491855fb8 2199
On iOS:
• Autocorrection and auto capitalisation is disabled on URL field

On macOS:
• Autocorrection is disabled.
2020-07-04 09:31:58 +08: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 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 217d1ac880 Changed add button to be a menu. 2020-07-03 19:29:25 -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
Maurice Parker c761a083b5 Add Timeline vertical padding for macOS 2020-07-03 12:21:08 -05: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 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
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
Maurice Parker 45e702501e Change to set preferredColorScheme to nil which should make it automatic again (but doesn't) 2020-07-03 10:43:05 -05:00
Stuart Breckenridge a4f53bc167 Using Form and monospace to keep alignment
Work in progress for #2184
2020-07-03 22:58:39 +08:00
Stuart Breckenridge bfd5bd467d Credits for url parser
Work in progress for #2184
2020-07-03 21:53:43 +08:00
Stuart Breckenridge 467c16465f add feed changes
sorts alignment issues with monospaced fonts.
2020-07-03 21:43:55 +08:00
Stuart Breckenridge 6fb5af81af Removes Combine import. 2020-07-03 20:41:47 +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
Rizwan Mohamed Ibrahim fc548ac913
Try conditional modifier for preferredColorScheme 2020-07-03 12:35:12 +05:30
Maurice Parker 88d03586ae Register AppDefaults. Issue #2190 2020-07-03 01:24:35 -05:00
Maurice Parker 782ae1c5cd Removed obsolete AppDefaults values 2020-07-03 01:01:38 -05:00
Maurice Parker 2292d04f91 Revert to using List for timeline and use infinite scrolling technique to speed up timeline loads 2020-07-02 17:36:50 -05:00
Maurice Parker c6bd4cd6e3 Add action sheet for adding feed resources 2020-07-02 16:18:59 -05:00
Maurice Parker 494bd85a37 Stub out Article code 2020-07-02 15:30:50 -05:00
Maurice Parker 248b6720fc Delete dead code 2020-07-02 13:38:02 -05:00
Maurice Parker 313d3df573 Fix timeline so that it works with most recent AppDefaults code 2020-07-02 05:46:56 -05:00
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 ee4d8b34b1 Make sure image loaders don't loop if onAppear gets repeatedly called 2020-07-01 19:50:40 -05:00
Stuart Breckenridge 4e8e792471 Defaults added from NetNewsWire macOS 2020-07-02 06:59:33 +08:00
Maurice Parker e7e3a0d5d7 Change the timeline byline to be the webbed for now 2020-07-01 17:44:45 -05:00
Maurice Parker 269d9462fe Change byline to truncate and only use 1 line 2020-07-01 17:42:44 -05:00
Maurice Parker 0b36498ff8 Added date and byline to timeline 2020-07-01 17:39:27 -05:00