Editor: the deck's settings are a dialog under File
File → Deck settings… opens <dialog slides-deck-dialog>, after </main> and inside [slides-editor], holding the deck form unchanged (theme, accent and its reset, heading and body fonts, unused images) with one button, Close (spec §8). Changes apply as they are made. The card no longer has a Deck group. The deck's title is edited only in the bar: head.mjs commits it through commitTitle (commands.setTitle, one set_meta) instead of writing the card's old Title field. inspector.mjs finds its three forms in the editor and listens on the card and on the deck form; the editor's root click handler skips buttons in any inspector form, so the accent reset runs once. A dialog opened from a menu row returns focus to that menu's title when it closes. The font wait makes the dialog inert too. Strings: file.deck and deck.settings added; inspector.deck and deck.title removed. Visible changes beyond the brief: Help → Keyboard shortcuts now also returns focus to Help when it closes; the dialog's selects are 28px tall, as the card's are; a deck with no slides shows an empty card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 files changed,
+555
−193
fixtures/commands.mjs+7 −3fixtures/commands.test.mjs+23 −0fixtures/editor-entry.js+5 −3fixtures/editor-fonts.mjs+1 −0fixtures/editor-fonts.test.mjs+13 −0fixtures/head.mjs+28 −15fixtures/head.test.mjs+63 −0fixtures/inspector-image.mjs+2 −1fixtures/inspector.mjs+23 −13internal/slides/credits/assets.json+1 −1internal/slides/editor.go+4 −4internal/slides/locales/en.toml+7 −6internal/slides/static/{editor.7597f74bc62422a4.js => editor.3f63277e9d63eaf9.js}+13 −13internal/slides/static/editor.css+24 −25internal/slides/templates/editor.html+65 −58internal/slidestest/browser_editor_tidy_test.go+26 −23internal/slidestest/browser_quieter_test.go+118 −0internal/slidestest/editor_test.go+19 −6internal/slidestest/editor_tidy_test.go+17 −12internal/slidestest/fonts_browser_test.go+3 −2internal/slidestest/quieter_inventory_test.go+22 −8internal/slidestest/quieter_test.go+71 −0
fixtures/commands.mjsLoading diff…
fixtures/commands.test.mjsLoading diff…
fixtures/editor-entry.jsLoading diff…
fixtures/editor-fonts.mjsLoading diff…
fixtures/editor-fonts.test.mjsLoading diff…
fixtures/head.mjsLoading diff…
fixtures/head.test.mjsLoading diff…
fixtures/inspector-image.mjsLoading diff…
fixtures/inspector.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/editor.goLoading diff…
internal/slides/locales/en.tomlLoading diff…
internal/slides/static/{editor.7597f74bc62422a4.js => editor.3f63277e9d63eaf9.js}Loading diff…
internal/slides/static/editor.cssLoading diff…
internal/slides/templates/editor.htmlLoading diff…
internal/slidestest/browser_editor_tidy_test.goLoading diff…
internal/slidestest/browser_quieter_test.goLoading diff…
internal/slidestest/editor_test.goLoading diff…
internal/slidestest/editor_tidy_test.goLoading diff…
internal/slidestest/fonts_browser_test.goLoading diff…
internal/slidestest/quieter_inventory_test.goLoading diff…
internal/slidestest/quieter_test.goLoading diff…