Add which personal access token is deleted when pressing the bin

Proposal

When deleting a Personal Access Token it asks you:

Are you sure you want to revoke this personal access token? This action cannot be undone.

I would like it if it said the title of the token being deleted, like so:

Are you sure you want to revoke the personal access token "Foo Bar"? This action cannot be undone.

Screenshot_2023-07-31_at_13.52.47

Screenshot_2023-07-31_at_13.56.36

This is especially awkward because you don't want to mess this up when:

  • You have many tokens and want to be very sure you delete the right token
  • You are impersonating bot accounts with many personal access tokens
  • You are not sure if you misclicked so you exit the modal and open it again

Reproduction

  1. https://gitlab.com/-/profile/personal_access_tokens
  2. Create new token
  3. Delete it
  4. Confirm modal