Editor: a strip of pictures and numbers; New slide follows the last
Task Q7 of the quieter editor (spec §6.1). - No title under a thumbnail. The slide's number is the strip's CSS counter, drawn by the link in a narrow gutter beside the picture; the label and "Current slide" are visually hidden and stay in the link's name, and the label is the link's title (relabel() keeps it current). - The current slide has one mark: the accent outline round its picture. - The item's menu trigger sits on a translucent ground (--slides-strip-menu-ground); a right-click on an item opens its menu. - New slide and the layouts chevron are li[slides-strip-new], the last child of the strip's <ol>: a quiet row after the last thumbnail that scrolls with the list. The pinned foot is gone. strip.mjs adds and reorders slides before it; the layouts popover stays anchored to it and flips to stay in the window. - TestQuieterStripMarkup, TestQuieterStrip, TestQuieterNarrow and TestQuieterEmptyDeck replace the pinned-foot tests (TestEditorTidyNewSlideInStripFoot, TestTidyNewSlideStaysInView).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 files changed,
+710
−237
fixtures/strip.mjs+37 −8fixtures/strip.test.mjs+87 −0internal/slides/credits/assets.json+1 −1internal/slides/static/{editor.a3f0007e07ab9e46.js => editor.8669e7d311705e9b.js}+11 −11internal/slides/static/editor.css+92 −88internal/slides/templates/editor.html+28 −22internal/slidestest/browser_editor_tidy_test.go+17 −82internal/slidestest/browser_quieter_test.go+360 −0internal/slidestest/editor_tidy_test.go+0 −25internal/slidestest/quieter_inventory_test.go+4 −0internal/slidestest/quieter_test.go+73 −0
fixtures/strip.mjsLoading diff…
fixtures/strip.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/{editor.a3f0007e07ab9e46.js => editor.8669e7d311705e9b.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_tidy_test.goLoading diff…
internal/slidestest/quieter_inventory_test.goLoading diff…
internal/slidestest/quieter_test.goLoading diff…