Bench pair buttons, Place and the ice cube 20NOV2026
Status: touch msg bar, collision bar, ice cube and offline fix done and tested; pair buttons and Place built with three faults (Open).
What changed in the code
- Work is on
main. The deploy to Cloudflare was sucessful. - Touch:
#msg-barmirrors#msgabove the strip, and a second Check collisions button sits in the strip.#collide-barabove the stage mirrors#collide-statusthrough aMutationObserver. Both bars are readable by screen readers (Decided, tested). - Ice cube:
makeTileadds a hidden box per tile, the size of the tile's longest side, so every ice is the same size.lockedStems()inattach.tsandrefreshIce()inbench.tsshow it while Attach is on and a part is selected, and refresh it on every type step (Decided, tested). build.mjsadds/offline.htmlto the precache list only if the walk has not listed it. This fixes theCache.addAllduplicate error (Decided, tested).anchors.ts:Pthas an optionaly(default 0). NewsideAnchor(target, side)puts a virtual anchor one stud outside a side, at the target's bottom, on the stud nearest the middle. A tie goes back, then right. NewseatsOnAnchor, andseatOnAnchornow returns its first pose.side-anchor.test.tspasses: a plate seats level on all four sides of a 2x4 brick (Decided, tested).attach.ts:startPlace(row, side)holds the part on the virtual anchor, as kindtouch, so it commits unjoined. Yaw is the four quarter turns (Decided).gizmo.ts: the single Mode button is replaced by three pair buttons, Attach/Place, Move/Nudge and Rotate/Twist. A press on an active pair switches to the other mode of the pair. A press on an inactive pair takes the mode the button shows. Place is a sixth mode at index 5. Off still exists (Decided).- Place model (Decided): side first, then the wall part, same order as Attach. Default side is behind. The blue side squares are not built.
- Reverted: sending collision results through
msg(). It broke picking after a type cycle and the cause was not found.#collide-statusstays its own element (Decided).
Untested
- Open: an Attach seating step is not confirmed by a mode change or a tap in the scene. It still needs Confirm. The model says any action button or a tap on empty space confirms.
- Open: Place seating shows arrows that do nothing. Only yaw works. I assumed the flip and mate-point arrows would hide, which was wrong. The cause is not read.
- Open: the virtual anchor refuses some wall parts, but it shouldnt (no ice shows for them).
- Open: app should start in attach mode.
- Verify: scene "back" against
behindinrelate.ts. Checked from test numbers only. - Twist still shows the text "Fine rotate".
bench.status.collidePendingis now unused inen.json.
Next three steps
- Seating exits: pair buttons, Place, Attach and a tap on empty space confirm. The new part stays selected in Attach, and the camera returns to iso.
- Place seating shows only the yaw arrow, and wall parts the virtual anchor refuses get ice.
- Blue side squares, with Attach/place as the default mode when a part is selected.