Commit Graph

713 Commits

Author SHA1 Message Date
Angelo Stavrow
444859b2fb
Load last draft or new post on launch 2020-11-04 15:23:03 -05:00
Angelo Stavrow
4d37cae4bf
Save changes to local store when post status changes 2020-11-04 14:48:59 -05:00
Angelo Stavrow
d3e89e2a45
Save or clear last draft URL from based on change in post status 2020-11-04 14:22:00 -05:00
Angelo Stavrow
c1ed348c96
Dispatch last-draft URL save to main queue to avoid iPad race condition 2020-11-04 14:22:00 -05:00
Angelo Stavrow
14aed4a14d
Clear last draft when leaving the editor 2020-11-04 14:22:00 -05:00
Angelo Stavrow
8f0d21c5e1
Merge pull request #118 from writeas/fix-crash-on-launch
Fix crash on launch
2020-11-04 14:18:58 -05:00
Angelo Stavrow
efae5202f8
Merge branch 'main' into fix-crash-on-launch 2020-11-04 14:18:44 -05:00
Angelo Stavrow
d09ddc35a2
Merge pull request #114 from writeas/implement-responder-chain-in-editor
Implement responder chain in editor
2020-11-02 16:20:41 -05:00
Angelo Stavrow
51f8495a06
Make Return key navigate from title field to last body field position 2020-11-02 15:05:39 -05:00
Angelo Stavrow
c44d48e526
Add line spacing to title text field 2020-11-02 14:15:50 -05:00
Angelo Stavrow
01bfe7e74a
Call PostListModel.remove() async on main queue 2020-11-02 13:09:38 -05:00
Angelo Stavrow
66266dafdd
Merge pull request #116 from writeas/show-drafts-only-when-logged-out
Show drafts only when logged out
2020-11-02 13:07:06 -05:00
Angelo Stavrow
d129c0d0f9
Save/clear last draft based on status when loading post in editor 2020-10-30 16:28:34 -04:00
Angelo Stavrow
4ef40453d5
Add methods to save, clear, and retrieve last draft from UserDefaults 2020-10-30 15:26:32 -04:00
Angelo Stavrow
06510f181e
Fix post-count label to fetch info from managed object context 2020-10-29 17:20:20 -04:00
Angelo Stavrow
3c81b5cd68
Propagate login/logout fixes to Mac app target 2020-10-29 17:19:06 -04:00
Angelo Stavrow
518d793d5d
Fix SwiftLint error about function body length 2020-10-29 17:05:01 -04: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
bd695b23e6
Remove anything that attempts to set selected post or last draft 2020-10-29 12:03:31 -04:00
Angelo Stavrow
dbf2ecda60
Show only drafts list if logged out 2020-10-29 10:37:16 -04:00
Angelo Stavrow
c2df4cab86
Default to all-posts list if logged in, drafts otherwise 2020-10-29 10:36:43 -04:00
Angelo Stavrow
3134965b2c
Add (dynamic) line spacing back to post body editor 2020-10-28 13:23:41 -04:00
Angelo Stavrow
61cc9464c0
Fix insertion-point bug in body editor 2020-10-28 10:36:08 -04:00
Angelo Stavrow
3becfcbf73
Use PostBodyTitleView and PostBodyTextView for post editor 2020-10-27 16:02:28 -04:00
Angelo Stavrow
86cf0e976d
Create UIViewRepresentable / UITextView for iOS post title editor 2020-10-27 14:39:27 -04:00
Angelo Stavrow
aa51935482
Create UIViewRepresentable / UITextView for iOS post body editor 2020-10-27 14:38:46 -04:00
Angelo Stavrow
3b88d45841
Add placeholder files for UIViewRepresentable replacement of TextEditor 2020-10-27 14:30:21 -04:00
Angelo Stavrow
1170caaf4a
Merge pull request #110 from writeas/keep-local-posts-on-logout
Keep local posts on logging out
2020-10-27 13:12:56 -04:00
Angelo Stavrow
e7dff39905
Merge pull request #109 from writeas/ios-add-howto-link
Add link to how-to guide for iOS app
2020-10-27 13:12:05 -04:00
Angelo Stavrow
ed19742723
Merge pull request #112 from writeas/refactor-posteditorview
Refactor PostEditorView
2020-10-27 13:10:41 -04:00
Angelo Stavrow
a542afa405
Refactor text-editing views out of PostEditorView [Mac] 2020-10-23 16:01:37 -04:00
Angelo Stavrow
fea9160a15
Use adaptive line spacing on iOS (fixes #111) 2020-10-23 14:06:37 -04:00
Angelo Stavrow
14b7e0f941
Refactor text-editing views out of PostEditorView [iOS] 2020-10-23 12:30:51 -04:00
Angelo Stavrow
b5687091e8
Refactor remote-change prompt out of PostEditorView [iOS] 2020-10-23 10:54:07 -04:00
Angelo Stavrow
d6a073ccd8
Merge pull request #107 from writeas/editor-design-improvements
Minor editor design improvements
2020-10-23 09:40:28 -04:00
Angelo Stavrow
5a2b999bcd
Present action sheet to confirm logout 2020-10-22 17:08:16 -04:00
Angelo Stavrow
735326891e
Hide the keyboard on tapping the log-in button 2020-10-22 16:09:18 -04:00
Angelo Stavrow
932da4ac48
Purge everything except local posts on logout 2020-10-22 12:40:07 -04:00
Angelo Stavrow
47aec3d143
Update change log and bump build and version number 2020-10-22 10:12:13 -04:00
Angelo Stavrow
94c6280ed3
Add guide link and improve description of section and links 2020-10-21 16:57:14 -04:00
Angelo Stavrow
bb1c06f84d
Add how-to link URL to WriteFreelyModel 2020-10-21 16:54:25 -04:00
5d59e180e7 [Mac] Add some spacing between lines in the editor 2020-10-21 16:03:20 -04:00
873d39eb5c [Mac] Make editor title field padding consistent with body
This applies the same changes from iOS. It is untested.
2020-10-21 16:02:31 -04:00
60ebdd2e3e Add some spacing between lines in the editor 2020-10-21 15:55:05 -04:00
Angelo Stavrow
2e38bcc42e
Merge pull request #99 from writeas/fix-share-link-after-moving-post
Fix share link after moving post
2020-10-21 15:41:14 -04:00
Angelo Stavrow
a2efef2f72
Merge pull request #100 from writeas/show-progressview-during-network-requests
Show ProgressView during network requests
2020-10-21 14:01:56 -04:00
d780be07c2 Make editor title field padding consistent with body 2020-10-21 12:44:22 -04:00
Angelo Stavrow
055caae5ab
Update README for latest info 2020-10-20 15:47:06 -04:00
Angelo Stavrow
945e748b98
Check for network connection before request, present alert on failure 2020-10-16 17:36:26 -04:00
Angelo Stavrow
a289e544b1
Do not disable networking buttons if hasNetworkConnection is false 2020-10-16 17:35:02 -04:00