oficina / slides Public

Slides: a scene run in its block fits 16:9 too; panel words wrap to fit

Task 4 review, fix round 2.

- A frame run inside its block takes its stills' cell and, off a
  canvas, the same largest 16:9 box that fits, centred (slides.css),
  instead of the whole block.
- Pictures agree when image-full's media holds more than the scene: the
  scene gives way like a picture there too (layout/scenes.go).
- The placeholder panel's words wrap at the panel's final width.
- Tests: the short-region tests cover an in-slide scene (full9) in the
  browser and the thumbnail; TestAPanelsWordsWrapInsideIt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev b592c2f33837950b0d4a93565cc0eb5ecf43f3d9 parent 96ce169
10 files changed, +157 −66
  • fixtures/scene-layer.mjs +3 −2
  • internal/slides/credits/assets.json +3 −3
  • internal/slides/layout/scenes.go +28 −22
  • internal/slides/layout/scenes_test.go +34 −0
  • internal/slides/static/{editor.cd1bf64c3b28e7d7.js => editor.519c65176c79693a.js} +1 −1
  • internal/slides/static/{fontsgate.c7325f8208e01d9b.js => fontsgate.468587bb173d91bb.js} +1 −1
  • internal/slides/static/{presenter.47795241f9a7029d.js => presenter.0177773db5d3b9ee.js} +1 −1
  • internal/slides/static/slides.css +11 −1
  • internal/slidestest/scenes_layer_browser_test.go +41 −19
  • internal/slidestest/scenes_stills_test.go +34 −16
fixtures/scene-layer.mjs

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/layout/scenes.go

Loading diff…

internal/slides/layout/scenes_test.go

Loading diff…

internal/slides/static/{editor.cd1bf64c3b28e7d7.js => editor.519c65176c79693a.js}

Loading diff…

internal/slides/static/{fontsgate.c7325f8208e01d9b.js => fontsgate.468587bb173d91bb.js}

Loading diff…

internal/slides/static/{presenter.47795241f9a7029d.js => presenter.0177773db5d3b9ee.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…