Commit Graph

5832 Commits

Author SHA1 Message Date
Maurice Parker 2f8f6e54bd
Merge pull request #2161 from stuartbreckenridge/swiftui
AppSettings
2020-07-02 04:53:53 -05:00
Maurice Parker cec866cf27
Merge branch 'swiftui' into swiftui 2020-07-02 04:53:43 -05:00
Maurice Parker f9805b6cbf
Merge pull request #2168 from Wevah/master
Embedded widget fix
2020-07-02 04:48:59 -05:00
Nate Weaver 014724e6a7 Don't force iframe height to auto
Prevents truncating of YouTube embeds without needing a wrapper div.

(master version of 82f8951c96).

This also sets max-width: 100%; on video instead of width: 100% !important;.
2020-07-02 04:45:08 -05:00
Nate Weaver dc57981376 Only wrap iframes that don't specify their own height
(master version of e183a5406c)
2020-07-02 04:32:58 -05:00
Stuart Breckenridge a57f98e4e7 NetNewsWire-Mac AppDefaults is now a singleton 2020-07-02 11:17:38 +08:00
Stuart Breckenridge f92b219cdc NetNewsWire-iOS AppDefaults is now a singleton 2020-07-02 10:47:45 +08:00
Stuart Breckenridge 0233c98a1b Merge branch 'swiftui' of https://github.com/stuartbreckenridge/NetNewsWire into swiftui 2020-07-02 09:58:46 +08:00
Stuart Breckenridge c2149579c9 Converts AppDefaults to singleton 2020-07-02 09:58:25 +08:00
Stuart Breckenridge 76e0d5e555 Convers AppDefaults to singleton 2020-07-02 09:57:36 +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
Maurice Parker bacffbadbe Add icon image to Timeline 2020-07-01 17:21:58 -05:00
Brent Simmons 9815e19f01
Merge pull request #2160 from rizwankce/fix/privacy-policy-links
Add Github and slack privacy polices to tech notes
2020-07-01 15:19:39 -07: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 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
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 e7a04804b4 Simplified the if/else logic in the getter 2020-07-01 03:46:00 -05:00
Rizwan Mohamed Ibrahim accc4e7efe
Add Github and slack privacy polices to tech notes 2020-07-01 13:02:20 +05:30
Stuart Breckenridge c10207ecaa Merge branch 'swiftui' of https://github.com/stuartbreckenridge/NetNewsWire into swiftui 2020-07-01 09:52:59 +08:00
Stuart Breckenridge bb31a44a96
Merge pull request #3 from Ranchero-Software/swiftui
pr
2020-07-01 09:52:37 +08: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 12a0d13971 Changes viewModel to @StateObject 2020-06-30 22:31:12 +08:00
Maurice Parker 30e6342712
Merge pull request #2153 from stuartbreckenridge/swiftui
ContextMenus have been added to sidebar items.
2020-06-30 09:08:00 -05:00
Stuart Breckenridge 6cb4c46e4b Adds app version text to setting footer 2020-06-30 21:50:53 +08: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
Stuart Breckenridge 2cedffd39c Removes sidebar commandgroup 2020-06-30 09:29:31 +08:00
Stuart Breckenridge 8dc2b1ec18
Merge pull request #2 from Ranchero-Software/swiftui
Swiftui
2020-06-30 09:25:38 +08:00
Maurice Parker 835b04c53d Add feed icons 2020-06-29 20:09:11 -05:00
Stuart Breckenridge 5e20c66be5
Merge pull request #1 from Ranchero-Software/swiftui
Pull
2020-06-30 07:29:56 +08: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
Maurice Parker ba5e9cfaec
Merge pull request #2152 from stuartbreckenridge/swiftui
Adapts to compact size classes
2020-06-29 12:24:26 -05:00
Stuart Breckenridge 0907164627 Adapts to compact size classes 2020-06-29 22:06:00 +08:00
Maurice Parker 5f87a91912
Merge pull request #2151 from stuartbreckenridge/swiftui
Mac Toolbar
2020-06-29 08:22:26 -05: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
Maurice Parker bbf1e3b2c5
Merge pull request #2150 from stuartbreckenridge/swiftui
Adds Mac Preferences
2020-06-29 08:12:40 -05: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 dc9d4d8235
Merge pull request #2149 from stuartbreckenridge/swiftui
KeyCommands
2020-06-29 07:42:55 -05:00
Stuart Breckenridge 2e6e934b6f SceneBuilder & Key Commands
Placeholders for most existing key commands on macOS and iPad OS.
2020-06-29 20:36:54 +08:00