Repository navigation
Conversation
) Metric rows sized the figure and reset columns for the widest text that could ever show (52pt, and 56pt or 80pt for resets), so a short reading like "3%" with "4d" left a wide blank gap between the bar and the percentage. Each card now measures its widest label, figure and reset and every row shares those widths: the bar takes the rest, figures and resets stay aligned in both countdown and clock-time modes, and the pace mark still sits at its share of the wider track. Co-Authored-By: Claude Code <noreply@anthropic.com>
iqzap
requested review from
davidarny,
robinebers and
validatedev
as code owners
November 23, 2026 09:41
|
No configured credential can serve this run. Your ChatGPT subscription was rejected. Sign in again by running The providers' responses
|
|
Thanks for your interest in contributing to OpenUsage! External pull requests must reference an open issue that:
Please discuss the change on an issue first, wait for a maintainer to approve and assign it to you, then reopen this pull request with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR — On the All Usage tab, a limit's bar now runs from its label right up to its percentage instead of stopping early and leaving a blank gap. Fixes #1715.
What was happening
$999.99,Wed 10:58 PM).3%with4dfilled only a sliver of those columns, so a wide empty gap sat between the end of the bar and the percentage. The label column was a fixed 90pt too, adding a gap before short names like "Weekly".What this changes
DashboardColumns: each card measures its widest label (still capped at 90pt, where long names truncate), figure and reset, and every row shares those widths. The bar takes the remaining space.DashboardRowModel.showsClockTimesandDashboardGrid.clockResetWidth.Heads-up
Tests
DashboardBarWidthTests: with countdowns, clock times, and a row with no reset, each bar ends one column gap before its figure, covers most of the row, and lines up with the card's other bars; a pace mark at 0.5 lands at the track's centre. It fails onmain(43.5pt gap, 70pt bar).DashboardLabelFitTestskeeps the clock-time fit check against a local 80pt budget.script/test_quiet.sh: 881 tests, 3 failures, all inPanelContentHeightTests("Timed out waiting"); they fail the same way onmainwithout this change.Screenshots
🤖 Generated with Claude Code