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
1397009a8a
Merge pull request #150 from writeas/show-progressview-during-network-request
...
Show ProgressView during network request
2020-12-11 09:47:45 -05:00
Angelo Stavrow
0365874ed1
Merge branch 'main' into show-progressview-during-network-request
2020-12-11 09:47:33 -05:00
Angelo Stavrow
7a86da92a2
Merge pull request #151 from writeas/improve-new-post-reliability
...
Improve new-post reliability
2020-12-11 09:40:36 -05:00
Angelo Stavrow
d9b885e3f4
Merge pull request #149 from writeas/fix-crash-on-collection-change
...
Use published properties for selectedCollection and showAllPosts
2020-12-10 16:19:19 -05:00
Angelo Stavrow
c826806bc1
Ensure we’re setting the model object’s properties
2020-12-08 15:08:49 -05:00
Angelo Stavrow
246d3948a9
Show blog name badge in All Posts list
2020-12-08 11:55:32 -05:00
Angelo Stavrow
a5ab2182eb
Overlay ProgressView on post list while processing network requests
2020-12-07 15:15:49 -05:00
Angelo Stavrow
709a654528
Reset selectedCollection/showAllPosts when dismissing PostListView
2020-12-07 12:03:45 -05:00
Angelo Stavrow
a0b1218473
Use published properties for selectedCollection and showAllPosts
2020-12-04 17:08:32 -05:00
Angelo Stavrow
c87309d6b0
Merge pull request #145 from writeas/fix-ui-for-log-out-alert
...
Show alert instead of sheet on logout
2020-12-03 12:14:15 -05:00
Angelo Stavrow
30ec1581ea
Merge pull request #148 from writeas/add-a-support-link-to-the-help-menu
...
Add "Visit Support Forum" item to Help menu
2020-12-03 12:12:55 -05:00
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