Slides: a scene's still is never offered as an unused image
unusedAssets() kept image blocks, backgrounds and clip posters but not scenes[*].stills[*].ref, so the Unused images list offered a scene's still for removal; removing it broke thumbnails, the PDF and the picture a frame shows before it is ready. It now keeps every asset a scene still names. stillsCurrent(scene, assets) also counts a still whose ref no asset is registered under as missing (what deck.go's StillOf draws as the panel), and the scene card and Deck settings' list pass the deck's assets. The Go side has no unused-asset list or cleanup path to guard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 files changed,
+94
−41
docs/api.md+5 −2fixtures/assets.test.mjs+14 −0fixtures/inspector-ops.mjs+13 −5fixtures/scene-card.mjs+10 −9fixtures/scene-card.test.mjs+11 −0fixtures/scene-stills.test.mjs+14 −0fixtures/scene-version.mjs+5 −3internal/slides/credits/assets.json+1 −1internal/slides/static/editor.0ac6de7cc750619b.js+0 −21internal/slides/static/editor.b7d7ed4324f72e40.js+21 −0
docs/api.mdLoading diff…
fixtures/assets.test.mjsLoading diff…
fixtures/inspector-ops.mjsLoading diff…
fixtures/scene-card.mjsLoading diff…
fixtures/scene-card.test.mjsLoading diff…
fixtures/scene-stills.test.mjsLoading diff…
fixtures/scene-version.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/editor.0ac6de7cc750619b.jsLoading diff…
internal/slides/static/editor.b7d7ed4324f72e40.jsLoading diff…