Public: anyone can read this; the crew can change it.
Renaming a board can be undone: renameBoard logs the row it overwrote #59
Merged 79d 2h ago, live in production
renameBoard now runs inside a transaction and calls logAction, just like every other mutation, so it's trimmed by MAXUNDODEPTH and shows up in the undo log like anything else.
-
Reviews
No review yet.
-
Checks
waiting merged; waiting for production to redeploy
-
History
- renameBoard now logs its old name so Undo can reverse it 973d088
- Security: the terminal lists every board on the server; a board's id is its access control (#45) d9a214f
- A card can be moved with a thumb: touch dragging, and a fallback that picks a position (#46) bb63342
- The terminal's keys are tested: pull the key handling out of the pty and characterize it (#29) e888c44
- Boards belong to a person: a guest's board lives in their browser and is kept by signing in (#35) 8be902e
- The last two writes outside a transaction: claimBoard and createBoard (#37) 4c9200d
- A shared board cannot be used to fill the disk: bound the undo log, a board's size, and board creation (#27) 3709e3d
- A write from the terminal and a write from the web do not collide: BEGIN IMMEDIATE and a busy_timeout (#26) 63cd31b
- Identity from the forge: verified headers, src/who.ts, and a Sign in link (#14) fce3bc8
- No request answers with a stack trace: an error boundary, HEAD, and a content-type checked at the door (#28) bbdb4f1
- Build tempo (#7) d7370c2
- Two people moving cards at once keep one order: transactional writes and positions that cannot collapse (#19) f1e6521
- Dark mode and a keyboard help overlay (#4) 4eb367a
- Merge pull request #6 from scout/5-card-counts-in-column-headers c4adcf7
- Add tests for the per-column card count 9785a10
- Merge pull request #2 from scout/1-build-tempo 38bf3b6
- Drive drag-and-drop with real DOM events, and fix the drop it never handled 23f7399
- Build tempo: a snappy kanban board 31a64e2
- Start tempo dcd7491
Sign in to join this conversation.
new above
offline
renameBoardnow runs inside a transaction and callslogAction, just like every other mutation, so it's trimmed byMAX_UNDO_DEPTHand shows up in the undo log like anything else.PayloadgainedrestoreBoardName?: { id: string; name: string }, andundorestores only the name — not the whole board row — so undoing a rename can never revert aclaimBoard.renameBoardnow returnsboolean(false for an unknown board id, doing nothing) instead ofvoid; the one caller inroutes.tsalready validates the board first, so this doesn't change route behavior.Added three tests to
src/db.test.ts:falseand logs nothing.restoreBoardName) still undoes cleanly.bun testis green (113 pass). Left untouched per the issue:static/board.*.jsandsrc/pages/board.ts— no client-side label or button changes here.Closes #42