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

Add autosave to drafts feature #757

Merged
merged 5 commits into from
May 18, 2024
Merged

Add autosave to drafts feature #757

merged 5 commits into from
May 18, 2024

Conversation

KuJoe
Copy link
Contributor

@KuJoe KuJoe commented May 18, 2024

This PR adds a feature that lets you automatically save new posts and pages to drafts, it does not automatically save edits and it does not automatically save any new posts/pages without any content written to avoid creating unnecessary draft files. A new config tab called "Writing" was added to allow admins to disable this feature on their entire site if they'd like.

@danpros Please review the portions about the config.ini changes and let me know if there is a better method for handling this and introducing new config settings in the future. Thanks!

Should resolve issues #535 and #722

KuJoe added 5 commits May 18, 2024 03:22
Added a feature to automatically save posts/pages every 60 seconds as a draft to avoid lost work. Includes a notification in the bottom right of the screen. Still needs a bit more work to avoid saving multiple drafts under different file names. Only auto saves for new posts/pages, not edits.
Autosaving now can be disabled in the config menu and only saves when the content field is not empty.
@danpros danpros merged commit ea7c3f8 into danpros:master May 18, 2024
@danpros
Copy link
Owner

danpros commented May 18, 2024

Thanks! This is really good.

This was referenced Jun 2, 2024
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 this pull request may close these issues.

2 participants