Closed
Description
Problem to solve
Following up from the ongoing efforts to ship the first MVC iteration of the personal access tokens feature in #14280 we had to cut some corners, leading to some UX debt around page layout and flow.
This issue acts as a placeholder follow-up issue for most UX nitpicks that had slipped between the cracks. Please, append any other UX issues or open separate issues if it helps to keep the change scope small or the discussion separate.
See relevant comments in #14934 (comment), #14899 (review), #14936 (review), etc. Cc @easyCZ
- 1. Align tokens more actions menu button to the right, see screenshots below.
- 2. Use proper padding for the created and regenerated labels, see screenshots below.
- 3. Additionally, this could ideally use the
PillLabel
component. - 4. On new token creation, submit on enter.
- 5. On new token creation, remove the trailing empty navigation elements, see screenshot below.
- 6. On edit token form, remove the trailing empty navigation elements, see screenshot below.
- 7. On new token creation, limit the error alert width, see screenshot below.
- 8. On created token, replace the dot with the middot HTML character as used in other product areas.
- 9. On created token, update the date font weight so that not everything is using a strong font weight.
- 10. On created token, use the same notation we use for dates as everywhere like Dec 28, 2022 not December 28, 2022.
- 11. On the token list, use the same notation we use for dates as everywhere like Dec 28, 2022 not Mon Dec 28 2022_.
- 12. Add regeneration action for the token in the more actions menu.
The following are deferred into #15100:
- Send email to user when they've successfully created or regenerated a token.
- Send email to user when a token is expiring soon or has expired.
Variables ✔️ | Integrations ✔️ | Tokens :X: |
---|---|---|
![]() |
![]() |
![]() |
Label padding ✔️ | Label padding ❌ |
---|---|
![]() |
![]() |
Trailing element on new token | Trailing element on edit token |
---|---|
![]() |
![]() |
Error alert on new token form |
---|
![]() |
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done