Commit Graph

106 Commits

Author SHA1 Message Date
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
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
Angelo Stavrow
7599d7bf2c
Add OS acknowledgements to macOS app 2020-09-18 15:48:05 -04:00
Angelo Stavrow
4058985709
Fix font resource path for Mac target 2020-09-18 11:30:13 -04:00
Angelo Stavrow
41eba71e39
Add font files to project 2020-09-18 10:59:59 -04:00
Angelo Stavrow
3e025a6bfe
Set display name to "WriteFreely", bump version and build numbers 2020-09-11 16:30:29 -04:00
Angelo Stavrow
dbe83ef3c5
Update project for beta 5 2020-08-20 11:26:10 -04:00
Angelo Stavrow
0254d9dbb9
Add macOS Sandbox entitlements 2020-08-19 11:35:39 -04:00
Angelo Stavrow
0c20fea0e6
Refactor login/logout to implement WriteFreely package 2020-08-18 17:21:00 -04:00
Angelo Stavrow
e2efecb210
Refactor macOS/SettingsView tab view into MacAccountView 2020-08-12 10:36:49 -04:00
Angelo Stavrow
dfbbed12f8
Refactor preferences tab into MacPreferencesView 2020-08-12 10:36:10 -04:00
Angelo Stavrow
264298160b
Implement color scheme switching on Mac app 2020-08-11 17:03:17 -04:00
Angelo Stavrow
b787e34012
Adopt PreferencesModel for implementing light/dark mode switch (in iOS) 2020-08-11 14:32:45 -04:00
Angelo Stavrow
35f4762b35
Improve appearance of settings views between platforms 2020-08-10 14:30:23 -04:00
Angelo Stavrow
8f9d1746fb
Refactor PreferenceView to punt Form/Section up to SettingsView 2020-08-10 13:51:07 -04:00
Angelo Stavrow
93a10e27dd
Rename Account and Settings views and move to Shared code 2020-08-10 10:39:44 -04:00
Angelo Stavrow
8870d2ff38
Add an account login view for testing 2020-08-07 16:31:13 -04:00
Angelo Stavrow
0bf89b4cff
Add a non-functional preferences view with a RadioGroupPicker 2020-08-07 16:30:39 -04:00
Angelo Stavrow
fb7c188ca0
Create a two-tab settings view for macOS 2020-08-07 16:30:09 -04:00
Angelo Stavrow
b9dced1da0
Initial Commit 2020-07-22 09:57:10 -04:00