You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add confirmation step when deleting a Template #47225
This is a duplicate of #39124 for deleting a Template.
There is currently no undo affordance.
Also, there is currently no confirmation step when deleting a Template, which I propose.
What is your proposed solution?
Option a) A modal where the user is asked, if they are sure they want to (permanently?) delete the Template.
Option b) Add Undo Notification.
Option c) Move the Template to a Trash/Bin/Archive section from where the user then can permanently delete the Template.
The following modal appears if you delete a page in the site editor:
In the interest of consistency it might make most sense to re-use that pattern?
A undo affordance would be nice to have if technically trivial to implement. But I don't know that it's 100% necessary – the modal alone probably gives ample opportunity to cancel the operation? For reference, deleting a page doesn't currently offer an undo option.
Activity
richtabor commentedon Apr 28, 2023
Agreed, its a bit destructive to not have a method for undoing.
There should probably be an undo action added to the snackbar that appears when deleting the template.
jameskoster commentedon Jun 19, 2023
The following modal appears if you delete a page in the site editor:
In the interest of consistency it might make most sense to re-use that pattern?
A undo affordance would be nice to have if technically trivial to implement. But I don't know that it's 100% necessary – the modal alone probably gives ample opportunity to cancel the operation? For reference, deleting a page doesn't currently offer an undo option.