Repository navigation
Show the sliding stripe while a job's total is unknown - #224
Merged
Merged
Conversation
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]>
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.
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.
trackJobset the fill's width to0inline, 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