Skip to content

feat(api-keys): show assigned account availability in picker#422

Open
stemirkhan wants to merge 3 commits intoSoju06:mainfrom
stemirkhan:feat/show-api-key-account-availability
Open

feat(api-keys): show assigned account availability in picker#422
stemirkhan wants to merge 3 commits intoSoju06:mainfrom
stemirkhan:feat/show-api-key-account-availability

Conversation

@stemirkhan
Copy link
Copy Markdown

@stemirkhan stemirkhan commented Apr 16, 2026

Summary

  • show status, plan, and remaining 5h/7d availability in the API key edit dialog's Assigned accounts picker
  • keep the picker concise by omitting model-specific additional quota badges
  • add frontend test coverage and an OpenSpec change for the new picker behavior

Why

Operators can already scope an API key to assigned accounts, but the picker only showed identity before this change. Surfacing the base 5h/7d availability in the picker makes account selection faster without forcing a context switch back to Dashboard or Accounts.

Screenshot

Assigned accounts availability picker

Testing

  • cd frontend && npx -y node@20 ./node_modules/vitest/vitest.mjs run src/features/api-keys/components/account-multi-select.test.tsx src/features/api-keys/components/api-key-edit-dialog.test.tsx
  • export PATH=/home/temirkhan/.local/bin:$PATH && openspec validate --specs

Notes

@stemirkhan stemirkhan changed the title [codex] show assigned account availability in picker show assigned account availability in picker Apr 16, 2026
@stemirkhan stemirkhan changed the title show assigned account availability in picker feat(api-keys): show assigned account availability in picker Apr 16, 2026
@stemirkhan stemirkhan marked this pull request as ready for review April 16, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant