Bench build session 13NOV2026 keys strip camera canvas
Status: keys, strip, Camera, Cancel and the bucket build step built and tested by the owner; canvas grow toggle built but untested.
What changed in the code
- Colour names (12) moved from
site.option.colour.*tocommon.option.colour.<value>. The six bucket names are new incommon.option.bucket.<value>, labelled with the capitalised values. The bench,site/tables.mjsandsite/ui-keys.test.mjsread common.app/i18n.test.mjsdeclares both prefixes andbench.tswrites the keys as template literals so the key scan accepts them. Owner reports the key test passes. This replacesbench.bucket.*andbench.family.*, which were never inen.json. - Bucket order is now structural, functional, interaction, decorative, minifig, wheels (
TYPESinbench.ts). No bucket sort was found inquery.ts, so where the wall gets its order is Verify. - The scene background follows
data-theme: cream#FFFDF8in light, navy#1F2937in dark, updating live. - Scene strip: a DOM row under the stage, hidden unless
touchUiis true. Left to right: brand mark, Undo, Redo, Cancel, Camera, Canvas size, Delete kept apart. CSS is inapp/css/bench.css. The old test button groups stay for the other modes. - Camera: a new
cameraact cycles four corner views (top/front/right, bottom/back/right, top/back/left, bottom/front/left). Positions are computed from the wall's z when pressed, back cameras 80 LDU in front of the wall, then fixed until the next press. Touch only, no history entry. Thewallandisobuttons stay. This replaces camera history entries from the 9 Nov plan for the touch page. - Cancel:
cancel()and Esc. It drops the hold if a part is in hand, else deselects. On touch a tile tap places at 0,0,0, so only deselect applies there. - Build:
app/tools/add-bucket.mjsaddsparts.bucketto thedistcopy of the database, called fromapp/build.mjs. Owner reports it worked. It replaces the hand-patched column that every build lost. - Canvas grow toggle: 16, 32, 64, 128 studs, starting at 16. Camera distances scale with half the floor width and the far plane is raised. This replaces the 8, 16, 32, 64 steps of the 11 Nov brief.
- Decided, not built: the first anchor is the middle of the front edge of the 16 by 16 (x 0, z +160). This replaces the 8-stud first anchor in the 11 Nov brief.
- Owner's own commit: larger rounded filter buttons, and touch keeps its camera on select.
Untested
- Canvas grow toggle, scaled cameras, grid position after a resize, and the far plane value (Verify, original not read).
- The wall is still fixed at
WALL_Z = -340, so it sits inside the floor at 64 and 128 studs until the floating wall exists. - The dark scene on a phone. Dimmed filter buttons still use light grey
rgba(243,244,246,0.75)(Verify on navy). better-sqlite3installing on Cloudflare (Verify on first deploy).- Minimum canvas from the parts is not built (Open).
- A ring toggle in the strip (Open).
- Strip order and which modes show the strip: UAT decides.
- Chinese for the 18 moved strings is left to the owner.
Next three steps
- Draw the first anchor marker at x 0, z +160 on the 16 by 16 floor.
- Build the floating wall and the minimum canvas size derived from the parts.
- Run UAT on the phone for strip order, Camera views and the dark scene.
Links
- Design: Bench design session 11NOV2026 attach ring anchors wall order, in the bench blog folder (Verify the link target).
- Working rules:
CLAUDE.mdin the repo root.