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
93c016268a
Add error handling to iOS post editor ( #210 ) ( #214 )
...
* Add error handling to post editor
* Cleanup
* Add error handling to macOS (#211 )
* Add error handling to Mac app
* Log fatal errors and present alert on next launch (#212 )
* 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
* Clean up todo comment
* Revert "Log fatal errors and present alert on next launch (#212 )"
This reverts commit 7475b57772
.
2022-07-28 07:38:19 -04:00
Angelo Stavrow
7db11172c0
Move user defaults to App Group
2021-11-05 14:18:36 -04:00
Angelo Stavrow
11ad3bc2ff
Use LocalStorageManager 'standard' singleton
2021-10-08 17:07:06 -04:00
Angelo Stavrow
1c9ca05527
Move clear-last-draft call to PostEditor.onDisappear
2020-11-27 16:25:49 -05:00
Angelo Stavrow
b788994144
Save/load last draft per editor launching policy
2020-11-26 15:53:17 -05:00
Angelo Stavrow
1a8ae1d4d3
Remove PostEditorView toolbar (post status badge and publish button)
2020-11-24 15:15:28 -05:00
Angelo Stavrow
2078eb7199
Conform to similar test as iOS app for showing server reload UI
2020-11-23 14:57:51 -05:00
Angelo Stavrow
c2e124de31
Render post in correct font
2020-11-23 14:13:15 -05:00
Angelo Stavrow
c655e628e1
Clean up SwiftLint warnings and add pseudo-placeholder text to editor
2020-11-23 11:59:01 -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
bd695b23e6
Remove anything that attempts to set selected post or last draft
2020-10-29 12:03:31 -04:00
Angelo Stavrow
a542afa405
Refactor text-editing views out of PostEditorView [Mac]
2020-10-23 16:01:37 -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
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
Angelo Stavrow
a289e544b1
Do not disable networking buttons if hasNetworkConnection is false
2020-10-16 17:35:02 -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
cf5f0fe4de
Open the preferences window on publish if not logged in [macOS]
2020-09-30 09:36:57 -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
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
f2743466eb
Remove iOS-specific code from macOS PostEditorView
2020-09-23 10:27:30 -04:00
Angelo Stavrow
10fc24d66a
Split PostEditorView into iOS and macOS counterparts
2020-09-22 16:18:00 -04:00