Brickheart

Touch page tidy and deploy addendum 21NOV2026

: Written by a human with AI assistance.

Status: the touch page now shows only the scene, the strip and the message bars, tested by the owner on ?ui=touch; the merge to main and the deploy were not confirmed in this session (Verify).

What changed in the code

  • bench.ts: with touchUi on, #workspace gets the class touch-ui. bench.css then switches the grid off and hides the parts panel, the history panel, #controls, #active-part, #selected-part, the collision-mode field and the old page Attach panel #attach-picker (Decided, tested on ?ui=touch).
  • #msg and #collide-status are visually hidden, not removed, so screen readers still hear them. The bars #msg-bar and #collide-bar carry the text for sighted users (Decided).
  • The first attempt at hiding the Attach panel failed. An existing id rule beat my class rule, and my script guard matched the text #attach-picker that was already in the file. The final rule is .workspace.touch-ui #attach-picker.
  • The page Attach panel attach-ui.ts is made redundant by the in-scene Attach. Its code is still there: attach.ts imports the Rank type from it.
  • CLAUDE.md was committed with these changes, as the owner had edited it. I did not read the edit.
  • The commands given were: commit all on seating-exits, merge with --no-ff into main, push. The output was not shown to me (Verify).

Untested

  • Verify: Export and Select lived in the history panel, so touch has no Export button now.
  • Verify: the collision-mode select is hidden on touch and is the only way to change that mode.
  • Verify: the Check button is enabled whenever a part is selected (check: has). The owner says a check also runs automatically. collide-ui.ts was not read.
  • Open: the owner says the remaining flaws come from missing connector pairs in the connections file. Not investigated.
  • Verify: whether Cloudflare deployed and whether the phone served the old build from the service worker.

Next three steps

  1. Give touch an Export action.
  2. Decide the collision-mode control on touch.
  3. Remove the page Attach panel code, moving the Rank type.
  • Earlier post today: "Seating exits, touch page and settings plan" (the session-end post).
  • Working rules: CLAUDE.md in the repo root.