oficina / slides Public

Editor: the lit picture stays true while the card asks

While the card asks before leaving Free placement, the checked picture
is the slide's true one, Free placement, and no longer the template
asked about, which was not yet applied (review of Q3). The picture
asked about is marked apart instead: data-asked, a dashed outline in
the strong line colour (style and colour both differ from the lit
ring), and its radio described by the question's text
(aria-describedby). The mark goes when the question is answered,
cancelled or withdrawn.

layout-pick.test.mjs and TestQuieterLayoutPictures and
TestQuieterLeaveFreeWithdraws assert it: during the question Free
placement is checked and exactly one picture is marked, and after
Cancel, Use the layout and a withdrawal none is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 49ab993fa5e1a8e8d9454af077a33ff751376623 parent caad87d
7 files changed, +104 −27
  • fixtures/layout-pick.mjs +30 −6
  • fixtures/layout-pick.test.mjs +18 −5
  • internal/slides/credits/assets.json +1 −1
  • internal/slides/static/editor.css +13 −0
  • internal/slides/static/{editor.64ea0246789e1cb9.js => editor.db10b8d13a8c42be.js} +13 −13
  • internal/slides/templates/editor.html +1 −1
  • internal/slidestest/browser_quieter_test.go +28 −1
fixtures/layout-pick.mjs

Loading diff…

fixtures/layout-pick.test.mjs

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/static/editor.css

Loading diff…

internal/slides/static/{editor.64ea0246789e1cb9.js => editor.db10b8d13a8c42be.js}

Loading diff…

internal/slides/templates/editor.html

Loading diff…

internal/slidestest/browser_quieter_test.go

Loading diff…