Skip to content

Show the sliding stripe while a job's total is unknown - #224

Merged
charpy4n6 merged 1 commit into
mainfrom
fix/job-bar-stripe
Sep 27, 2026
Merged

charpy4n6 merged 1 commit into
mainfrom
fix/job-bar-stripe

Conversation

@charpy4n6

Copy link
Copy Markdown
Collaborator

While a job has no total yet, the job bar at the bottom of the left pane is meant to show a sliding stripe. That happens during Expand archives while it counts the files it finds ("122,000 files found"), and during an ingest walk. Instead the track stayed empty, so it looked like nothing was happening.

trackJob set the fill's width to 0 inline, which overrides the stylesheet's 35% stripe width. It now clears the inline width while the total is unknown, and sets the percentage once there is one (gleapp/web/static/app.js, two lines).

Checked in the page: the stripe measured 0 px wide with the old line and 70 px on a 200 px track with the fix, the 35% the stylesheet specifies. The JavaScript parses (node --check); line endings pass. Front end only, no automated test.

🤖 Generated with Claude Code

The left pane's job bar is meant to slide a stripe while a job has no total yet
(opening archives, an ingest walk). trackJob set the fill's width to 0 inline,
which overrides the stylesheet's 35% stripe width, so the track stayed empty.
Measured in the page: 0 px before, 70 px of a 200 px track after.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@charpy4n6
charpy4n6 merged commit 113b528 into main Sep 27, 2026
7 checks passed
@charpy4n6
charpy4n6 deleted the fix/job-bar-stripe branch September 30, 2026 01:50
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.

1 participant