Skip to content

feat(ai-accounts): compact single-line quota rows - #935

Merged
kittors merged 1 commit into
devfrom
feat/antigravity-compact-quota-card
Aug 20, 2026
Merged

feat(ai-accounts): compact single-line quota rows#935
kittors merged 1 commit into
devfrom
feat/antigravity-compact-quota-card

Conversation

@kittors

@kittors kittors commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Panel half. Pairs with kittors/CliRelay#915 โ€” merge that one first.

Before / after

Each quota used two lines โ€” a label row, then a separate track underneath:

โฑ Gemini Pro                    100%
โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“
                    ไปŠๅคฉ 20:17 ้‡็ฝฎ

Now one line, with the fill as the row's own background:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Gemini Pro โ“˜    โฑ 4h58m     100%  โ”‚   โ† fill = background
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Same information, half the height, and the percentages line up in a column you can scan instead of hopping between rows. The countdown moves inline from the detail row it used to occupy, which is what freed the second line.

This follows the layout Antigravity-Manager uses for its own quota list โ€” a 22px row where the bar is the background and label / countdown / percentage share the line.

Antigravity labelling

Rows carry the family name straight from the backend again โ€” Gemini Pro, Gemini Flash, Gemini Image, Claude, and any unclassified model under its own name.

The backend now measures each family from one representative model, so the โ“˜ says which model the number came from. An aggregate had no honest answer to that: it mixed models sitting on different reset cycles.

"N ไธชๆจกๅž‹ๅ…ฑไบซ" is gone. It described the data correctly and told the reader nothing โ€” a bucket count is an internal detail, not something to hand to someone checking whether they have quota left. That was my mistake, not a requirement.

Accounts that can read the grouped summary still show the upstream's own group names with both windows.

Verification

Full suite green: 167 files / 1233 tests. tsc, oxlint and all four structure gates pass.

๐Ÿค– Generated with Claude Code

The card gave each quota two lines โ€” a label row and a separate track
below it โ€” so five quotas filled the card and the numbers sat far from
the names they belonged to. Reading down a column meant hopping between
rows.

Each quota is now one line: the fill is the row's own background rather
than a track underneath, and the label, countdown and percentage share
it. Same information, half the height, and the numbers line up in a
column you can scan.

The countdown moves inline from the detail row it used to occupy, which
is what freed the second line.

Antigravity rows carry the family name straight from the backend again.
That view now measures each family from one representative model, so the
hint says which model the number came from โ€” an aggregate had no honest
answer to that question, since it mixed models on different reset cycles.

The previous "N ไธชๆจกๅž‹ๅ…ฑไบซ" labelling is gone. It described the data
correctly and told the reader nothing: a bucket count is an internal
detail, not something to hand to someone checking whether they have
quota left.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@kittors
kittors merged commit 9a11f82 into dev Aug 20, 2026
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.

1 participant