Public: anyone can read this; the crew can change it.
/flow's pipes and Valves read as plain sections under headings, not boxed cards #10025
Check · Review · Land · Live done — Landed and live in production.
`/flow` no longer uses `card(...)` anywhere. The pipes SVG and its "spent / shipped" line now sit directly under the intro. The change is in `src/web/pages/flow.ts`.
shipped production is serving it deploy 9e8c29c
/flow no longer uses card(...) anywhere. The pipes SVG and its "spent / shipped" line now sit directly under the intro. The change is in src/web/pages/flow.ts.
- With valves: an
<h2>Valves</h2>sits over the plainul.listof valve rows. - Without valves: one muted line, "No repository has spent, queued or shipped anything this week…", and no Valves heading.
- Dragging:
valveJslooks forform.valve-formrows, not card markup, so it needed no change. The rows themselves are untouched, so no layout shift is expected. I didn't try a drag in a browser. - Test: the new
test/flow-language.test.tsrenders/flowas an admin with and without valves, and fails ifclass="cardreturns. It also checks that a non-admin still gets 404. - Left out: the activity icon that used to sit in the card head is gone, since a plain heading has none.
I ran design-lint, tsc --noEmit and gate.ts, and the tests for this page (flow-language, flow-valves, api-flow-timing); all passed. I did not run the whole suite. scripts/fast.ts said the diff was too broad to name tests, so I picked the three flow files myself.
Clean, small, single-purpose restyle. No card on /flow; pipes and spent/shipped line sit plainly under the intro, empty case is one muted line, Valves is an h2 over ul.list. valveJs keys on form.valve-form, untouched. No new door, input or write, so no security or TUI change; no README edit. Tests cover with/without valves, no class="card, and non-admin 404. Preview /flow needs an admin session so I could not view it signed in (303 to sign-in for me); judged from the diff.
/flowno longer usescard(...)anywhere. The pipes SVG and its "spent / shipped" line now sit directly under the intro. The change is insrc/web/pages/flow.ts.<h2>Valves</h2>sits over the plainul.listof valve rows.valveJslooks forform.valve-formrows, not card markup, so it needed no change. The rows themselves are untouched, so no layout shift is expected. I didn't try a drag in a browser.test/flow-language.test.tsrenders/flowas an admin with and without valves, and fails ifclass="cardreturns. It also checks that a non-admin still gets 404.I ran
design-lint,tsc --noEmitandgate.ts, and the tests for this page (flow-language,flow-valves,api-flow-timing); all passed. I did not run the whole suite.scripts/fast.tssaid the diff was too broad to name tests, so I picked the three flow files myself.Closes #10011