oficina / slides Public

Editor: no slide left puts the card on the deck's options

A colleague removing the last slide while this person was in its notes
left data-inspect on notes: the notes went, and the card showed
disabled marks instead of the deck's options. inspect.mjs's slideShown
resets the card when the stage shows no slide (final review, finding 4).

Tested in inspect.test.mjs and by TestTidyLastSlideRemovedFromTheNotes,
which deletes the slide from a second tab.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev fcfdcb895a5fc0895ace3cc621a2a44b6c5e3e02 parent 69d48f0
6 files changed, +82 −18
  • fixtures/editor-entry.js +1 −0
  • fixtures/inspect.mjs +11 −4
  • fixtures/inspect.test.mjs +19 −0
  • internal/slides/credits/assets.json +1 −1
  • internal/slides/static/{editor.1d17938a8290aca3.js => editor.130d6c72326c9dc7.js} +13 −13
  • internal/slidestest/browser_editor_tidy_test.go +37 −0
fixtures/editor-entry.js

Loading diff…

fixtures/inspect.mjs

Loading diff…

fixtures/inspect.test.mjs

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/static/{editor.1d17938a8290aca3.js => editor.130d6c72326c9dc7.js}

Loading diff…

internal/slidestest/browser_editor_tidy_test.go

Loading diff…