Skip to content

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

Merged
Soju06 merged 3 commits intoSoju06:mainfrom
stemirkhan:feat/show-api-key-account-availability
Apr 21, 2026
Merged

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

Conversation

@stemirkhan
Copy link
Copy Markdown
Contributor

@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
Copy link
Copy Markdown
Owner

@Soju06 Soju06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice UX improvement — surfacing 5h/7d availability in the assigned-accounts picker is genuinely useful and stays scoped to the picker component without API contract changes.

  • Frontend + openspec only; reuses existing account summary data
  • Tests cover the new picker behavior
  • No collisions with recently merged #421
  • CI 18/18 green

Merging into the v1.13.2 batch.

@Soju06 Soju06 merged commit 81804ab into Soju06:main Apr 21, 2026
18 checks passed
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.

2 participants