Commit Graph

32 Commits

Author SHA1 Message Date
Angelo Stavrow
884da073e9
Prepare release v1.0.11 for iOS (#225)
* Add error handling to Mac app

* Log fatal crashes and present alert on next launch

* Update crash alert copy and navigate to help forum

* Refactor logging into reuseable methods

* Refactor class to use protocol

* Add environment object to settings window

* Improve deactivation of app when miniaturizing

* Chagne dispatch type when creating new post

* Bump version and build number

* Remove unnecessary TODO comment

* Update change log

* Log fatal crashes and present alert on next launch

* Update crash alert copy and navigate to help forum

* Refactor logging into reuseable methods

* Add environment object to settings window

* Improve deactivation of app when miniaturizing

* Chagne dispatch type when creating new post

* Improve default window size (#220)

* Clean up unnecessary import

* Set idealWidth property on sidebars

* Unset selected post on collection change (#218)

* Unset selected post when changing collection

* Update change log

* Bump build number and update change log
2022-09-10 08:30:55 -04:00
Angelo Stavrow
b2f8049632
Update CollectionListView based on account type (#222) 2022-09-07 08:28:53 -04:00
Angelo Stavrow
2eba4c5c04
Remove commented-out code 2022-05-28 07:22:27 -04:00
Angelo Stavrow
230f7a1076
Delete CollectionListModel in favour of FetchRequest in CollectionListView 2022-05-28 07:17:33 -04:00
Angelo Stavrow
15f84b04c0
Handle errors in (most) shared code
Two outliers to come back to are:

- the LocalStoreManager, where we can’t set a current error in the WriteFreelyModel in methods that can’t throw
- the CollectionListModel, where the initializer can’t throw because we use it as a property initializer in CollectionListView
2022-05-26 08:08:12 -04:00
Angelo Stavrow
378229c71a
Bump build number 2021-11-19 15:51:37 -05:00
Angelo Stavrow
2f1b895df5
Rename 'persistentContainer' to 'container' 2021-10-08 17:15:38 -04:00
Angelo Stavrow
11ad3bc2ff
Use LocalStorageManager 'standard' singleton 2021-10-08 17:07:06 -04:00
Angelo Stavrow
3c1e04e3bf
Use view model for CollectionListView 2021-09-24 14:45:28 -04:00
Angelo Stavrow
900ef269ba
Use same code path to set iOS and Mac app state on launch 2021-01-26 09:23:47 -05:00
Angelo Stavrow
34b14ba46c
Move state-fetching logic to PostEditorModel for iOS app 2021-01-25 13:46:30 -05:00
Angelo Stavrow
dcb18c86db
Set app state in App entrypoint for macOS, in relevant Views for iOS 2021-01-21 15:39:28 -05:00
Angelo Stavrow
6beee8cf32
Prevent AppStorage updates if there's no change 2021-01-19 10:33:25 -05:00
Angelo Stavrow
083d69d143
Track changes to model.showAllPosts in @AppStorage 2021-01-19 09:48:00 -05:00
Angelo Stavrow
deadfb8509
Save/restore navigation state to last selected post and collection 2021-01-14 17:04:52 -05:00
Angelo Stavrow
3b6c7748e8
Ensure showAllPosts is false when navigating to a given blog 2021-01-14 10:28:14 -05:00
Angelo Stavrow
1acd25ad42
Handle selectedCollection in CollectionView 2021-01-13 17:03:42 -05:00
Angelo Stavrow
efae5202f8
Merge branch 'main' into fix-crash-on-launch 2020-11-04 14:18:44 -05:00
Angelo Stavrow
e7408a47e9
Fix crash-on-load bug by cleaning up/thread-sanitizing CoreData calls 2020-10-29 16:09:35 -04:00
Angelo Stavrow
dbf2ecda60
Show only drafts list if logged out 2020-10-29 10:37:16 -04:00
Angelo Stavrow
8695a8fe4a
Hide everything but "All Posts" in CollectionListView if logged out 2020-09-16 14:45:11 -04:00
Angelo Stavrow
83acb6e832
Show server host or "WriteFreely" in CollectionListView per login state 2020-09-16 14:44:39 -04:00
Angelo Stavrow
dad0fef7f1
Rename PersistenceManager to LocalStorageManager 2020-09-09 14:19:40 -04:00
Angelo Stavrow
e8d52b4b69
Update SwiftUI previews 2020-09-09 12:12:19 -04:00
Angelo Stavrow
e8301b7eb4
Add "All Posts" grouping back to CollectionListView 2020-09-08 09:57:05 -04:00
Angelo Stavrow
0887638841
Load user collections from cache on launch, wipe from database on logout 2020-09-08 09:57:05 -04:00
Angelo Stavrow
8e035a43cb
Fetch user collections into CoreData and list from ManagedObjectContext 2020-09-08 09:55:43 -04:00
Angelo Stavrow
c14a03a332
Get SwiftUI previews working with debug data 2020-08-25 11:40:30 -04:00
Angelo Stavrow
18ce54bd89
Use WriteFreelyModel EnvironmentObject in CollectionListView 2020-08-25 11:28:52 -04:00
Angelo Stavrow
84e854b4ab
Refactor viewmodel code from PostCollection into CollectionListModel 2020-08-17 15:24:44 -04:00
Angelo Stavrow
8c0865b518
Rename PostList to PostListView 2020-08-17 14:19:22 -04:00
Angelo Stavrow
14e8a5b4b8
Add SidebarView to navigate collections, rename CollectionSidebar 2020-08-10 10:25:35 -04:00