fix(web): usage tabs no longer jump when switching to Limits#25336

merged1
main
fix/usage-header-tabs-stay-put
opened17d agobyTtheo
View on GitHubTwo-way sync enabledPR last imported 16d ago

In the new design, the Cost/Tokens/Limits tabs on the Usage page jumped about 300px when you switched to or from Limits. Limits hides the period picker, and the tabs sat to its left, so they slid right. The tab you were aiming for moved out from under the cursor.

Now the period picker comes first and the metric tabs sit next to refresh. Hiding the picker no longer moves the tabs. Same change for the compact header.

Before (Tokens, then Limits)After (Tokens, then Limits)
BeforeAfter

Proof: in the real app, the metric tabs measured x=774 on Tokens and x=1090 on Limits before. After, they stay at x=1090 on Cost, Tokens, and Limits. The compact header at 600px was checked too. vp run check:changed passes.

Reviewed with sol-loop: 1 round with GPT-6.1 Sol. Sol verdict: approved

Created with Claude Opus 5.5 in Claude Code, running in T3 Code.

🤖 Generated with Claude Code

Checks

24 successful · 12 skipped
All checks passed
dc3c706

Added 1 commit

  • fix(web): usage tabs no longer jump when switching to Limitsdc3c706
Synced from GitHub

Approvability

Verdict: Approved at dc3c706

Macroscope's review found this PR approvable — This is a narrowly scoped web UI bug fix that reorders existing Usage controls so hiding the period selector on Limits no longer moves the metric tabs. Existing selection, preference, and refresh behavior remains intact.

You can add or adjust custom eligibility rules. Learn more.