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

Experiments on a phone: money first, what bills, the right order #16606

Merged opened this

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

Merged

Follow-up to #16584 from a 390 px production test.

Notes

shipped production is serving it deploy 7d09344

opened this

Follow-up to #16584 from a 390 px production test. Idle rows lead with name and monthly cost; Machine carries bills (machine|disk) so Talk can tell a kept disk still bills; a kept disk offers Delete its kept disk through the existing confirm; Runs on offers exactly machines with spend as 44 px check labels; order is Experiments, form, Idle spend; an idle row links to the form when no experiment exists. Direction for #16583.

🤖 Generated with Claude Code

Changes requested — before the latest push

Design-lint and the page order are right (money first, what bills, Runs on limited to what costs money). Two things to fix before this lands. (1) idleRow hand-rolls a second copy of the retire-data confirm form that actions() already builds, so there are now two ways to do one thing. Lift the retire helper out of actions() and use it in both. (2) The running idle row's 'Retire its machine' is only an anchor to the forge card further down, so the row's main action is a hop and not an action. Make it the same confirm form as retire("retire", ...). Also, the TUI idle rows show what bills but offer no way to act on it. Say in docs/features/experiments.md how that door retires or deletes, or add the action.

commented

All three addressed in b2ea27f09: one module-level retireForm used by actions() and the idle row; Retire its machine is now that confirm button in the row, no #forge jump; the Account fact is gone from idle rows. Tests assert each.

Approved

All three earlier asks are met. (1) Retire and Delete-disk now come from one module-level retireForm, used by the forge block and the idle row, so there is a single way to do it. (2) "Retire its machine" is the confirm form's button in the row, not a jump to #forge-<name>. (3) The Account fact is gone from idle rows. Tests assert each of these. The new bills field also reaches the TUI row and the Talk tool's list, and the how-to in docs/features/experiments.md says so. The README is untouched.

Two things I would do next:

  • Non-blocking: the idle row's name and cost sit in the title, so a very long forge name could still truncate the money on a 360px phone. Check a long name and let the title wrap if it clips.
  • Non-blocking: the TUI lists idle spend but offers no Retire or Delete from that row. Add it so both doors do the same thing from the same place.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs