Skip to content

[Tagging] Delete a taxonomy #127

@bradenmacdonald

Description

@bradenmacdonald

"As a global staff user (instance-level super admin), I can delete a taxonomy."

Acceptance Criteria

  1. Global staff users will see this "Delete" menu for non-system taxonomies on the Taxonomy List Page:
    Screenshot 2023-09-22 at 10 11 11 AM
  2. And the same option can be accessed from the Taxonomy Detail Page:
    Screenshot 2023-09-22 at 10 16 03 AM
  3. Clicking that option will reveal this confirmation dialog:
    Screenshot 2023-09-22 at 10 11 25 AM
  4. The "Delete" button will be disabled until/unless users type "DELETE" in the field.
  5. Once users click "Delete", the taxonomy will be deleted and a toast shown. If they were on the Taxonomy Detail Page, they are redirected to the Taxonomy List Page.
    Screenshot 2023-09-22 at 10 12 21 AM
  6. Implementing "Undo" as seen above is not required (out of scope). That may come later in [Tagging] Implement Undo framework for taxonomies and tagging #135.

Developer Notes

  • Screenshots above are for convenience - Figma is the most up-to-date source for mockups. The scale of UI elements seen in the screenshots above may be incorrect.
  • As always, make sure the whole process can be done using only a keyboard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions