oficina / slides Public

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>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev c1ca2d8b664d3589ee49ec476dbf1080e5b80492 parent 9e8b2ba
29 files changed, +1,759 −114
  • fixtures/commands.mjs +6 −1
  • fixtures/editor-entry.js +34 −14
  • fixtures/head.mjs +4 −2
  • fixtures/inspector-block.mjs +2 −2
  • fixtures/inspector-ops.mjs +2 −2
  • fixtures/inspector-steps.mjs +19 −13
  • fixtures/inspector-steps.test.mjs +20 −0
  • fixtures/inspector.mjs +10 −5
  • fixtures/scene-card.mjs +211 −0
  • fixtures/scene-card.test.mjs +128 −0
  • fixtures/scene-code.mjs +143 −0
  • fixtures/scene-data.mjs +184 −0
  • fixtures/scene-layer.mjs +50 −26
  • fixtures/step-marks.mjs +24 −13
  • internal/slides/credits/assets.json +3 −3
  • internal/slides/editor.go +46 −1
  • internal/slides/locales/en.toml +28 −0
  • internal/slides/static/editor.b662ed3883b587b3.js +0 −19
  • internal/slides/static/editor.css +87 −0
  • internal/slides/static/editor.eb3c6b60ecf6d19f.js +21 −0
  • internal/slides/static/fontsgate.468587bb173d91bb.js +0 −5
  • internal/slides/static/fontsgate.6f2cdcf5b9124d67.js +5 −0
  • internal/slides/static/presenter.0177773db5d3b9ee.js +0 −5
  • internal/slides/static/presenter.7dd2b59d990627ad.js +5 −0
  • internal/slides/templates/editor.html +83 −1
  • internal/slidestest/editor_tidy_test.go +1 −1
  • internal/slidestest/quieter_inventory_test.go +8 −1
  • internal/slidestest/scenes_editor_browser_test.go +496 −0
  • internal/slidestest/scenes_editor_test.go +139 −0
fixtures/commands.mjs

Loading diff…

fixtures/editor-entry.js

Loading diff…

fixtures/head.mjs

Loading diff…

fixtures/inspector-block.mjs

Loading diff…

fixtures/inspector-ops.mjs

Loading diff…

fixtures/inspector-steps.mjs

Loading diff…

fixtures/inspector-steps.test.mjs

Loading diff…

fixtures/inspector.mjs

Loading diff…

fixtures/scene-card.mjs

Loading diff…

fixtures/scene-card.test.mjs

Loading diff…

fixtures/scene-code.mjs

Loading diff…

fixtures/scene-data.mjs

Loading diff…

fixtures/scene-layer.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.b662ed3883b587b3.js

Loading diff…

internal/slides/static/editor.css

Loading diff…

internal/slides/static/editor.eb3c6b60ecf6d19f.js

Loading diff…

internal/slides/static/fontsgate.468587bb173d91bb.js

Loading diff…

internal/slides/static/fontsgate.6f2cdcf5b9124d67.js

Loading diff…

internal/slides/static/presenter.0177773db5d3b9ee.js

Loading diff…

internal/slides/static/presenter.7dd2b59d990627ad.js

Loading diff…

internal/slides/templates/editor.html

Loading diff…

internal/slidestest/editor_tidy_test.go

Loading diff…

internal/slidestest/quieter_inventory_test.go

Loading diff…

internal/slidestest/scenes_editor_browser_test.go

Loading diff…

internal/slidestest/scenes_editor_test.go

Loading diff…