Commit Graph

462 Commits

Author SHA1 Message Date
Maurice Parker 364bcf9d4d Implement new ArticleView API for iOS 2020-07-16 11:42:07 -05:00
Maurice Parker 5f573fc985 Make article rendering stop flashing! 2020-07-16 11:14:05 -05:00
Maurice Parker 9836fb781c Rename variable to make its intent clear 2020-07-16 10:53:54 -05:00
Maurice Parker 92f6ee3f42 Coalesce refresh progress updates 2020-07-15 21:32:56 -05:00
Maurice Parker 46762bf297 Implement refresh progress bar for macOS 2020-07-15 21:24:22 -05:00
Maurice Parker 69fa598d99 Enable refresh button on macOS 2020-07-15 20:09:11 -05:00
Maurice Parker e34dbd48ee Move error handling to SceneNavigationView 2020-07-15 20:06:29 -05:00
Maurice Parker cf233f4825
Merge pull request #2259 from stuartbreckenridge/feature/mac-preferences
Mac Preferences
2020-07-15 19:16:19 -05:00
Stuart Breckenridge c453882b4b
Adds Test/Release build downloading
Fixes #2182
2020-07-16 07:29:58 +08:00
Stuart Breckenridge 310cfaf66b
Tidies up AdvancedPreferences 2020-07-16 07:02:55 +08:00
Stuart Breckenridge 995278ac58
Enables check for updates 2020-07-16 06:43:11 +08: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 deee6c13f5 Remove progress indicator and next unread from timeline until we can properly show and hide them. 2020-07-15 13:00:38 -05:00
Maurice Parker c8077ad214 Separated refresh progress model from SceneModel again 2020-07-15 12:56:19 -05:00
Maurice Parker 6e60156f0e Move browser class up a level 2020-07-15 12:44:03 -05:00
Maurice Parker 160b0476f7 Port web view navigation over for the mac app 2020-07-15 12:41:49 -05:00
Stuart Breckenridge 0904ff519f
moves preferredColorScheme to App level. 2020-07-15 11:16:16 +08:00
Stuart Breckenridge d8c5d3719c
Refactors GeneralPrefs Model 2020-07-15 10:54:18 +08:00
Stuart Breckenridge c630bf3b9f
Account restrictions removed. 2020-07-15 10:26:03 +08:00
Stuart Breckenridge 99b2d3bb01
removes dead code
& correctly dismisses sheets
2020-07-15 09:14:04 +08:00
Stuart Breckenridge dfe314f214
Adds Feedly and Restricts Accounts 2020-07-15 09:04:33 +08:00
Maurice Parker 31068f90a0 Implement macOS share button 2020-07-14 17:10:53 -05:00
Maurice Parker e6bd17f8f9 Remove commented code 2020-07-14 13:53:23 -05:00
Stuart Breckenridge ade441af74
[weak self] 2020-07-14 21:14:16 +08:00
Stuart Breckenridge aca43090f8
Edit account
Edit account now has its own model
Refactored account creation and updated errors into separate enum
Renamed some structs
2020-07-14 16:25:37 +08:00
Stuart Breckenridge 06af59fb2b
fixes dark mode on accounts overlay 2020-07-14 15:05:11 +08:00
Stuart Breckenridge 4982211e27
WiP on Edit Accounts and ColorScheme 2020-07-14 14:57:55 +08:00
Stuart Breckenridge 64848a9421
look and feel of edit account matches production 2020-07-14 11:33:13 +08:00
Stuart Breckenridge 39a71077b4
WiP on Edit Account 2020-07-14 10:44:59 +08:00
Maurice Parker dc023e681b Implement share/activity button on iOS 2020-07-13 20:18:39 -05:00
Maurice Parker da08219ca3 Add more button state and standardize button syntax 2020-07-13 17:24:40 -05:00
Maurice Parker 7643ddc173 Remove specific button state enums as they were overkill 2020-07-13 16:26:53 -05:00
Maurice Parker 4bb88363e7 Change to only resort when sort parameters change 2020-07-13 16:06:42 -05:00
Maurice Parker 1a74701052
Merge pull request #2260 from rizwankce/show-password-for-feedbin-accouunt-view
Add show/hide password for feedbin account view
2020-07-13 16:00:01 -05:00
Maurice Parker 1e2a749cc4
Merge pull request #2258 from rizwankce/add-cloudkit-settings
Add cloudkit view for settings accounts
2020-07-13 15:58:48 -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 c29960ddda Clean up navigation handling for the timeline 2020-07-13 11:37:21 -05:00
Rizwan Mohamed Ibrahim b95697bf0d
Add show/hide password for feedbin account view 2020-07-13 20:52:05 +05:30
Stuart Breckenridge 15b980cabf
removed preview 2020-07-13 23:12:08 +08:00
Stuart Breckenridge 01c1df0a6b
refactoring 2020-07-13 23:10:50 +08:00
Rizwan Mohamed Ibrahim de0edd3c0b
Add cloud kit view for settings accounts 2020-07-13 20:39:19 +05:30
Stuart Breckenridge 587acfcb1c
correctly places accountAdded call 2020-07-13 23:02:09 +08:00
Stuart Breckenridge 8a66c368cd
fixes enum ==, changes frames 2020-07-13 22:51:09 +08:00
Stuart Breckenridge f4d776688b
Toolbar is in a much better shape. 2020-07-13 22:29:33 +08:00
Stuart Breckenridge 122249d716
Updates to add account model 2020-07-13 21:43:41 +08:00
Stuart Breckenridge a53500f643
Adding and deleting accounts works 2020-07-13 21:41:02 +08:00
Stuart Breckenridge 564f96ae47
Add Account Picker now displays accounts 2020-07-13 10:57:42 +08:00
Maurice Parker 17e1247ff0 Add sort control for macOS 2020-07-12 19:43:25 -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 809e6542e0 Fix bug in unfiltering a filtered timeline 2020-07-12 17:30:35 -05:00
Maurice Parker d7a4bddc72 Make timeline filter maintain it state for each timeline individually 2020-07-12 16:48:39 -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
Stuart Breckenridge cbeb74ab76
redesigned account pane 2020-07-12 22:49:55 +08:00
Stuart Breckenridge 235da781db
adds (old version) to other NNW entries 2020-07-12 21:47:29 +08:00
Stuart Breckenridge 2636a5cc72
Can set default RSS reader in the General pane 2020-07-12 21:37:27 +08:00
Stuart Breckenridge c2c138218d
Default RSS feeds now displayed 2020-07-12 18:53:37 +08:00
Stuart Breckenridge 31b93c5d13
small refactoring 2020-07-12 14:07:52 +08:00
Maurice Parker 2eb20c86af Refactor timeline code to be more clear 2020-07-11 20:11:01 -05:00
Maurice Parker 6891f76241 Fix smart feed feed lookup 2020-07-11 19:56:42 -05:00
Maurice Parker 7998b5450b Enabled toolbar buttons for read and star 2020-07-11 19:52:28 -05:00
Maurice Parker 92ac91d9d5 Delete dead code 2020-07-11 18:47:44 -05:00
Maurice Parker 184ef57576 Implement Timeline multiselect 2020-07-11 18:22:47 -05:00
Maurice Parker cf79d3f508 Merge branch 'master' of https://github.com/Ranchero-Software/NetNewsWire 2020-07-11 12:48:58 -05:00
Maurice Parker 360f7a07bf Implement Sidebar multiselect for macOS 2020-07-11 12:47:13 -05:00
Stuart Breckenridge 61c42171c7
2237
Fixes #2237 accent colours on web feeds.
2020-07-12 00:07:37 +08:00
Maurice Parker 20d989f1b8
Revert "Widget Work in Progress" 2020-07-11 09:48:34 -05:00
Maurice Parker 3eda1de825
Merge pull request #2249 from stuartbreckenridge/feature/widget
Widget Work in Progress
2020-07-11 09:36:50 -05:00
Stuart Breckenridge c3d4834879
Moves to monitoring changes in scene phase 2020-07-11 21:02:46 +08:00
Stuart Breckenridge 9991b3760e
Removes print statements and reorgs code 2020-07-11 20:22:21 +08:00
Stuart Breckenridge 1cc5f3cc30
Widget Updates
• Can now read data written by main app
• Has preview capability in widget gallery
• Still to solve using ORGANIZATION_IDENTIFIER
2020-07-11 17:01:09 +08:00
Maurice Parker 2f99cd01c1 Fix the width of the indicator so that it would stop reflowing the cell when changed to star 2020-07-10 10:13:18 -05:00
Stuart Breckenridge a45ba35b24
Initial widget work
• Latest data is saved out to JSON at various points.
• Technote on widget usage.
• Widget target added.
2020-07-10 23:10:12 +08:00
Maurice Parker bf8a52d710 Update the timeline with status changes 2020-07-09 20:10:52 -05:00
Maurice Parker 2d57945e98 Implement Read and Star button functionality 2020-07-09 18:44:51 -05:00
Maurice Parker 3e61c7044b Stub out mark as read and star functionality 2020-07-09 16:34:47 -05:00
Alex Faber 5b50e8cdd2 OPT: Cleanup Add Folder view on Mac, change SceneNavigationView to support multiple sheet types. 2020-07-09 21:09:50 +02:00
Maurice Parker aa4d191d1d Fixed Article Toolbar item placement on iPad 2020-07-09 09:57:39 -05:00
Maurice Parker d16c1678f2
Merge pull request #2239 from rizwankce/fix/add-account-action
Fix account selection
2020-07-09 09:31:06 -05:00
Maurice Parker 4fe41b57c5
Merge pull request #2236 from rizwankce/account-details-settings
Add settings account details view and implementations
2020-07-09 09:27:37 -05:00
Rizwan Mohamed Ibrahim 7c30749625
Fix account selection showing wrong sheet upon selection 2020-07-09 19:55:58 +05:30
Maurice Parker 91f2479b96
Merge pull request #2234 from stuartbreckenridge/fix/2193
Fix 2193
2020-07-09 08:10:42 -05:00
Maurice Parker 897474a637 Fixed the font for macOS article view 2020-07-09 07:47:47 -05:00
Rizwan Mohamed Ibrahim 2c7663870a
Add settings account details view and implementations 2020-07-09 16:14:53 +05:30
Stuart Breckenridge 771fe21422
Tidy up 2020-07-09 17:36:17 +08:00
Stuart Breckenridge f4deab1361
Updates title to match current app 2020-07-09 17:04:04 +08:00
Stuart Breckenridge 9830a977a0 Add Web Feed Colours
Icons in the picker now use accent colour.
2020-07-09 16:58:04 +08:00
Maurice Parker f5855f032d Revert to a less obnoxious status bar color 2020-07-08 22:43:16 -05:00
Maurice Parker f2e29de7b6 Trying a different color for the web status background 2020-07-08 22:41:13 -05:00
Maurice Parker 107a8fd550 Implement macOS web view mouse over events 2020-07-08 22:27:59 -05:00
Maurice Parker 5abf222c8a Merge branch 'swiftui' of https://github.com/Ranchero-Software/NetNewsWire into swiftui 2020-07-08 20:13:08 -05:00
Maurice Parker 5583b21616
Merge pull request #2232 from stuartbreckenridge/swiftui
Multi-selection on macOS #2164
2020-07-08 20:12:23 -05:00
Stuart Breckenridge 4c11667ff7
Moves selection to SidebarModel 2020-07-09 07:15:47 +08:00
Maurice Parker a87a692d7e Fix class file name misspelling 2020-07-08 17:50:18 -05:00
Maurice Parker 79691a1988 Add reader view icon to macOS toolbar 2020-07-08 17:34:35 -05:00
Maurice Parker 0e3ee19e3a Made Article View match system accent color 2020-07-08 17:26:53 -05:00
Maurice Parker 2ab82d5680 Make timeline unread indicator use the control accent color on macOS 2020-07-08 16:22:15 -05:00
Maurice Parker 739c14fb99 Don't remove from queue until completion handler is called 2020-07-08 16:00:48 -05:00
Maurice Parker 5efc02f969
Merge pull request #2230 from rizwankce/fix/settings-account-header-imageview
Settings account header imageview
2020-07-08 15:28:49 -05:00
Maurice Parker 3f036e91d3 Do not remove the view from the queue until it has navigated 2020-07-08 13:44:13 -05:00
Maurice Parker f138908e43 Complete dequeue even if web view fails to initialize 2020-07-08 13:39:44 -05:00
Maurice Parker cdb43404c5 Removed obsolete javascript setting 2020-07-08 10:48:05 -05:00
Maurice Parker c1bf903bff Suppress macOS menu items we don't want to show the user 2020-07-08 10:24:16 -05:00
Maurice Parker 6f055b5923 Implement ArticleView for macOS 2020-07-08 10:20:04 -05: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
Rizwan Mohamed Ibrahim 6958abb4ec
Fix account header image alignment and foreground color 2020-07-08 16:10:34 +05:30
Rizwan Mohamed Ibrahim 57dbe2b8ab
Fix header image white background 2020-07-08 16:09:49 +05:30
Rizwan Mohamed Ibrahim 8fb95f7900
Fix issues with account image being stretched 2020-07-08 15:13:10 +05:30
Rizwan Mohamed Ibrahim ea3149d5bc
Add simplified Account Header image view without stacks 2020-07-08 14:44:27 +05:30
Rizwan Mohamed Ibrahim 48f212abcd
Add settings account header image view 2020-07-08 14:40:14 +05:30
Maurice Parker 909dcb3f93 Made ArticleExtractorButtonState a shared enum 2020-07-08 02:27:16 -05:00
Maurice Parker 1e03da8192 Merge branch 'swiftui' of https://github.com/Ranchero-Software/NetNewsWire into swiftui 2020-07-08 02:25:17 -05:00
Rizwan Mohamed Ibrahim 74f822f624
Add Feedbin account addition implementation 2020-07-08 12:38:27 +05:30
Maurice Parker 115f37e7cc Remove unused copied code 2020-07-07 19:35:22 -05:00
Maurice Parker 7a663167f7 Remove commented code 2020-07-07 19:31:52 -05:00
Maurice Parker 59c3015fff Made web view preloading code and scheme handler shared code 2020-07-07 19:31:24 -05:00
Maurice Parker 900766d780 Remove icons from macOS context menus since they aren't supported 2020-07-07 17:02:17 -05:00
Maurice Parker cbdfaaaf22 Merge branch 'swiftui' of https://github.com/Ranchero-Software/NetNewsWire into swiftui 2020-07-07 16:05:33 -05:00
Maurice Parker 8064e65e68 Move Mac toolbar to SceneNavigationView so that it operates properly. Issue #2217 2020-07-07 16:05:26 -05:00
Maurice Parker b84be77c45
Merge pull request #2228 from rizwankce/accounts-settings
Accounts settings : Add New Local Account
2020-07-07 12:26:29 -05:00
Rizwan Mohamed Ibrahim 5aa329bf1c
Adds Account settings and New Local account addition 2020-07-07 22:45:12 +05:30
Rizwan Mohamed Ibrahim cbce799e01
Add title for About view 2020-07-07 12:22:55 +05:30
Maurice Parker 2e94ae9e8e Add basic support for Article view on iOS 2020-07-06 21:14:05 -05:00
Maurice Parker 52f1b9d036 Merge branch 'swiftui' of https://github.com/Ranchero-Software/NetNewsWire into swiftui 2020-07-06 16:51:18 -05:00
Maurice Parker 43ea26ddc2 Standardize Asset Catalog case part 2 2020-07-06 16:50:48 -05:00
Maurice Parker c829478aa6 Standardize Asset Catalog case part 1 2020-07-06 16:49:58 -05:00
Maurice Parker 7564ee33b1
Merge pull request #2223 from rizwankce/feeds-settings-errors
Add feeds settings import/export errors
2020-07-06 16:44:55 -05:00
Maurice Parker 06a1a5f28b Merge branch 'pr/2218' into swiftui 2020-07-06 16:39:36 -05:00
Maurice Parker d1f7473a02 Moved items to match current layout 2020-07-06 16:30:50 -05:00
Maurice Parker e5ad208730 Fix iOS background colors 2020-07-06 16:14:43 -05:00
Maurice Parker fcf0c1ad1c Implement Settings About Section. Issue #2174 2020-07-06 15:30:32 -05:00
Rizwan Mohamed Ibrahim cbac7a85cb
Add feeds settings import/export errors 2020-07-06 22:43:20 +05:30
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 ac0153b71f Remove unused type alias 2020-07-06 01:46:12 -05:00
Maurice Parker 958de0c0d9 Remove VisualEffectBlur and split ArticleView into target specific files 2020-07-06 01:44:35 -05:00
Maurice Parker 6695fcfca7 Refactor sidebar styling to remove duplicate code 2020-07-06 01:32:43 -05:00
Maurice Parker bcbb38c120 Change to initialize Refresh when the onAppear event happens so that we quit crashing on macOS 2020-07-05 19:49:07 -05:00
Maurice Parker aca4cdf4ec fixed asset catalog 2020-07-05 19:36: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 1389008b31 Add Article toolbar 2020-07-05 18:53:18 -05:00
Maurice Parker 5b0c397739 Add filter buttons to navigation bar 2020-07-05 15:11:45 -05:00
Maurice Parker 14601fc96b Change how next unread image is scaled up 2020-07-05 15:01:02 -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 3e2bf6f301
Merge pull request #2213 from stuartbreckenridge/swiftui
Add Feed Folder Picker
2020-07-05 14:23:23 -05:00
Stuart Breckenridge ad4aaf9a19 Add Feed Folder Picker
Fixes #2193:

• Containers with indentation are supported
• Small icon provider is used
• AssetCatalog updated with SF Symbol images for desktop, iPad, iPhone.
• Title page doesn’t work at the current time.
2020-07-05 09:06:53 +08: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 7cebe7e70f Fixed case for FaviconTemplateImage 2020-07-04 10:32:42 -05:00
Maurice Parker 4cb28cfc20 Fixed Favicon asset name. 2020-07-04 10:24:37 -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 14c66f9c2b Add Feed Fix
Fixes #2209
2020-07-04 23:12:53 +08:00
Maurice Parker 21689bcbd3
Merge pull request #2211 from stuartbreckenridge/swiftui
Add Feed Fix
2020-07-04 10:10:48 -05:00
Stuart Breckenridge 3bf30fb6e2 Add Feed Fix
Fixes #2209
2020-07-04 23:08:12 +08: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 03f28a4d98 Fixed crash as a result of mismatched asset name 2020-07-04 09:10:06 -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
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
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 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
Rizwan Mohamed Ibrahim 959eef6a1a
Add color palette implementation for Appearance settings 2020-07-02 21:10:24 +05:30
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
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 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
Stuart Breckenridge c10207ecaa Merge branch 'swiftui' of https://github.com/stuartbreckenridge/NetNewsWire into swiftui 2020-07-01 09:52:59 +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
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
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
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