oficina / slides Public

Slides: scene review fixes: stacking, waiting, phone, motion, fit

Task 4 review, fix round 1.

- A scene with a box drawn over it (a higher canvas z, the same z
  later, image-full's heading) runs inside its own block, so stacking
  holds; only unobstructed scenes carry on (scene-places.mjs).
- A scene inside a box still to arrive runs nothing until it arrives.
- Crossing the phone's width decides again which scenes run, both
  ways; so does a change of the motion setting.
- Reduced motion shows stills only, no frame; the settle timer is gone
  and docs/scenes.md says so.
- The follow view and viewer classify moves by position (pageMove), and
  always rebind frames to the block now on the page; repeated states
  are not resent.
- In a flow region the scene is the largest 16:9 box that fits, centred,
  on the page (size container) and in pictures (layout/scenes.go).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 96ce169d509c2661c46e9814596a158019158afc parent 7a53b15
19 files changed, +539 −149
  • docs/scenes.md +6 −5
  • fixtures/scene-frame.mjs +4 −16
  • fixtures/scene-frame.test.mjs +3 −11
  • fixtures/scene-layer.mjs +44 −52
  • fixtures/scene-layer.test.mjs +63 −0
  • fixtures/scene-pages.mjs +33 −13
  • fixtures/scene-places.mjs +88 −0
  • internal/slides/credits/assets.json +4 −4
  • internal/slides/layout/layout.go +4 −0
  • internal/slides/layout/scenes.go +16 −1
  • internal/slides/static/{editor.40aed9dd0801d716.js => editor.cd1bf64c3b28e7d7.js} +18 −18
  • internal/slides/static/fontsgate.7c1b9c1c68e4e66d.js +0 −5
  • internal/slides/static/fontsgate.c7325f8208e01d9b.js +5 −0
  • internal/slides/static/present.js +5 −2
  • internal/slides/static/presenter.47795241f9a7029d.js +5 −0
  • internal/slides/static/presenter.ea094c31a2eb5ec1.js +0 −5
  • internal/slides/static/slides.css +17 −2
  • internal/slidestest/scenes_layer_browser_test.go +181 −14
  • internal/slidestest/scenes_stills_test.go +43 −1
docs/scenes.md

Loading diff…

fixtures/scene-frame.mjs

Loading diff…

fixtures/scene-frame.test.mjs

Loading diff…

fixtures/scene-layer.mjs

Loading diff…

fixtures/scene-layer.test.mjs

Loading diff…

fixtures/scene-pages.mjs

Loading diff…

fixtures/scene-places.mjs

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/layout/layout.go

Loading diff…

internal/slides/layout/scenes.go

Loading diff…

internal/slides/static/{editor.40aed9dd0801d716.js => editor.cd1bf64c3b28e7d7.js}

Loading diff…

internal/slides/static/fontsgate.7c1b9c1c68e4e66d.js

Loading diff…

internal/slides/static/fontsgate.c7325f8208e01d9b.js

Loading diff…

internal/slides/static/present.js

Loading diff…

internal/slides/static/presenter.47795241f9a7029d.js

Loading diff…

internal/slides/static/presenter.ea094c31a2eb5ec1.js

Loading diff…

internal/slides/static/slides.css

Loading diff…

internal/slidestest/scenes_layer_browser_test.go

Loading diff…

internal/slidestest/scenes_stills_test.go

Loading diff…