Skip to content

dashboard: the running pull's progress bar jumps between the row's right side and a line below #2776

Closed

Description

@thiras

What happens

On decdn dashboard (v0.3.0), the decdn get, running row moves its progress bar between two places during a pull. On one 2 s poll the bar sits to the right of the run's text. On the next poll it drops under the text, at the left edge. Then it moves back. The row height changes each time, so everything below it on the page jumps too.

Seen on 2026-10-30 at a window width of about 1200 px, during a whisper bundle pull (decdn:b7df87…6031/?ns=1):

  • Right of the text: 17 of 20 files · paid 0.1608 USDC to 9 nodes · for 4m 56s
  • Under the text: 16 of 20 files · paid 0.155831 USDC to 9 nodes · for 4m 46s

Cause

In crates/cli/dashboard/src/components/LivePulls.tsx, each <li> is flex flex-wrap items-center justify-between. The text block is min-w-0 with no flex basis, so its basis is its max-content width. The bar column is a fixed sm:w-64. When the text's one-line width plus the gap plus 16 rem is wider than the row, the bar wraps onto its own line.

The text's width changes on every poll:

  • formatUsdc (format.ts) trims trailing zeros, so the paid amount changes between 2 and 6 decimals (0.1608 → 0.155831).
  • The file count, the duration and the optional · N resumed segment also change length.

When the row is close to the wrap point, these small changes move the bar back and forth.

Fix direction

Let the text wrap inside its own column, so the bar does not wrap. For example, give the text block flex-1 basis-0 (or grow) and the bar column shrink-0, or use a two-column grid at sm:. The bar then moves under the text only at the sm breakpoint, not when the text length changes. Pools.tsx and Allowance.tsx use the same flex-wrap justify-between row pattern. Check them for the same problem.

An optional extra step: give the paid amount a fixed width (for example, always 6 decimals while the run is live). The text then keeps the same width between polls even where it wraps.

Activity

  1. added
    kind:bug
    on Oct 30, 2026
  2. self-assigned this
    on Oct 30, 2026
  3. added
    area:cli
    prio:low
    on Oct 30, 2026
  4. removed their assignment
    on Oct 30, 2026
  5. self-assigned this
    on Oct 30, 2026
  6. moved this from Backlog to In progress in deCDNon Oct 30, 2026
  7. moved this from In progress to Done in deCDNon Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:clikind:bugprio:low

Type

No type

Fields

Priority

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions