Repository navigation
fix(dashboard): keep each row's bar beside its text at sm and up - #2781
Merged
Merged
Conversation
A row's text block took its one-line width as its flex basis, so a few characters more on a poll (a paid amount with more decimals, a longer file count or duration) pushed the 16rem bar onto its own line, and the next poll pulled it back. The text block now grows from a zero basis and wraps inside its own column, and the bar does not shrink. The bar moves under the text only below the sm breakpoint. Pools and Allowance rows share the pattern and take the same fix. Fixes #2776 Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
The live pull's text column no longer takes its one-line width, so an output path wider than the column had no break point and painted over the progress bar. The path now breaks anywhere, as the URI above it does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
thiras
approved these changes
Oct 30, 2026
2 of 5 tasks
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.
Fixes #2776.
What changed
In
LivePulls.tsx,Pools.tsxandAllowance.tsx, eachflex-wrap justify-betweenrow now gives:min-w-0 flex-1: it grows from a zero basis and wraps inside its own column;shrink-0(it keepsw-full sm:w-64).Why
The text block took its one-line width as its flex basis. When text + gap + 16rem was close to the row width, a few characters more on a poll (
formatUsdctrims zeros, so0.1608↔0.155831; file count; duration) wrapped the bar under the text, and the next poll pulled it back. The row height changed, so the whole page jumped. Pools (USDC amounts) and Allowance (delivered bytes) share the pattern and the same risk.The bar now moves under the text only below the
smbreakpoint.Verification
pnpm lint,pnpm test(80 passed),pnpm build(includestsc).pnpm devwith a scratch/_statusserver servingdashboard-full.json: swept the panel width 420–1200 px in 2 px steps with both paid strings. New layout: 0 wraps. Old classes restored in the DOM: the bar flips at 862–878 px, so the probe reproduces the bug.Notes for review
renderToString, which cannot observe layout.🤖 Generated with Claude Code