Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Motivation: UX
When the user is editing a draft and want to discard it, he is attracted to use the delete button in form. This causes the removal of full content of that node. And not only that revision.
So it would be interesting if there was a "Discard draft" button on the form so that only one revision is discarded.
Comment | File | Size | Author |
---|---|---|---|
#7 | workbench_moderation-discard_draft-2575171-7.patch | 5.74 KB | tregismoreira |
#4 | workbench_moderation-discard_draft-2575171-3.patch | 10.71 KB | luizhcanetfilho |
Comments
Comment #2
luizhcanetfilho CreditAttribution: luizhcanetfilho commentedComment #3
luizhcanetfilho CreditAttribution: luizhcanetfilho commentedHere is a patch that Provides a Discard action button in draft edition for published content. It reverts the published revision keeping the draft in revision list.
Comment #4
luizhcanetfilho CreditAttribution: luizhcanetfilho commentedComment #5
luizhcanetfilho CreditAttribution: luizhcanetfilho commentedComment #6
tregismoreira CreditAttribution: tregismoreira commentedThis is a great feature request. The patch works sweetly ;)
Thanks!
Comment #7
tregismoreira CreditAttribution: tregismoreira commentedHere's a patch to make it work for branch 3.x (since the branch 1.x isn't supported anymore).