Commit Graph

70 Commits

Author SHA1 Message Date
Angelo Stavrow
3f11bf1ff1
Credit for MacEditorTextView 2020-12-18 15:11:13 -05:00
Angelo Stavrow
022792e7f4
Enable undo in MacEditorTextView 2020-12-18 14:58:09 -05:00
Angelo Stavrow
725ff2eed9
Merge branch 'main' into add-help-tooltips 2020-12-18 11:54:22 -05:00
Angelo Stavrow
8a36de2b51
Merge branch 'main' into add-move-post-ui 2020-12-18 11:14:58 -05:00
Angelo Stavrow
554ca83014
Only show logged-in requirement if logged out 2020-12-18 10:23:52 -05:00
Angelo Stavrow
c4e9089e76
Remove unimplemented menu commands 2020-12-17 11:15:23 -05:00
Angelo Stavrow
96472c2604
Add copy-published-post-link to Post command menu 2020-12-16 14:25:56 -05:00
Angelo Stavrow
6164ceeb99
Add PostCommands menu to Mac app 2020-12-16 11:35:40 -05:00
Angelo Stavrow
851a0b6465
Open app prefs window if not logged in on publish 2020-12-15 15:10:26 -05:00
Angelo Stavrow
f52fae335b
Present publish-to menu for new local posts 2020-12-15 14:53:18 -05:00
Angelo Stavrow
82dbaba32b
Adjust spacing between post-related toolbar items 2020-12-15 13:33:22 -05:00
Angelo Stavrow
9b7fab4370
Add picker to toolbar for moving non-local posts 2020-12-14 14:09:49 -05:00
Angelo Stavrow
4ec81ccfbf
Add help tooltips to the toolbar buttons. 2020-12-11 16:16:43 -05:00
Angelo Stavrow
9aa582dd65
Hide unnecessary popover frame as much as possible 2020-12-11 15:59:47 -05:00
Angelo Stavrow
7e6997a821
Reset isPresented binding after dismissing picker 2020-12-11 15:26:40 -05:00
Angelo Stavrow
c99df92c6b
Don’t present share service picker twice 2020-12-11 15:07:27 -05:00
Angelo Stavrow
b8bbfbb208
Show sharing service picker on button press 2020-12-11 14:44:20 -05:00
Angelo Stavrow
2a2628d9e4
Add PostEditorSharingPicker for Mac app 2020-12-11 11:45:11 -05:00
Angelo Stavrow
43088fdc44
Swap order of share and publish buttons in toolbar 2020-12-01 10:01:56 -05:00
Angelo Stavrow
1c9ca05527
Move clear-last-draft call to PostEditor.onDisappear 2020-11-27 16:25:49 -05:00
Angelo Stavrow
3114d037b3
Refactor active-post toolbar buttons into extracted view 2020-11-27 11:02:18 -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
3c501cf67d
Merge pull request #143 from writeas/integrate-maceditortextview
Make the post editor first responder on blank new posts
2020-11-24 14:53:42 -05:00
Angelo Stavrow
2e56d62ea8
Implement line spacing on post 2020-11-24 14:35:49 -05:00
Angelo Stavrow
e884a90582
Clean up print statements and setting fonts 2020-11-23 14:58:51 -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
486b2ce0fe
Implement post status change detection 2020-11-23 14:37:13 -05:00
Angelo Stavrow
c2e124de31
Render post in correct font 2020-11-23 14:13:15 -05:00
Angelo Stavrow
99551b9a1d
Make first responder only if this is a blank new post 2020-11-23 12:14:21 -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
ba64716840
Initial integration of MacEditorTextView into post editor 2020-11-23 11:18:03 -05:00
Angelo Stavrow
d333049cac
Add tweaked MacEditorTextView to project 2020-11-23 10:52:19 -05:00
Angelo Stavrow
0845a56386
Set name to be shown in Menu bar 2020-11-11 16:18:46 -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
a0dfe880a6
Merge branch 'set-default-font' into local-posts-present-remote-deletion-prompt 2020-09-24 15:15:32 -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