fix(usage): say pace in words and drop the refill line for single accounts - #13
Draft
sameerr03 wants to merge 1 commit into
Draft
fix(usage): say pace in words and drop the refill line for single accounts#13sameerr03 wants to merge 1 commit into
sameerr03 wants to merge 1 commit into
Conversation
…ounts The pooled limits card showed pace as a hover-only glyph, and a "+63% in 4d 12h" line that, with one account, only restated the big number and the segment countdown beside it. Pace is now a plain sentence under the number, shared by web and mobile. The next-reset line appears only for pools with several accounts, and names who resets next and how much of the pool that restores. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
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.
The pooled limits card on Usage → Limits showed pace as a small muted glyph whose meaning lived in a tooltip, with the "ahead" state drawn as an up-arrow even though it means quota is being spent faster than the window elapses. Below the big number, a
↻ +63% in 4d 12hline restated the number (one hundred minus it) and the countdown already printed on the segment beside it. Both were leftovers from the pre-pooling design, where the icon captioned an elapsed-time marker that the segmented bar no longer draws.Pace is now a plain sentence under the number: "Spending faster than the clock", "Spending in step with the clock", or "Spending slower than the clock". The wording lives in a shared
PACE_LABELtable so web and mobile agree. The next-reset line appears only for pools with more than one account, where it carries information the big number cannot, and it now reads as a sentence naming who resets next and how much of the pool that restores, for example "Alice resets in 1h, restoring 40%".The composer's
/usage-limitspanel keeps its pace icon, since that bar still draws the even-spending mark the icon captions, and its tooltip now uses the shared sentence.Verification
packages/shared/src/usageLimits.test.tspasses (41 tests); the pooling maths is unchanged.Built with Claude Fable 5.1 in T3 Code.
🤖 Generated with Claude Code