-
Notifications
You must be signed in to change notification settings - Fork 638
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
FR: Config to disable auto draft saving #4500
Comments
The auto save also triggers |
You can check if an element is a draft or revision from your event with this condition: if (!\craft\helpers\ElementHelper::isDraftOrRevision($element)) {
// ...
} |
Can't agree more. Please simply add an option to disable the current auto-saving so we can upgrade to 3.2 and use other features. The current auto-saving implementation creates too many unnecessary wastes.
Craft Version: 3.2.2 |
Personally I don't mind draft saving, if it was fast/instant. But the issue we face is often the page could take something like 20 or more seconds to save the draft, I dont know why, but the actual Update button does not appear until thats complete for us to actually save the live version, at which point its another 20 seconds or so. So for us the draft is causing frustrating delays and so we would like to disable it. Sometimes the draft saves quick, maybe a few seconds, and so its not so bad. If our long saving continues I may look into the reasons for that as opposed to disabling draft, but until then, disabling draft would speed up our process. Our customer also wants it disable. He, like us, have a habit of saving often so we are OK to not have it whilst it has a visible and time impact. |
See here, they are changing the code to disable the auto draft saving. Hope they can make a release soon. |
Yeah we’ve removed draft auto-creation in Craft 3.2.3 (just released). See more details here: #4535 (comment) Drafts can still be manually created, and drafts do still get autosaved, but I assume this request is more about wishing to disable the draft auto-creation than ongoing draft autosave, so going to close it. |
@brandonkelly you rock!! |
Description
Feature request to disable auto saving of entries to a draft in background. When making changes to an entry i now notice a draft gets produced in the background and a spinner indicates changes are being saved. Would like a config option to disable this.
I notice that in some environments the "Update Entry" button does not always disable when a draft is saving in the background and causes issues if the user clicks on "Update Entry" before the draft finishes saving.
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: