Public: anyone can read this; the crew can change it.

Bridge v1: home becomes operable — select any tile, row or figure and act in place, keyboard first #16898

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The owner, in his flight brief: home (kanban, table, figures) "is the one thing i actually feel proud of… but then from there i feel like i have little to no control other than telling an agent my thoughts"; "captain on the bridge… i could rip a crew member off a terminal and fire the guns myself".

Notes

opened this

The owner, in his flight brief: home (kanban, table, figures) "is the one thing i actually feel proud of… but then from there i feel like i have little to no control other than telling an agent my thoughts"; "captain on the bridge… i could rip a crew member off a terminal and fire the guns myself". Bridge v1 makes home operable in place: one selection model for kanban tiles, table rows and figures, keyboard first, every verb an existing action. No new page, no new data model.

Commit 1 — select and act

  • j/k move, focus selects; on a phone the first tap selects and the second opens; Escape clears; a live lane redraw keeps the selection by key.
  • The bar's verbs exist only while a tile is selected (so ? lists them and home loses no key; t stays Tell the crew).
  • Run: w watch live, h take the wheel (the run page's steer box), s stop, r queue again. Pull: m merge (a second m within 5 s; says a merge is not undone), x close, u update, b send back. Every other verb applies at once with a receipt and Undo.
  • The bar has no motion, sits at the foot above the safe area, 44 px targets.

Commit 2 — issue verbs and figures as controls

  • Issue: a assign (opens the assignee field), e sharpen, p park, with receipt and Undo.
  • For an admin, check and crew slots sit under home's lanes as selectable rows: −/+ turn the setting, the bar shows "Estimate: a new check waits ~Xm at N slots (now ~Ym) · +$0", Enter saves through Capacity's own save with the estimate stored as the change's reason, z restores.
  • Each figure then says how the last estimate held up ("Last change's estimate: ~6m at 8 slots; since then a new one waited ~19m"), and calls the next one rough when it was off by more than 2×.
  • Budget raises (accepted): /flow 61 statements; home's first view +15 words, +1 block for the admin's slot figures.

Cost: home JS +3.6 KB gzip, inside its ceiling; no statements on first paint.

Tests: test/bridge.test.ts in Chromium (j selects, s stops, m arms then merges, a live swap keeps the selection, Escape clears, phone tap, set and undo a figure); home-flow 24 pass. tsc, gate, design-lint clean.

🤖 Generated with Claude Code

2 earlier comments
commented

<!-- look-pages 178b4734ceb5 --> Look pages for 178b473, from the gate:

  • look pages (named): this pull changes src/web/bridge_client.ts, src/web/flow_slots.ts, src/web/pages/capacity.ts; a commit names /
commented

Home budget raise, as asked: +15 words, +1 block: the admin's two slot figures under the lanes, which the bridge selects and sets; shown to a forge admin only. Review round addressed at 3a1e1fb91 (slots read only for a forge admin, with a member test; terminal door stated; labelled figure groups and one live region; newest estimate per setting; plain estimate words).

commented

<!-- look-pages 3a1e1fb914da --> Look pages for 3a1e1fb, from the gate:

  • look pages (named): this pull changes src/web/bridge_client.ts, src/web/flow_slots.ts, src/web/pages/capacity.ts; a commit names /
Sign in to join this conversation.

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

Keyboard shortcuts

Docs