Editor: the inspector is a floating card, shown by Format
The inspector is now <aside slides-inspector estilo-card estilo-inspector>, Docs' card over the desk's top end corner from 1100px (12px in, 248px wide, scrolling inside itself), and in the flow under the stage with no shadow below that. The desk grid is "strip stage"; the stage pane keeps clear of the open card, so the slide and the notes never run under it and the slide re-centres when it hides. Format, an estilo pill before Share, shows and hides it. The state is the slides-inspector cookie, read by the server (inspectorState) into the card's data-state, the button's aria-expanded and the View row's aria-pressed, so the first paint is final. head.mjs owns the state after that, writes the cookie, moves the old localStorage preference to it once, works with cookies blocked, and moves focus into the card when a keyboard action or a delete-ask opens it and back when it is hidden. The fields inside the card are unchanged. head.inspector and the old title key are gone; head.format is new.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 files changed,
+771
−103
fixtures/head.mjs+97 −22fixtures/head.test.mjs+262 −0internal/slides/credits/assets.json+1 −1internal/slides/editor.go+30 −5internal/slides/locales/en.toml+1 −2internal/slides/static/{editor.e968c8fbcf43501d.js => editor.014dc9dc11538dd3.js}+15 −15internal/slides/static/editor.css+56 −50internal/slides/templates/editor.html+15 −5internal/slidestest/browser_editor_tidy_test.go+197 −0internal/slidestest/editor_test.go+1 −1internal/slidestest/editor_tidy_test.go+94 −0internal/slidestest/fonts_browser_test.go+2 −2
fixtures/head.mjsLoading diff…
fixtures/head.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/editor.goLoading diff…
internal/slides/locales/en.tomlLoading diff…
internal/slides/static/{editor.e968c8fbcf43501d.js => editor.014dc9dc11538dd3.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/editor_test.goLoading diff…
internal/slidestest/editor_tidy_test.goLoading diff…
internal/slidestest/fonts_browser_test.goLoading diff…