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

`/fleet` applies one verb to the rows it selects, with a preview first and Undo after #10133

shipped production is serving it opened this has it
opened this

For: many at once, undoable, from the page the owner is already on. /fleet (src/web/pages/fleet.ts) only reads; the operations exist (previewFleetOp, applyFleetOp, undoFleetOp in src/actions/fleet.ts) behind the API and terminal.

Done looks like:

  • [x] Under the table, a writer picks a verb valid for the kind and its value; a same-origin POST shows the preview: each row's change, unchanged or refused with its sentence. Nothing is written yet.
  • [x] Apply writes through applyFleetOp and lands on a result with Undo that calls undoFleetOp within UNDO_WINDOW_MS.
  • [x] No JavaScript needed; refusals in plain muted lines.
  • [x] A test previews (nothing changes), applies, and undoes a label change over two issues; a cross-origin POST is refused; a reader is not offered the form.
  • [x] bun scripts/design-lint.ts and bun test pass; docs/features/fleet.md says so.
commented

Reviewed pull #10147 at its head: ticked Under the table, a writer picks a verb valid for the kind and its value; a same-origin POST shows the preview: each row's change, unchanged or refused with its sentence. Nothing is written yet.; Apply writes through applyFleetOp and lands on a result with Undo that calls undoFleetOp within UNDO_WINDOW_MS.; No JavaScript needed; refusals in plain muted lines.; A test previews (nothing changes), applies, and undoes a label change over two issues; a cross-origin POST is refused; a reader is not offered the form.; bun scripts/design-lint.ts and bun test pass; docs/features/fleet.md says so..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs