Option to "discard" changes for new unsaved entry #11482
-
For the scenario where you create a new entry, click into the title field and then navigate away from the entry edit page (resulting in an unintended "untitled entry" from being created) - would it make sense to display the "discard" button which when clicked prevents the "untitled entry" from being created? This would prevent entries from being created unintentionally and save an extra couple of steps (if you chose to remove the entry) of having to select the entry in the entries listing page and then click on the dropdown to select the "delete" option. While I am still not a fan of the way the "discard" button reveals itself and shifts the edit form interface down, it makes sense to me from a consistency and functional perspective to display it in this use case. I appreciate this means that the "discard" button would then get displayed every time a new entry was created (and the edit form interacted with), but maybe this would also encourage further consideration for how this functionality could be improved so it achieves its goal of drawing attention to the fact that changes are not saved, aids the author with the option to discard their changes but does not disrupt the authoring flow in the process. On the flip side for venteran authors would are fully aware their changes are unsaved (don't need to be reminded) and have no intention to discard them, the shifting edit form, while a minor quibble is respectfully a point of frustration. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This would be inconsistent with how the Discard buttons currently work. They currently only discard any unsaved changes to the entry, whereas in this case it would end up deleting the entire entry. I suspect many people would end up losing content if they pressed it for an unpublished draft, thinking only their most recent changes would be discarded. Plus, there’s already a quick way to delete an unpublished draft if you decide you didn’t want to keep it: the “Delete draft” action, which lives in the exact same place that “Delete entry” lives for fully saved entries.
To clarify, the entry should only get autosaved once you’ve actually made a change to it. If it’s getting autosaved simply by clicking on the Title field (and nothing more), that would be a bug worth looking into separately. |
Beta Was this translation helpful? Give feedback.
This would be inconsistent with how the Discard buttons currently work.
They currently only discard any unsaved changes to the entry, whereas in this case it would end up deleting the entire entry. I suspect many people would end up losing content if they pressed it for an unpublished draft, thinking only their most recent changes would be discarded.
Plus, there’s already a quick way to delete an unpublished draft if you decide you didn’t want to keep it: the “Delete draft” action, which lives in the exact same place that “Delete entry” lives for fully saved entries.