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

opened this

Merged 23d 20h ago, 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.

Notes

opened this

/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 plain ul.list of valve rows.
  • Without valves: one muted line, "No repository has spent, queued or shipped anything this week…", and no Valves heading.
  • Dragging: valveJs looks for form.valve-form rows, 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.ts renders /flow as an admin with and without valves, and fails if class="card returns. 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.

Closes #10011

commented

/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 plain ul.list of valve rows.
  • Without valves: one muted line, "No repository has spent, queued or shipped anything this week…", and no Valves heading.
  • Dragging: valveJs looks for form.valve-form rows, 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.ts renders /flow as an admin with and without valves, and fails if class="card returns. 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.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs