Editor: choose how a box appears, with nothing new until you do
The box's card opens with an Appears row (With the slide, On a press, and Item by item for a list) and After..., a popover of the slide's presses that writes the midpoint to the next one. The box's menu has the same three choices as menuitemradio rows (box-menu-appears.mjs; box-menu.mjs unchanged at 299 lines). While a box on a slide with presses is selected, small press numbers sit in the boxes' margins, in an aria-hidden overlay outside the slide. The stage stays finished. presses.mjs gains pressValues; the inventory, tidy and quieter tests and the phone stage golden learn the new group, rows and overlay.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 files changed,
+1,006
−37
fixtures/box-menu-appears.mjs+60 −0fixtures/editor-entry.js+19 −2fixtures/inspector-block.mjs+5 −0fixtures/inspector-steps.mjs+138 −0fixtures/inspector-steps.test.mjs+123 −0fixtures/inspector.mjs+4 −1fixtures/presses.mjs+14 −1fixtures/step-marks.mjs+80 −0internal/slides/credits/assets.json+2 −2internal/slides/editor.go+1 −0internal/slides/locales/en.toml+10 −0internal/slides/static/editor.4a0549752ab5cd54.js+18 −0internal/slides/static/editor.css+64 −1internal/slides/static/editor.d67f5fac052499b4.js+0 −17internal/slides/static/presenter.0f4ad1404963fc5d.js+4 −0internal/slides/static/presenter.1e8d4e112c3a7a78.js+0 −4internal/slides/templates/editor.html+25 −1internal/slidestest/browser_editor_steps_test.go+415 −0internal/slidestest/editor_tidy_test.go+4 −3internal/slidestest/quieter_inventory_test.go+8 −1internal/slidestest/quieter_test.go+10 −2internal/slidestest/testdata/phone-stage-html.json+2 −2
fixtures/box-menu-appears.mjsLoading diff…
fixtures/editor-entry.jsLoading diff…
fixtures/inspector-block.mjsLoading diff…
fixtures/inspector-steps.mjsLoading diff…
fixtures/inspector-steps.test.mjsLoading diff…
fixtures/inspector.mjsLoading diff…
fixtures/presses.mjsLoading diff…
fixtures/step-marks.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/editor.goLoading diff…
internal/slides/locales/en.tomlLoading diff…
internal/slides/static/editor.4a0549752ab5cd54.jsLoading diff…
internal/slides/static/editor.cssLoading diff…
internal/slides/static/editor.d67f5fac052499b4.jsLoading diff…
internal/slides/static/presenter.0f4ad1404963fc5d.jsLoading diff…
internal/slides/static/presenter.1e8d4e112c3a7a78.jsLoading diff…
internal/slides/templates/editor.htmlLoading diff…
internal/slidestest/browser_editor_steps_test.goLoading diff…
internal/slidestest/editor_tidy_test.goLoading diff…
internal/slidestest/quieter_inventory_test.goLoading diff…
internal/slidestest/quieter_test.goLoading diff…
internal/slidestest/testdata/phone-stage-html.jsonLoading diff…