Angelo Stavrow
2f1b895df5
Rename 'persistentContainer' to 'container'
il y a 2 ans
Angelo Stavrow
11ad3bc2ff
Use LocalStorageManager 'standard' singleton
il y a 2 ans
Angelo Stavrow
ff7e7c3c0e
Re-enable launch-to-last-draft policy
il y a 2 ans
Angelo Stavrow
3c1e04e3bf
Use view model for CollectionListView
il y a 2 ans
Angelo Stavrow
615e2199f3
Update URL for WriteFreely Swift package
il y a 3 ans
Angelo Stavrow
4d4032594c
Don't trigger navigation to Drafts list when creating new post
il y a 3 ans
Angelo Stavrow
f948a16ad0
Use ObservedObject rather than unwrapping model.selectedPost
il y a 3 ans
Angelo Stavrow
12785d733c
Use model.selectedPost for ActivePostToolbarView
il y a 3 ans
Angelo Stavrow
4ad076ccab
Move new-post generation for iOS app to PostEditorModel
il y a 3 ans
Angelo Stavrow
1acd25ad42
Handle selectedCollection in CollectionView
il y a 3 ans
Angelo Stavrow
c4bfb195fd
Improve VoiceOver tap target frames
il y a 3 ans
Angelo Stavrow
a1b3ece294
Move bottom bar back to PostListView
Fixes a bug where tapping the new-post button creates the new local draft, but doesn’t automatically load it in the post editor until you open, and then dismiss, the settings sheet.
il y a 3 ans
Angelo Stavrow
cfd34e2021
Replace bottom toolbar with overlaid view
il y a 3 ans
Angelo Stavrow
f9cce6c901
Fix button-image sizing and tap target/a11y frame
il y a 3 ans
Angelo Stavrow
03a568cfdc
Add a11y labels/hints to post list and settings
il y a 3 ans
Angelo Stavrow
0b0fdd81a1
Move toolbar from ContentView to PostLIstView
il y a 3 ans
Angelo Stavrow
09131d5873
Remove duplicate ToolbarItemGroup in Mac app
il y a 3 ans
Angelo Stavrow
c826806bc1
Ensure we’re setting the model object’s properties
il y a 3 ans
Angelo Stavrow
709a654528
Reset selectedCollection/showAllPosts when dismissing PostListView
il y a 3 ans
Angelo Stavrow
a0b1218473
Use published properties for selectedCollection and showAllPosts
il y a 3 ans
Angelo Stavrow
1c9ca05527
Move clear-last-draft call to PostEditor.onDisappear
il y a 3 ans
Angelo Stavrow
28d3b6f831
Make sure to always clear the last draft when we unset the selectedPost
il y a 3 ans
Angelo Stavrow
735867a940
Add new-post logic to toolbar button and menu, fix broken iOS code
il y a 3 ans
Angelo Stavrow
1215a1727a
Remove PostListView toolbar (new post and reload from server)
il y a 3 ans
Angelo Stavrow
06510f181e
Fix post-count label to fetch info from managed object context
il y a 3 ans
Angelo Stavrow
e7408a47e9
Fix crash-on-load bug by cleaning up/thread-sanitizing CoreData calls
il y a 3 ans
Angelo Stavrow
a289e544b1
Do not disable networking buttons if hasNetworkConnection is false
il y a 3 ans
Angelo Stavrow
1feeed7354
Publish isProcessingRequest flag to switch ProgressView with Button
il y a 3 ans
Angelo Stavrow
a3ffb5a470
Create new local posts as Drafts
il y a 3 ans
Angelo Stavrow
8e4957a389
Delete blank/untouched local draft from store when leaving editor
il y a 3 ans
Angelo Stavrow
5bcd3185bf
Dispatch setting of selectedPost to the main thread
il y a 3 ans
Angelo Stavrow
0dbd47537c
Move PostEditorStatusToolbarView from .status to .principal placement
il y a 3 ans
Angelo Stavrow
c4c36eeed7
Set default new-post font from preferences view
il y a 3 ans
Angelo Stavrow
d7a6668917
Disable publish and reload buttons based on network connection status
il y a 3 ans
Angelo Stavrow
c9df320ddd
Set language and rtl based on current system Locale
il y a 3 ans
Angelo Stavrow
7fd7b43755
Set new local post as selectedPost in WriteFreelyModel
il y a 3 ans
Angelo Stavrow
6ea10fb434
Move sheet modifier outside of NavigationView
il y a 3 ans
Angelo Stavrow
614d5fa72c
Set collection alias for new local drafts if it exists
il y a 3 ans
Angelo Stavrow
18b6d0729f
Move UserCollection persistence handling to LocalStorageManager
il y a 3 ans
Angelo Stavrow
dad0fef7f1
Rename PersistenceManager to LocalStorageManager
il y a 3 ans
Angelo Stavrow
e8d52b4b69
Update SwiftUI previews
il y a 3 ans
Angelo Stavrow
300d4f30b4
Use FetchedResults<WFAPost> for filtering the post list
il y a 3 ans
Angelo Stavrow
12723fbaea
Restore updateFromServer functionality when remote copy is newer
il y a 3 ans
Angelo Stavrow
ca8e74b2dc
Replace Post type with WFAPost managed object
il y a 3 ans
Angelo Stavrow
169e3684a6
Extract PostStatus enum to own file and add raw Int32 values
il y a 3 ans
Angelo Stavrow
5436764e4f
Add new local draft to local store
il y a 3 ans
Angelo Stavrow
e8301b7eb4
Add "All Posts" grouping back to CollectionListView
il y a 3 ans
Angelo Stavrow
0887638841
Load user collections from cache on launch, wipe from database on logout
il y a 3 ans
Angelo Stavrow
8e035a43cb
Fetch user collections into CoreData and list from ManagedObjectContext
il y a 3 ans
Angelo Stavrow
a3fe7630e8
Remove unnecessary alert because we don't clobber data anymore
il y a 3 ans