oficina / slides Public

Editor: phone settings show only in the phone views

The slide's On a phone field, a box's On a phone group and a new line,
Editing the phone layout, are drawn in Phone and Both view and not in
Desktop. applyView mirrors the view on the root; the server renders
data-view="desktop", so the first paint is final and nothing moves at
mount. The line sits in a status region beside the view switch, which
stays centred. The inventory's phone needles move to homePhoneOnly.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev bfecbe1d39a34bd1806703c2924a2de68739b872 parent 499131a
10 files changed, +185 −16
  • fixtures/editor-entry.js +1 −1
  • internal/slides/credits/assets.json +1 −1
  • internal/slides/editor.go +1 −1
  • internal/slides/locales/en.toml +1 −0
  • internal/slides/static/{editor.d0692e9941f516b2.js => editor.bd51417403608322.js} +1 −1
  • internal/slides/static/editor.css +20 −3
  • internal/slides/templates/editor.html +7 −1
  • internal/slidestest/browser_quieter_test.go +90 −0
  • internal/slidestest/quieter_inventory_test.go +23 −4
  • internal/slidestest/quieter_test.go +40 −4
fixtures/editor-entry.js

Loading diff…

internal/slides/credits/assets.json

Loading diff…

internal/slides/editor.go

Loading diff…

internal/slides/locales/en.toml

Loading diff…

internal/slides/static/{editor.d0692e9941f516b2.js => editor.bd51417403608322.js}

Loading diff…

internal/slides/static/editor.css

Loading diff…

internal/slides/templates/editor.html

Loading diff…

internal/slidestest/browser_quieter_test.go

Loading diff…

internal/slidestest/quieter_inventory_test.go

Loading diff…

internal/slidestest/quieter_test.go

Loading diff…