Commit Graph

678 Commits

Author SHA1 Message Date
Angelo Stavrow
5dc5108354
Add "Visit Support Forum" item to Help menu 2020-12-03 08:21:50 -05:00
Angelo Stavrow
fb5255cb04
Clean up SwiftLint warning with multiline string literal 2020-12-01 16:23:15 -05:00
Angelo Stavrow
bcf496e15d
Listen for shift-key on launch to run debug code 2020-12-01 16:17:53 -05:00
Angelo Stavrow
b987ab703f
Merge pull request #144 from writeas/overhaul-toolbar-on-mac
Overhaul toolbar on Mac app
2020-12-01 11:36:52 -05:00
Angelo Stavrow
eff423f79e
Change "Reload From Server" File menu item to read "Refresh Posts" 2020-12-01 11:24:55 -05:00
Angelo Stavrow
43088fdc44
Swap order of share and publish buttons in toolbar 2020-12-01 10:01:56 -05:00
Angelo Stavrow
68fd0c91e7
Make cancel the default action in the delete-confirmation alert 2020-12-01 09:58:04 -05:00
Angelo Stavrow
c1be327694
Use native SwiftUI SidebarCommands() for toggle-sidebar menu item 2020-12-01 09:55:11 -05:00
Angelo Stavrow
7902bff33d
Remove reload button from toolbar 2020-12-01 09:53:09 -05:00
Angelo Stavrow
24897aae93
Update menu item from "New Local Draft" to "New Post" 2020-12-01 09:38:46 -05:00
Angelo Stavrow
ccb342fbc5
Show alert instead of sheet on logout 2020-11-30 10:36:59 -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
28d3b6f831
Make sure to always clear the last draft when we unset the selectedPost 2020-11-26 17:01:33 -05:00
Angelo Stavrow
5dabe97db4
Restore alerts on Edit > Delete, no-network failure 2020-11-26 16:38:39 -05:00
Angelo Stavrow
b788994144
Save/load last draft per editor launching policy 2020-11-26 15:53:17 -05:00
Angelo Stavrow
8ff1de188b
Make adding and deleting posts more reliable/crashproof 2020-11-26 15:52:00 -05:00
Angelo Stavrow
5ca32ddcfc
Show prompt if there are server-side changes to post 2020-11-26 15:01:12 -05:00
Angelo Stavrow
7cb7fa3017
Use AppStorage dynamic property instead of direct UserDefaults update
Known issue: the menubar File > Reload From Server command will not update based on changes to model.account.isLoggedIn, but instead defaults to whatever the value was on app launch. Filed as FB8918303 with Apple.
2020-11-26 12:05:20 -05:00
Angelo Stavrow
7398c1d3cf
Implement basic publishing 2020-11-25 16:06:52 -05:00
Angelo Stavrow
acde0c8978
Add toolbar button logic, menu item, keyboard shortcut for server reload 2020-11-25 15:10:22 -05:00
Angelo Stavrow
735867a940
Add new-post logic to toolbar button and menu, fix broken iOS code 2020-11-25 14:41:53 -05:00
Angelo Stavrow
1e432c6adb
Fix spacing when collapsing sidebar, add other buttons to toolbar 2020-11-25 14:11:57 -05:00
Angelo Stavrow
39ae839052
Add toolbar button and menu entry to toggle sidebar 2020-11-24 15:35:26 -05:00
Angelo Stavrow
1215a1727a
Remove PostListView toolbar (new post and reload from server) 2020-11-24 15:24:08 -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
5bfe2bc84b
Merge pull request #138 from writeas/fix-name-of-mac-app
Fix name of Mac app
2020-11-24 14:42:18 -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
076df6d5a0
Update change log for iOS release 2020-11-18 10:40:23 -05:00
Angelo Stavrow
d8794e6810
Update change log and bump build number 2020-11-13 15:17:57 -05:00
Angelo Stavrow
6d8422c5f9
Merge pull request #140 from writeas/fix-cursor-jump-bug
Only update the textView if it doesn't match text binding
2020-11-13 15:03:26 -05:00
Angelo Stavrow
088e5924a1
Only update the textView if it doesn't match text binding 2020-11-13 13:36:50 -05:00
Angelo Stavrow
7fc0f87bd0
Set dock name to "WriteFreely for Mac" 2020-11-11 16:22:51 -05:00
Angelo Stavrow
0845a56386
Set name to be shown in Menu bar 2020-11-11 16:18:46 -05:00
Angelo Stavrow
539597bd5a
Fix link in README 2020-11-11 12:11:05 -05:00
Angelo Stavrow
45386b66c3
Update change log and bump build number 2020-11-11 11:48:49 -05:00
Angelo Stavrow
3fad7f38d2
Merge pull request #125 from writeas/fix-cursor-jump-to-end-of-post-body
Fix cursor jump to end of post body
2020-11-11 11:34:49 -05:00
Angelo Stavrow
3b31f36a03
Fix bug with placeholder text not disappearing 2020-11-11 10:36:32 -05:00
Angelo Stavrow
93e055d12f
Merge pull request #121 from writeas/use-content-if-post-has-no-title
Use content if post has no title
2020-11-11 09:34:49 -05:00
Angelo Stavrow
889faf9351
Don't extract lede if the incoming string is empty 2020-11-10 15:21:21 -05:00
Angelo Stavrow
29aacd589e
Merge pull request #124 from writeas/fix-false-positive-on-login
Present error alert if token is invalid and ensure user is logged out
2020-11-10 15:13:23 -05:00