M4: GM wall editor (round-1 fields) #73
Notifications
Due Date
No due date set.
Blocks
Depends on
#76 M4: finish — e2e audit, measurement and archive
SirStone/FFF_vtt_frozen
#69 M4: map tiles, grid and pan/zoom
SirStone/FFF_vtt_frozen
Reference: SirStone/FFF_vtt_frozen#73
Reference in New Issue
Block a user
Part of #63
Goal
Draw, select, edit and delete walls: four presets, secret/locked, marker, label, one-way arrow + flip, advanced switches, door open/close, unlock hint, undo last. No thickness/height/position flip.
Acceptance criteria
kindshowndevbox run testgreen on a clean checkout, no test weakened or skipped, and the behaviour above proven at the seam(s) listed under "Proven at".User stories covered
Proven at
wall editor module, reducer wall slice; e2e
Notes
Implemented and merged on
mainas91a51c7.open:falsebeside a preset), label,player_marker, door open/close throughdoor.set(opennever in awall.updatepatch), secret/locked with thelocked: unlock firsthint and one-click unlock, one-way arrow at the wall midpoint pointing at the blind side + flip, derivedkindshown, delete and single-step undo. No thickness/height/position-flip control (ADR-0012).client/src/wallEditor.ts,client/src/slices/walls.ts,client/src/render/modules/walls.ts,client/src/panels/walls.ts; core eventswall-select/wall-record-undoadded toclient/src/reducer.ts; panel styles and client README updated.client/test/walls.test.ts(slice, presets, derived kind, arrow side, snap, payload XOR, noopenin updates, undo intents, local validation) andclient/e2e/walls.test.mjs(all presets, label, marker switch, secret, locked hint + unlock, open/close, advanced invalid combination shown, delete + undo, token drag wins over draw mode, player fog pixels change for wall/flip/door/marker, and a second real player WS carries no wall data beyondmarker).devbox run test159 passed,devbox run client-test164 passed,devbox run e2e24 passed. Kernel log clean.