Commit Graph

6160 Commits

Author SHA1 Message Date
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
Maurice Parker
01a26a23a3
Merge pull request #2178 from rizwankce/swiftui-color-palette
SwiftUI Appearance Settings
2020-07-03 10:11:49 -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
Maurice Parker
e621e5e0f7 Add prebuild script to generate Secrets for new multiplaform targets 2020-07-03 09:48:14 -05: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
Phil Viso
ac5cfada4f Corrected spelling of palette 2020-07-03 07:15:51 -05: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
Stuart Breckenridge
d16105718f
Merge pull request #6 from Ranchero-Software/swiftui
Swiftui
2020-07-03 07:34:47 +08: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
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
Stuart Breckenridge
00e498e826
Merge pull request #5 from Ranchero-Software/swiftui
Swiftui
2020-07-02 20:11:40 +08: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
d15dbe18ef Change AppDefaults to be final classes on macOS and iOS 2020-07-02 05:36:23 -05:00
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