fix(web): align usage page skeleton layout - #8111
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
5bfca5d to
6cd04d6
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 6cd04d6. Configure here.
6cd04d6 to
d02665b
Compare
There was a problem hiding this comment.
One finding: treating any interrupt-only query failure as pending can latch the usage page into a permanent skeleton. Details inline.
Posted via Macroscope — UI Consistency
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a small, self-contained usage-page UI adjustment limited to grid sizing and loading-skeleton visuals. It does not change data handling, application workflows, or production infrastructure. You can add or adjust custom eligibility rules. Learn more. |
d02665b to
b7f4cda
Compare
## What's Changed * fix(web): align usage page skeleton layout by @tris203 in pingdotgg/t3code#8111 * fix(web): make terminal links appear clickable only when clickable by @flamboh in pingdotgg/t3code#7488 * fix(web): make Windows file links clickable in chat by @t3dotgg in pingdotgg/t3code#8081 * fix(web): sort usage models by token count by @RakshithBhat03 in pingdotgg/t3code#8108 * fix: open agent file links in the file viewer by @StiensWout in pingdotgg/t3code#8098 ## New Contributors * @flamboh made their first contribution in pingdotgg/t3code#7488 **Full Changelog**: pingdotgg/t3code@v0.0.34-nightly.20260824.1179...v0.0.34-nightly.20260825.1180 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.34-nightly.20260825.1180

What Changed
The usage-page skeleton now mirrors the loaded layout: it reserves space for the breakdown section, matches the chart-label and total-value heights, uses provider-neutral placeholders, and gives provider labels enough room beside their session counts.
Why
The skeleton had drifted from the loaded page, causing visible layout shift as usage data arrived. The provider summary column could also truncate short provider names when the session count and total were present.
UI Changes
Before
After
Verification
vp lint apps/web/src/components/usage/UsagePage.tsxvp test run apps/web/src/components/usage/UsageProviderChart.test.tsvp run --filter @t3tools/web typecheckgit diff --checkChecklist
Created with GPT-5.6-sol via the Codex harness in T3 Code.
Note
Low Risk
Loading-state UI and Tailwind layout only; no data fetching, auth, or business logic changes in this diff.
Overview
Aligns the usage loading skeleton with the loaded page to cut layout shift while usage data is still settling.
Widens the main
lggrid’s left column from16remto18remon both the live summary andUsageSkeleton, giving provider labels and session counts more horizontal room.Updates skeleton placeholders: provider-colored dots and brand marks become neutral
bg-mutedcircles; chart axis and totals value bars are slightly taller; and a new Breakdown block (heading, toggle stub, table area) mirrors the section that appears after load.Reviewed by Cursor Bugbot for commit b7f4cda. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Align usage page skeleton with 18rem left column and breakdown section
Updates the loading skeleton in UsagePage.tsx to match the actual page layout. The left grid column widens from 16rem to 18rem on both the page and the skeleton, and the skeleton now uses neutral circles for provider indicators, taller placeholder bars, and a new Breakdown section placeholder.
Macroscope summarized b7f4cda.