Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Auto-save functionality #83

Open
cb-fumix opened this issue May 22, 2023 · 0 comments · May be fixed by #97
Open

Implement Auto-save functionality #83

cb-fumix opened this issue May 22, 2023 · 0 comments · May be fixed by #97
Assignees

Comments

@cb-fumix
Copy link
Contributor

In order to lose progress when writing articles, content should always be saved in the background.

  • Every post should have an autosaved shadow copy that is constantly saved alongside the currently manually saved version (if any)
  • Shadow copies are always removed when a user manually saves the post.
  • If an autosaved shadow copy is available and diverges from the currently persisted main post, a user has the option to restore the shadow copy and continue working with it.
  • Autosaved shadow copies are never publicly or otherwise viewable, unless they are restored and then manually saved.
  • There can only be one autosave per post, concurrent usage can overwrite any previously autosaved copies.
  • Change "draft" checkbox and "cancel/save" button to "Cancel", "Save as draft", "Publish" -> "Cancel" leaves the edit window, autosaving. "Save as draft" saves a post as a draft and removes any shadow copy. "Publish" saves and publishes (draft=false) post and also removes any shadow copy.
@cb-fumix cb-fumix self-assigned this May 24, 2023
@floscher floscher linked a pull request Jun 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant