Skip to content

Add confirmation step when deleting a Template #47225

Closed

Description

@hanneslsm

What problem does this address?

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.

image

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.

Activity

  1. added
    [Type] Enhancement
    [Block] Template Part
    on Jan 18, 2023
  2. added
    Needs Design Feedback
    on Jan 19, 2023
  3. richtabor commented on Apr 28, 2023

    @richtabor
    Member

    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.

    CleanShot 2023-04-28 at 18 02 30

  4. jameskoster commented on Jun 19, 2023

    @jameskoster
    Contributor

    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.

  5. self-assigned this
    on Jul 3, 2023
  6. added
    [Status] In Progress
    on Jul 3, 2023
  7. removed
    [Status] In Progress
    on Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Needs Design Feedback[Block] Template Part[Type] Enhancement

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions