oficina / slides Public

Editor: the card's fields regrouped; marks in the card; slide actions out

The card's three forms are estilo's labelled groups (spec §4.2, §4.3):
a box's options in Style, Text, Alignment, Image, Description, Place
and On a phone, then Delete block; the slide's options with the delete
question first, then This slide and Boxes; the Deck under a rule. No
field is added or dropped and no name, prop or command changes. Every
field's wrapper is a direct child of its group, so estilo's rule hides
a group none of whose fields apply.

The five marks leave the stage bar and are the Text group, a segmented
row; with the caret in the notes the card shows that group alone. A
mark still takes no focus, and the whole card counts as the bar, so
Tab through its fields keeps the text the marks act on. The slide's
layout, a box's alignment and an image's fit are segmented controls.
Move, add, duplicate and delete slide leave the card for the Slide
menu and the strip's item menu (E10).

The keyboard (§4.4): choosing a box from the list focuses its first
control; Escape in its options gives the selection up and focuses its
list button; Cancel on the delete question gives focus back to the
menu that asked. Focus put into the card reaches a radio group at its
checked radio. inspector.empty and the section heading keys go.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 039cf83e3777b30476eccb6e84114d7a1b0b1a9d parent 9e15d3c
18 files changed, +988 −524
  • fixtures/commands.mjs +4 −4
  • fixtures/editor-entry.js +4 −1
  • fixtures/format-bar.mjs +15 −9
  • fixtures/format-bar.test.mjs +8 −0
  • fixtures/head.mjs +29 −4
  • fixtures/head.test.mjs +13 −1
  • fixtures/inspector-block.mjs +12 −5
  • fixtures/inspector.mjs +43 −20
  • fixtures/inspector.test.mjs +16 −1
  • internal/slides/credits/assets.json +1 −1
  • internal/slides/editor.go +2 −3
  • internal/slides/locales/en.toml +9 −5
  • internal/slides/static/{editor.a00285a24fd77e8a.js => editor.34c06f7324cd941d.js} +15 −15
  • internal/slides/static/editor.css +137 −201
  • internal/slides/templates/editor.html +282 −242
  • internal/slidestest/browser_editor_tidy_test.go +381 −4
  • internal/slidestest/browser_test.go +7 −3
  • internal/slidestest/editor_tidy_test.go +10 −5
fixtures/commands.mjs

Loading diff…

fixtures/editor-entry.js

Loading diff…

fixtures/format-bar.mjs

Loading diff…

fixtures/format-bar.test.mjs

Loading diff…

fixtures/head.mjs

Loading diff…

fixtures/head.test.mjs

Loading diff…

fixtures/inspector-block.mjs

Loading diff…

fixtures/inspector.mjs

Loading diff…

fixtures/inspector.test.mjs

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.a00285a24fd77e8a.js => editor.34c06f7324cd941d.js}

Loading diff…

internal/slides/static/editor.css

Loading diff…

internal/slides/templates/editor.html

Loading diff…

internal/slidestest/browser_editor_tidy_test.go

Loading diff…

internal/slidestest/browser_test.go

Loading diff…

internal/slidestest/editor_tidy_test.go

Loading diff…