You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(web): pooled limit refill shows when it lands again - #42499
The pooled Limits card on web showed ↻ +13% for the next refill, but not when that refill arrives. The time was dropped in #10409, a usage-history PR that had nothing to do with this line. Mobile still shows it.
The in 5h is back after the percentage, in muted text, as it was before #10409. It reuses the existing formatResetsIn(…, "in") copy, so there are no new translation strings. #42037 already skips resets that have passed, so this line always shows a future time. The existing refill browser test now also checks for ↻ +30% in 30m.
Before
After
Done with Claude Opus 5.5 in Claude Code (T3 Code).
No actionable comments were generated in the recent review.
Walkthrough
The pooled usage card now shows the time until a qualifying future refill alongside the restored percentage. The browser test expects the countdown in the refill indicator.
Changes: Pooled usage refill display
Layer / File(s)
Summary
Display and verify refill countdown apps/web/src/components/usage/UsageLimitsPooled.tsx, apps/web/src/components/usage/UsageLimitsPooled.browser.test.tsx
PoolWindowCard uses useMessages() to format and display the next refill time alongside the restored percentage when the refill restores more than 0% and the pool has multiple columns. The browser test expects ↻ +30% in 30m.
This change restores the next-refill time beside the pooled refill percentage on the web Limits card. It is a low-risk display change with an updated test, and no merge-blocking issues were found.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "fix(web): pooled limit refill shows when it lands again" matches the main change: the pooled Limits card on web now shows the time of the next refill after the refill percentage. It uses a …
Description check
The description follows the template's main sections. It explains the problem (the refill time was dropped in #10409 while mobile still shows it), the change (restores the muted 'in 5h' text using the…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "fix(web): pooled limit refill shows when it lands again" matches the main change: the pooled Limits card on web now shows the time of the next refill after the refill percentage. It uses a conventional commit prefix and names the web surface and the behavior.
Full details: Description check
Explanation
The description follows the template's main sections. It explains the problem (the refill time was dropped in #10409 while mobile still shows it), the change (restores the muted 'in 5h' text using the existing formatResetsIn copy), and verification (the existing refill browser test now checks for '↻ +30% in 30m', plus before/after screenshots). Scope is only partly addressed: it cites #42037 and the removal in #10409 but does not explicitly link a bug issue or explain why no issue is needed. The Verification section does not describe the observed test results beyond the updated assertion, and it does not state anything that could not be checked. The agent attribution line is present. These gaps are non-critical, so the description is mostly complete.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
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
size:XS0-9 changed lines (additions + deletions).vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.
1 participant
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 web showed
↻ +13%for the next refill, but not when that refill arrives. The time was dropped in #10409, a usage-history PR that had nothing to do with this line. Mobile still shows it.The
in 5his back after the percentage, in muted text, as it was before #10409. It reuses the existingformatResetsIn(…, "in")copy, so there are no new translation strings. #42037 already skips resets that have passed, so this line always shows a future time. The existing refill browser test now also checks for↻ +30% in 30m.Done with Claude Opus 5.5 in Claude Code (T3 Code).
🤖 Generated with Claude Code