Closed
Description
Problem to solve
Currently, API Tokens are mixed with other user settings like Environment Variables, Notifications, etc.
This is part of #3300. 🍕
User Experience goal
The user should be able to create and delete API Tokens for their account.
Proposal
In this first MVC (minimum viable change), we can do the following:
- Introduce a dedicated page for creating and deleting API Tokens.
- Rename API Tokens to Access Tokens to make it friendlier to the user but also clarify these are Personal Access Tokens (PATs). /cc @AlexTugarev
- Show a modal dialog to prompt the user for a token name.
- Once the token is generated provided a button to copy the token to clipboard.
- Allow users to delete generated tokens from the tokens list.
Components involved:
- Text Field
- Button
- Modal
Designs
Section | Spacing |
---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Created | Copy | Copied |
---|---|---|
![]() |
![]() |
![]() |
See also design specs.
Documentation
No documentation changes are needed for this first iteration.