Skip to content

feat(management): add per-card manual refresh button for Kiro credit - #5

Merged
TwinXu merged 1 commit into
TwinXu:mainfrom
lican-dev:feat/kiro-credit-manual-refresh
May 22, 2026
Merged

TwinXu merged 1 commit into
TwinXu:mainfrom
lican-dev:feat/kiro-credit-manual-refresh

Conversation

@lican-dev

Copy link
Copy Markdown

Render a small refresh icon next to each Kiro card's Credit Used line so the user can re-query a single account's quota on demand. Reuses getKiroQuota() (with its 401/403 backoff) and adds an inflight flag in quotaState to debounce double clicks. Listens via a single capture-phase click delegate so the button isn't swallowed by other card click handlers.

Render a small refresh icon next to each Kiro card's Credit Used line
so the user can re-query a single account's quota on demand. Reuses
getKiroQuota() (with its 401/403 backoff) and adds an inflight flag in
quotaState to debounce double clicks. Listens via a single capture-phase
click delegate so the button isn't swallowed by other card click
handlers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@TwinXu
TwinXu merged commit 6eb63b3 into TwinXu:main May 22, 2026
3 of 4 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