Skip to content

[UI] Add a delete action in roles, clients, secrets, hooks views #2393

@helfi92

Description

@helfi92

Feature initially proposed in #2386 (comment).

Describe the bug
In order to delete something from (e.g., https://community-tc.services.mozilla.com/auth/roles), a user needs to click on the role to delete, then click/hover on the triple dot fab button on the lower right then click on "Delete". That's a lot of clicks that we can perhaps avoid by having the list of hooks show a delete icon beside the name.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://community-tc.services.mozilla.com/auth/roles

Expected behavior
A delete icon is shown beside each role. Clicking on the delete icon should behave the same way as the one in the speed dial (triple dots). In other words, it should first show a confirmation dialog prior to performing the actual delete.

Taskcluster version
v24.3.0

Additional context
Once we have a good idea about the implementation, we'll probably need to do the same on the following views:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions