Slides: scenes run on every surface, carry on, and show stills elsewhere
Task 4 of the scenes plan. - render: a scene block is its stills, one per state from `from` to `to`, the state's description as alt, the states after `from` arriving on presses; a state with no registered still is the placeholder panel (scene name, state description, theme colours). AssetPaths fetches the stills. layout/svg draw the `to` state (still or panel) for thumbnails and the PDF. - fixtures/scene-frame.mjs: one sealed frame; init after load, state on each move, shown only after ready; given up after 3 s silent, on a second load or an error message; reduced motion shows the still until a new state settles. - fixtures/scene-layer.mjs: a layer outside the slide DOM, one frame per scene, kept for the same scene in the same box (canvas box, flow region) and told the new state, animate unless a jump; stills only on a phone view. Wired into the slide and presenter windows (Now live, Next stills; talk payload carries scenes and preloads bundles), the viewer and follow view (scene-pages.mjs from the font gate, scenes in a JSON script on the page), and the editor (selected block or play-through). - docs/scenes.md: carrying on, the error message, the inert frame.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 files changed,
+2,383
−60
docs/scenes.md+15 −4fixtures/editor-entry.js+15 −2fixtures/fonts-gate.mjs+5 −0fixtures/play-through.mjs+30 −14fixtures/presenter-window.mjs+8 −0fixtures/scene-frame.mjs+141 −0fixtures/scene-frame.test.mjs+184 −0fixtures/scene-layer.mjs+282 −0fixtures/scene-layer.test.mjs+110 −0fixtures/scene-pages.mjs+70 −0fixtures/slide-window.mjs+8 −0fixtures/talk-driver.mjs+4 −2fixtures/talk-store.mjs+14 −1internal/slides/credits/assets.json+4 −4internal/slides/deck/scenes.go+44 −0internal/slides/layout/blocks.go+2 −0internal/slides/layout/scenes.go+80 −0internal/slides/layout/scenes_test.go+122 −0internal/slides/presentation.go+4 −0internal/slides/presenting_talk.go+6 −1internal/slides/render/render.go+92 −3internal/slides/render/scenes_test.go+267 −0internal/slides/scene_pages.go+67 −0internal/slides/static/{editor.9c05be46d0d57612.js => editor.40aed9dd0801d716.js}+18 −17internal/slides/static/fontsgate.3e08aa5807012613.js+0 −4internal/slides/static/fontsgate.7c1b9c1c68e4e66d.js+5 −0internal/slides/static/present.js+5 −2internal/slides/static/presenter.898ea955958ffad6.js+0 −4internal/slides/static/presenter.ea094c31a2eb5ec1.js+5 −0internal/slides/static/slides.css+57 −1internal/slides/templates/present.html+3 −1internal/slides/templates/viewer.html+8 −0internal/slides/viewer.go+4 −0internal/slidestest/scenes_layer_browser_test.go+453 −0internal/slidestest/scenes_stills_test.go+251 −0
docs/scenes.mdLoading diff…
fixtures/editor-entry.jsLoading diff…
fixtures/fonts-gate.mjsLoading diff…
fixtures/play-through.mjsLoading diff…
fixtures/presenter-window.mjsLoading diff…
fixtures/scene-frame.mjsLoading diff…
fixtures/scene-frame.test.mjsLoading diff…
fixtures/scene-layer.mjsLoading diff…
fixtures/scene-layer.test.mjsLoading diff…
fixtures/scene-pages.mjsLoading diff…
fixtures/slide-window.mjsLoading diff…
fixtures/talk-driver.mjsLoading diff…
fixtures/talk-store.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/deck/scenes.goLoading diff…
internal/slides/layout/blocks.goLoading diff…
internal/slides/layout/scenes.goLoading diff…
internal/slides/layout/scenes_test.goLoading diff…
internal/slides/presentation.goLoading diff…
internal/slides/presenting_talk.goLoading diff…
internal/slides/render/render.goLoading diff…
internal/slides/render/scenes_test.goLoading diff…
internal/slides/scene_pages.goLoading diff…
internal/slides/static/{editor.9c05be46d0d57612.js => editor.40aed9dd0801d716.js}Loading diff…
internal/slides/static/fontsgate.3e08aa5807012613.jsLoading diff…
internal/slides/static/fontsgate.7c1b9c1c68e4e66d.jsLoading diff…
internal/slides/static/present.jsLoading diff…
internal/slides/static/presenter.898ea955958ffad6.jsLoading diff…
internal/slides/static/presenter.ea094c31a2eb5ec1.jsLoading diff…
internal/slides/static/slides.cssLoading diff…
internal/slides/templates/present.htmlLoading diff…
internal/slides/templates/viewer.htmlLoading diff…
internal/slides/viewer.goLoading diff…
internal/slidestest/scenes_layer_browser_test.goLoading diff…
internal/slidestest/scenes_stills_test.goLoading diff…