Service Tokens Page Restyled
The Service Tokens page and its create dialog are now built from the same components as the rest of the dashboard, which also fixes the rounded corners and panel backgrounds that were missing from them.
#What's Changed
- [Fix] Requests made with a service token showed up in project logs as "Anonymous Request" and "Unauthenticated", even though the token had authenticated. The logs table and the inspection drawer now name the token that made the request, label it as a service token rather than a person, and show its token ID so you can match it to the Service Tokens page.
- [Fix] The Service Tokens page referenced colour and radius variables that do not exist in the theme, so its panels rendered with square corners and no background. It now uses the dashboard's own tokens and matches every other project page in both light and dark mode.
- [Improvement] The page adopts the standard settings panel — heading, list rows, and a footer holding the primary action — so it reads and behaves like Team Members, Vault Encryption and the CLI connections list rather than a one-off layout.
- [Improvement] Token rows now collapse properly on narrow screens, with a full-width Revoke button, and stay readable at intermediate widths. An expiry date months away sits quietly with the rest of the token's details; only a token expiring within a week, or already expired, is promoted to a coloured badge.
- [Improvement] The create dialog uses the standard form controls, permission cards and button variants. On the one-time reveal, copying moved from a button beside the label to an icon inside the token field itself, which is where you are already looking when you go to copy it.