Editor: the box's button never covers a handle; Place resets on reload
Review fix round 1. buttonSpot now validates the rectangle it returns: when none of its five places fits (a box smaller than the button in a corner), it searches the stage for the nearest spot that covers no handle, within 48px of the box. The geometry moves to box-spot.mjs, with the reviewer's case and a sweep of box sizes and positions in two stages in box-spot.test.mjs. Position and size keeps open or closed in memory for the page load (mountPlace): a resync's rebuilt editor keeps it, a reload starts closed, and nothing is written to sessionStorage (spec §4.3). TestQuieterPlaceClosesOnReload.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 files changed,
+253
−138
fixtures/box-menu.mjs+4 −55fixtures/box-menu.test.mjs+1 −52fixtures/box-spot.mjs+77 −0fixtures/box-spot.test.mjs+82 −0fixtures/editor-entry.js+1 −2fixtures/inspector.mjs+18 −14fixtures/inspector.test.mjs+25 −0internal/slides/credits/assets.json+1 −1internal/slides/static/{editor.2dca1e6eaf8f63ba.js => editor.d0692e9941f516b2.js}+14 −14internal/slidestest/browser_quieter_box_test.go+30 −0
fixtures/box-menu.mjsLoading diff…
fixtures/box-menu.test.mjsLoading diff…
fixtures/box-spot.mjsLoading diff…
fixtures/box-spot.test.mjsLoading diff…
fixtures/editor-entry.jsLoading diff…
fixtures/inspector.mjsLoading diff…
fixtures/inspector.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/{editor.2dca1e6eaf8f63ba.js => editor.d0692e9941f516b2.js}Loading diff…
internal/slidestest/browser_quieter_box_test.goLoading diff…