oficina / slides Public

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>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 024e6aeca7d2be27849f560a1aa8a3f8f2704fa5 parent 3dd8d43
22 files changed, +1,006 −37
  • fixtures/box-menu-appears.mjs +60 −0
  • fixtures/editor-entry.js +19 −2
  • fixtures/inspector-block.mjs +5 −0
  • fixtures/inspector-steps.mjs +138 −0
  • fixtures/inspector-steps.test.mjs +123 −0
  • fixtures/inspector.mjs +4 −1
  • fixtures/presses.mjs +14 −1
  • fixtures/step-marks.mjs +80 −0
  • internal/slides/credits/assets.json +2 −2
  • internal/slides/editor.go +1 −0
  • internal/slides/locales/en.toml +10 −0
  • internal/slides/static/editor.4a0549752ab5cd54.js +18 −0
  • internal/slides/static/editor.css +64 −1
  • internal/slides/static/editor.d67f5fac052499b4.js +0 −17
  • internal/slides/static/presenter.0f4ad1404963fc5d.js +4 −0
  • internal/slides/static/presenter.1e8d4e112c3a7a78.js +0 −4
  • internal/slides/templates/editor.html +25 −1
  • internal/slidestest/browser_editor_steps_test.go +415 −0
  • internal/slidestest/editor_tidy_test.go +4 −3
  • internal/slidestest/quieter_inventory_test.go +8 −1
  • internal/slidestest/quieter_test.go +10 −2
  • internal/slidestest/testdata/phone-stage-html.json +2 −2
fixtures/box-menu-appears.mjs

Loading diff…

fixtures/editor-entry.js

Loading diff…

fixtures/inspector-block.mjs

Loading diff…

fixtures/inspector-steps.mjs

Loading diff…

fixtures/inspector-steps.test.mjs

Loading diff…

fixtures/inspector.mjs

Loading diff…

fixtures/presses.mjs

Loading diff…

fixtures/step-marks.mjs

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/editor.go

Loading diff…

internal/slides/locales/en.toml

Loading diff…

internal/slides/static/editor.4a0549752ab5cd54.js

Loading diff…

internal/slides/static/editor.css

Loading diff…

internal/slides/static/editor.d67f5fac052499b4.js

Loading diff…

internal/slides/static/presenter.0f4ad1404963fc5d.js

Loading diff…

internal/slides/static/presenter.1e8d4e112c3a7a78.js

Loading diff…

internal/slides/templates/editor.html

Loading diff…

internal/slidestest/browser_editor_steps_test.go

Loading diff…

internal/slidestest/editor_tidy_test.go

Loading diff…

internal/slidestest/quieter_inventory_test.go

Loading diff…

internal/slidestest/quieter_test.go

Loading diff…

internal/slidestest/testdata/phone-stage-html.json

Loading diff…