Slides: edit a scene by hand: its card, its data and its code
A scene block's card (scenes and clips spec §5): which of the deck's
scenes it shows (a choice when there are several), From and To by
state name kept in order, the scene's words as fields (one
set_scene{words} per field left), the out-of-date note from
stillsCurrent with Ask an agent to redraw them (the assistant, opened
with the request written, where there is one; else the Agents page),
and the states with no picture. Two panels under segments: the data
as a table where it is a list of rows (cells keep their kind, Add a
row, Remove row) or as JSON, each change one set_scene{data} and the
running frame made afresh; the code in a plain text field, Preview
posting it into the block's frame through the sealed preview route,
Save code registering a new bundle and committing set_scene{code},
with the author line named from the page's actor labels. Insert →
Scene places one of the deck's scenes, disabled until it has one.
The editor now hears the scenes root, and its press numbers, After…,
step marks and strip counts take the deck's scenes; After… never
offers value 0. Approved words only; bundle and credits rebuilt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 files changed,
+1,759
−114
fixtures/commands.mjs+6 −1fixtures/editor-entry.js+34 −14fixtures/head.mjs+4 −2fixtures/inspector-block.mjs+2 −2fixtures/inspector-ops.mjs+2 −2fixtures/inspector-steps.mjs+19 −13fixtures/inspector-steps.test.mjs+20 −0fixtures/inspector.mjs+10 −5fixtures/scene-card.mjs+211 −0fixtures/scene-card.test.mjs+128 −0fixtures/scene-code.mjs+143 −0fixtures/scene-data.mjs+184 −0fixtures/scene-layer.mjs+50 −26fixtures/step-marks.mjs+24 −13internal/slides/credits/assets.json+3 −3internal/slides/editor.go+46 −1internal/slides/locales/en.toml+28 −0internal/slides/static/editor.b662ed3883b587b3.js+0 −19internal/slides/static/editor.css+87 −0internal/slides/static/editor.eb3c6b60ecf6d19f.js+21 −0internal/slides/static/fontsgate.468587bb173d91bb.js+0 −5internal/slides/static/fontsgate.6f2cdcf5b9124d67.js+5 −0internal/slides/static/presenter.0177773db5d3b9ee.js+0 −5internal/slides/static/presenter.7dd2b59d990627ad.js+5 −0internal/slides/templates/editor.html+83 −1internal/slidestest/editor_tidy_test.go+1 −1internal/slidestest/quieter_inventory_test.go+8 −1internal/slidestest/scenes_editor_browser_test.go+496 −0internal/slidestest/scenes_editor_test.go+139 −0
fixtures/commands.mjsLoading diff…
fixtures/editor-entry.jsLoading diff…
fixtures/head.mjsLoading diff…
fixtures/inspector-block.mjsLoading diff…
fixtures/inspector-ops.mjsLoading diff…
fixtures/inspector-steps.mjsLoading diff…
fixtures/inspector-steps.test.mjsLoading diff…
fixtures/inspector.mjsLoading diff…
fixtures/scene-card.mjsLoading diff…
fixtures/scene-card.test.mjsLoading diff…
fixtures/scene-code.mjsLoading diff…
fixtures/scene-data.mjsLoading diff…
fixtures/scene-layer.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.b662ed3883b587b3.jsLoading diff…
internal/slides/static/editor.cssLoading diff…
internal/slides/static/editor.eb3c6b60ecf6d19f.jsLoading diff…
internal/slides/static/fontsgate.468587bb173d91bb.jsLoading diff…
internal/slides/static/fontsgate.6f2cdcf5b9124d67.jsLoading diff…
internal/slides/static/presenter.0177773db5d3b9ee.jsLoading diff…
internal/slides/static/presenter.7dd2b59d990627ad.jsLoading diff…
internal/slides/templates/editor.htmlLoading diff…
internal/slidestest/editor_tidy_test.goLoading diff…
internal/slidestest/quieter_inventory_test.goLoading diff…
internal/slidestest/scenes_editor_browser_test.goLoading diff…
internal/slidestest/scenes_editor_test.goLoading diff…