← back to pin list

O93 Part list: after a move empties rows, 'Remove the N empty rows?' (one click, one undo) (Jordan 2026-11-04 'Go on A')

kerfmaster pin list · UI / workflow decisions

recordStates what the code does today. Auditable against the code — this is the only type that can go stale.

Content last changed 2026-11-05 — computed from the item itself, not typed.

Born from Jordan's O91 test (pin pladd-runaway-no-cancel). Touches Add to row and New part (move) responses + the client; removing rows must be one journal step. -- 2026-11-04 23:32 UTC BUILD (O93): server run_plrmempty + _pl_row_empty, UNDO_DOORS 'plrmempty' (quick, not heavy), POST route; run_pladd/run_plnew return emptied; app.js plOfferRemoveEmpty after plAdd/plNew (window.confirm, re-reads list). Tested on temp copies of grill list 1793813710: whole-grill add to row 1 -> 46 emptied; plrmempty removed 46, kept row 1 (named back); part jobs still on disk; one undo restored partlist.json byte-exact; naming only a non-empty row refused in words. Browser (scratch engine on :8491, temp jobs): dialog '46 rows have nothing left to cut. Remove the 46 empty rows...', accepted -> list 47 -> 1 row, toast. Identity gate green; test_split_door 17/17, test_part_list 41, test_pl_select 28. F1 n/a (operator door). Ramifications: only Add to row / New part responses + the new door; a copy (not move) never empties rows. -- 2026-11-05 SHIPPED to main d21b79c9 by copying dev's server.py/app.js/test_sheet_window.py (= main + exactly O90/O91/O93, checked by patch replay; O89 heal.py not shipped).