Commit Graph

713 Commits

Author SHA1 Message Date
Angelo Stavrow
3384a972b0
Change Result/Failure logic to match new AccountError cases 2020-08-17 13:31:20 -04:00
Angelo Stavrow
a56da3c07b
Fit test data to real-world username format 2020-08-17 13:30:29 -04:00
Angelo Stavrow
0c208fb063
Show alert if the username is not found 2020-08-17 13:30:03 -04:00
Angelo Stavrow
582cab7efb
Fix indentation for server alert message 2020-08-17 13:29:28 -04:00
Angelo Stavrow
216641029d
Catch both invalidPassword and usernameNotFound AccountErrors 2020-08-17 13:20:21 -04:00
Angelo Stavrow
8f6e5b9a0a
Add more specific AccountError cases per API 2020-08-17 13:16:58 -04:00
Angelo Stavrow
c5b18a2440
Use standard keyboard for username entry 2020-08-17 13:10:56 -04:00
Angelo Stavrow
ea1243b8ab
Merge pull request #3 from writeas/add-collections-sidebar
Add collections sidebar
2020-08-14 11:08:52 -04:00
Angelo Stavrow
bd7d18cd27
Update change log 2020-08-13 15:12:57 -04:00
Angelo Stavrow
454b7bf09b
Drop into AppKit/UIKit to reliably set/unset preferred color scheme 2020-08-13 14:54:56 -04:00
Angelo Stavrow
e2efecb210
Refactor macOS/SettingsView tab view into MacAccountView 2020-08-12 10:36:49 -04:00
Angelo Stavrow
dfbbed12f8
Refactor preferences tab into MacPreferencesView 2020-08-12 10:36:10 -04:00
Angelo Stavrow
779e864829
Conditionally create selectedTab State property if we're on macOS 2020-08-12 10:34:12 -04:00
Angelo Stavrow
0460ca73ca
Move TabView into Settings block of app entrypoint to resolve Mac crash 2020-08-12 10:21:15 -04:00
Angelo Stavrow
e06025c654
Clean up some properties 2020-08-11 17:03:30 -04:00
Angelo Stavrow
264298160b
Implement color scheme switching on Mac app 2020-08-11 17:03:17 -04:00
Angelo Stavrow
6dba087295
Refactor account views and AccountModel 2020-08-11 16:27:14 -04:00
Angelo Stavrow
54d1d64e0e
Use preferredColorScheme modifier instead of environment key 2020-08-11 14:44:34 -04:00
Angelo Stavrow
c339124703
Use "Dark"/"Light" instead of "Dark mode"/"Light mode" in preferences UI 2020-08-11 14:33:35 -04:00
Angelo Stavrow
b787e34012
Adopt PreferencesModel for implementing light/dark mode switch (in iOS) 2020-08-11 14:32:45 -04:00
Angelo Stavrow
fceadda878
Add PreferencesModel for setting app preferences 2020-08-11 14:06:10 -04:00
Angelo Stavrow
4fe7d2fee9
Remove unnecessary State property 2020-08-11 14:00:44 -04:00
Angelo Stavrow
f646cf9eae
PostList count should be text, not a button, in iOS bottom toolbar 2020-08-11 10:51:50 -04:00
Angelo Stavrow
275dd91e9c
Move Settings button to PostList 2020-08-10 16:50:24 -04:00
Angelo Stavrow
94322a0424
Add header to SettingsView for dismissing sheet on iOS 2020-08-10 16:21:26 -04:00
Angelo Stavrow
35f4762b35
Improve appearance of settings views between platforms 2020-08-10 14:30:23 -04:00
Angelo Stavrow
8f9d1746fb
Refactor PreferenceView to punt Form/Section up to SettingsView 2020-08-10 13:51:07 -04:00
Angelo Stavrow
a7b918c14b
Refactor login view out of AccountView 2020-08-10 13:31:46 -04:00
Angelo Stavrow
4de5293345
Refactor logout view out of AccountView 2020-08-10 13:20:53 -04:00
Angelo Stavrow
0d37f9f3c2
Improve frame of macOS Preferences pane 2020-08-10 12:54:29 -04:00
Angelo Stavrow
afac74a7c9
Add Button to present SettingsView in SidebarView 2020-08-10 12:38:54 -04:00
Angelo Stavrow
4d4e4be162
Adapt PreferencesView to embed in iOS SettingsView form 2020-08-10 12:38:30 -04:00
Angelo Stavrow
4b914891b7
Adapt AccountView to embed in iOS SettingsView form 2020-08-10 12:38:06 -04:00
Angelo Stavrow
67361f5d86
Create SettingsView for iOS 2020-08-10 12:37:19 -04:00
Angelo Stavrow
93a10e27dd
Rename Account and Settings views and move to Shared code 2020-08-10 10:39:44 -04:00
Angelo Stavrow
14e8a5b4b8
Add SidebarView to navigate collections, rename CollectionSidebar 2020-08-10 10:25:35 -04:00
Angelo Stavrow
bc289fba8f
Merge pull request #2 from writeas/refactor-post-ui
Refactor Post-related UI code
2020-08-07 17:45:51 -04:00
Angelo Stavrow
8870d2ff38
Add an account login view for testing 2020-08-07 16:31:13 -04:00
Angelo Stavrow
0bf89b4cff
Add a non-functional preferences view with a RadioGroupPicker 2020-08-07 16:30:39 -04:00
Angelo Stavrow
fb7c188ca0
Create a two-tab settings view for macOS 2020-08-07 16:30:09 -04:00
Angelo Stavrow
ea6e9491c2
Add simple account model for testing login screen 2020-08-07 16:27:23 -04:00
Angelo Stavrow
29f065c3d1
Update change log 2020-08-07 10:45:00 -04:00
Angelo Stavrow
822d7310dc
Add Sidebar title for iOS and set SidebarListStyle 2020-08-07 10:29:22 -04:00
Angelo Stavrow
9e87bff6a5
Use selectedCollection, NavLinks in PostList, split view for iOS/macOS 2020-08-07 10:13:36 -04:00
Angelo Stavrow
d4e3cf5f95
Remove unnecessary selectedCollection binding in CollectionSidebar 2020-08-07 10:05:33 -04:00
Angelo Stavrow
78df0628f1
Remove unnecessary EnvironmentObject 2020-08-07 10:03:04 -04:00
Angelo Stavrow
51275bc747
Move showPosts function from ContentView to PostList 2020-08-07 09:54:22 -04:00
Angelo Stavrow
fce0c380d2
Fix CollectionSidebar preview and remove dead showPosts code 2020-08-07 09:53:16 -04:00
Angelo Stavrow
1dc8b4c7ce
Update PostBadge font weight 2020-08-07 09:44:34 -04:00
Angelo Stavrow
bb6a9f3af5
Remove foregroundColor from PostCell's createdDate 2020-08-07 09:39:05 -04:00