Add personal access token confirm rotate/revoke modals

What does this MR do and why?

On the logged-in user -> User settings -> Personal access tokens page, a table of created tokens is shown. We are redesigning this table. In previous MRs, we added the redesigned table and a details drawer, but the Rotate and Revoke actions weren't wired up to do anything yet:

Table actions Details drawer actions
ksnip_20251103-104935 ksnip_20251103-104953

This MR wires up the buttons so that clicking on them will show a confirm modal, and then perform the action if the modal is confirmed:

Rotate modal Revoke modal
ksnip_20251103-110242 ksnip_20251103-110252

How to set up and validate locally

Enable the fine_grained_personal_access_tokens feature flag and follow the below video guide:

2025-11-03_12-36-44

Related to #571674 (closed)

Edited by Daniel Tian

Merge request reports

Loading