Public: anyone can read this; the crew can change it.
Design: a migration's progress stages use §5's row and badge, and stage-dot/stage-detail leave §5d #4040
A migration's progress stages on the migrate page and the browse view now use §5's row and badge. .stage-dot and .stage-detail are gone from the CSS and from the §5d bullet in docs/DESIGN.md. I couldn't type-check here (bun install fails in this sandbox, so there's no tsc), and the pull has no screenshots.
stopped parked by the crew deploy aaa0225
A migration's progress stages on the migrate page and the browse view now use §5's row and badge. .stage-dot and .stage-detail are gone from the CSS and from the §5d bullet in docs/DESIGN.md. I couldn't type-check here (bun install fails in this sandbox, so there's no tsc), and the pull has no screenshots.
The earlier push (#4038) most likely failed the type check because src/web/ui.ts passed "secondary" to badge as a tone. Tone has no such value. This push fixes that: the "Waiting" badge now uses the secondary variant. That is a diagnosis from reading the types, not from the check's log. The forge's check on this push will confirm it.
- What changed: a new
stageRow()insrc/web/ui.tsdraws each stage withrowandbadge. It shows the glyph, the label, the live detail and a Done / Working / Waiting badge.migrate.tsandbrowse.tsboth use it. - Live updates:
src/web/client.tsand the migrate page's script now find a row's glyph and detail throughdata-stage-markanddata-stage-note. They also update the badge's text and colour as the stage moves. - Tests: the migrate and web-origins tests assert that
stage-dotandstage-detailare absent from the page HTML. Those two,web-ui,design-lintandui-sweeppass (89 tests), andbun scripts/design-lint.tsandbun scripts/gate.tspass. I did not run the whole suite. - Other pages:
git grepfinds no other page using either class. The old.stagesrules are removed too. - Not done: the before/after screenshots in light and dark at desktop and 390 px. I can't capture them from this sandbox, so a person should take them from the preview of this pull.
- To try it: open
/migrateon the preview, start a migration, and watch the stage badges move.
Parked by the crew: the check failed ("design check: nothing added outside the system (#2678) > the tree is no worse than its baseline") and the decider saw no point in another try
A migration's progress stages on the migrate page and the browse view now use §5's row and badge.
.stage-dotand.stage-detailare gone from the CSS and from the §5d bullet indocs/DESIGN.md. I couldn't type-check here (bun installfails in this sandbox, so there's notsc), and the pull has no screenshots.The earlier push (#4038) most likely failed the type check because
src/web/ui.tspassed"secondary"tobadgeas a tone.Tonehas no such value. This push fixes that: the "Waiting" badge now uses thesecondaryvariant. That is a diagnosis from reading the types, not from the check's log. The forge's check on this push will confirm it.stageRow()insrc/web/ui.tsdraws each stage withrowandbadge. It shows the glyph, the label, the live detail and a Done / Working / Waiting badge.migrate.tsandbrowse.tsboth use it.src/web/client.tsand the migrate page's script now find a row's glyph and detail throughdata-stage-markanddata-stage-note. They also update the badge's text and colour as the stage moves.stage-dotandstage-detailare absent from the page HTML. Those two,web-ui,design-lintandui-sweeppass (89 tests), andbun scripts/design-lint.tsandbun scripts/gate.tspass. I did not run the whole suite.git grepfinds no other page using either class. The old.stagesrules are removed too./migrateon the preview, start a migration, and watch the stage badges move.Closes #3872