Angelo Stavrow
3f424b399a
Improve offline experience ( #255 )
2023-10-23 17:15:41 -04:00
Angelo Stavrow
73d219d0ec
Handle undo of edited posts ( #251 )
2023-07-23 07:19:52 -04:00
Angelo Stavrow
7863c2ba08
Add error handling to post editor
2022-05-28 09:23:16 -04: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
55d2659448
Use collection.url rather than server + collection alias in share sheets
2021-03-18 15:43:12 -04:00
Angelo Stavrow
e68030ec71
Improve a11y labels on post editor menu
2020-12-30 14:49:07 -05:00
Angelo Stavrow
34c2cd181e
Add a11y features to post editor context menu
...
Adding an .onTapGesture modifier here to dismiss the keyboard removes focus from whatever textview is active in the post editor, which prevents VoiceOver from getting confused about which accessibility frame should be read.
2020-12-30 10:39:48 -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
efae5202f8
Merge branch 'main' into fix-crash-on-launch
2020-11-04 14:18:44 -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
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
3134965b2c
Add (dynamic) line spacing back to post body editor
2020-10-28 13:23:41 -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
60ebdd2e3e
Add some spacing between lines in the editor
2020-10-21 15:55:05 -04:00
d780be07c2
Make editor title field padding consistent with body
2020-10-21 12:44:22 -04:00
Angelo Stavrow
a289e544b1
Do not disable networking buttons if hasNetworkConnection is false
2020-10-16 17:35:02 -04:00
Angelo Stavrow
1feeed7354
Publish isProcessingRequest flag to switch ProgressView with Button
2020-10-16 16:19:38 -04:00
Angelo Stavrow
9e48f75717
Merge branch 'main' into add-collection-setting-menu
2020-10-12 09:15:24 -04:00
Angelo Stavrow
987be06d7f
Use 'Anonymous' instead of 'Drafts' for Write.as accounts
2020-10-08 16:24:35 -04:00
Angelo Stavrow
48625d4091
Comment out the Delete option in the menu (to-do in #46 )
2020-10-08 15:29:06 -04:00
Angelo Stavrow
e3e0784f92
Implement publish-to-collection for local drafts
2020-10-08 14:46:19 -04:00
Angelo Stavrow
44f03b59d5
Add move(post:from:to:) method to WriteFreelyModel
2020-10-08 12:05:10 -04:00
Angelo Stavrow
b216b576c8
Set up UI for editor menu and changing collection
2020-10-07 17:50:38 -04:00
Angelo Stavrow
3e543108fb
Only update post status if we're not updating from the server
2020-10-06 14:26:57 -04:00
Angelo Stavrow
a34a70fc81
Remove force-unwrapping of optionals in generating shared URL string
2020-10-01 14:28:30 -04:00
Angelo Stavrow
e735e7a3d1
Open the settings screen on publish if not logged in [iOS only for now]
2020-09-29 15:35:32 -04:00
Angelo Stavrow
776f1ed3ed
Fix crashing bug on iPad and macOS when removing blank posts
2020-09-29 12:39:19 -04:00
Angelo Stavrow
bc4c43f40c
Move server-update warnings from toolbar on iOS
2020-09-29 12:35:51 -04:00
Angelo Stavrow
25c1009136
Implement share popover for iPad
2020-09-29 10:46:01 -04:00
Angelo Stavrow
eb83b0418c
Implement basic share feature
2020-09-28 17:29:04 -04:00
Angelo Stavrow
9e291af377
Add share button next to publish button on iOS
2020-09-28 17:28:34 -04:00
Angelo Stavrow
8e4957a389
Delete blank/untouched local draft from store when leaving editor
2020-09-24 16:17:56 -04:00
Angelo Stavrow
44fd09aa33
Clear lastDraft if selectedPost has published status
2020-09-24 14:13:32 -04:00
Angelo Stavrow
70189a6193
Set lastDraft if post status changes to edited (or local)
2020-09-23 16:16:18 -04:00
Angelo Stavrow
aa1fddce92
Make .onDisappear conditional more reliable
2020-09-23 14:36:52 -04:00
Angelo Stavrow
10fc24d66a
Split PostEditorView into iOS and macOS counterparts
2020-09-22 16:18:00 -04:00