Skip to content

fix(dashboard): shorten a running pull's output path and record the #2776 fix - #2782

Merged
yigitdot merged 4 commits into
mainfrom
fix/2776-dashboard-bar-wrap
Oct 30, 2026
Merged

yigitdot merged 4 commits into
mainfrom
fix/2776-dashboard-bar-wrap

Conversation

@yigitdot

@yigitdot yigitdot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

What

The live "decdn get, running" row shows its output path the way the finished-pulls table does: the last two segments (shortPath), with the full path in the title, so it appears on hover. The path also keeps break-all, so a long segment with no spaces, such as a bundle in ./<64-hex-hash>/, stays inside the text column and does not run over the progress bar.

The PR also adds the CHANGELOG entry for #2776. #2781 fixed that issue on main (the bar keeps one place as the text changes, from sm up) but added no entry. The entry describes that fix and this path change.

Refs #2776 (closed by #2781).

Reviewer notes

  • The code change is one span in crates/cli/dashboard/src/components/LivePulls.tsx and its shortPath import. The row layout is exactly what is on main from fix(dashboard): keep each row's bar beside its text at sm and up #2781.
  • shortPath is the existing helper in format.ts that RecentPulls.tsx already uses for the same field.
  • A bundle path keeps its 64-hex directory after shortening (…/models/<hash>), so break-all is still needed at narrow widths.
  • cargo deny (non-blocking in the hook) reports RUSTSEC-2026-0387 for crypto-bigint 0.5.5. It comes from main, not this PR.

Verification

  • pnpm -C crates/cli/dashboard lint, typecheck, test (80 passed) and build pass after the merge of main.
  • Browser check against a local stub that serves dashboard-full.json as /_status, with a 95-character output path (/Users/someone/projects/models/ and a 64-character hash directory). At 640, 900 and 1200 px the row shows …/models/<hash>, the path stays inside the text column, and the bar is at the right. The full path in the title is 95 characters.

Always:

  • pre-commit run --all-files: not run; the commit hooks ran on the changed files
  • CARGO_BUILD_WARNINGS=deny cargo clippy --workspace --all-targets --all-features: not run, no Rust change
  • cargo nextest run: not run, no Rust change
  • PR title uses an allowed type

Only if touched:

  • User-visible change: CHANGELOG.md entry added by hand

🤖 Generated with Claude Code

yigitdot and others added 2 commits October 31, 2026 00:04
A row with a 16 rem bar or gauge wrapped with flex-wrap, so the text's
one-line width decided where the bar went. The live pull's text changes
width on each poll, and near the wrap point the bar jumped between the
right side and the next line.

The row is now a column below sm and a row from sm up. The text takes
the free width and wraps inside it, and the bar does not shrink. The
same change applies to the Pools and Allowance rows.

Closes #2776

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 30, 2026 21:11

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

From the sm breakpoint up the text column no longer takes the whole row,
so an output path with no spaces, such as a bundle's ./<hash>/ directory,
ran past the column and over the progress bar. The path now shows its
last two segments, as the finished-pulls table does, with the full path
in its title, and breaks anywhere inside the column.

The CHANGELOG entry now says the bar keeps one place as the text changes,
not that it always sits beside the text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@yigitdot
yigitdot requested a review from thiras October 30, 2026 21:28
…r-wrap

# Conflicts:
#	crates/cli/dashboard/src/components/Allowance.tsx
#	crates/cli/dashboard/src/components/LivePulls.tsx
#	crates/cli/dashboard/src/components/Pools.tsx
@thiras
thiras enabled auto-merge (squash) October 30, 2026 21:31
@thiras
thiras disabled auto-merge October 30, 2026 21:32
@yigitdot yigitdot changed the title fix(dashboard): keep the progress bar beside the run's text fix(dashboard): shorten a running pull's output path and record the #2776 fix Oct 30, 2026
@yigitdot
yigitdot merged commit 991871e into main Oct 30, 2026
34 checks passed
@yigitdot
yigitdot deleted the fix/2776-dashboard-bar-wrap branch October 30, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants