oficina / slides Public

Design: the editor, tidied; corrections from reading the code

Found while planning; none changes what Paul approved. The inspector
and notes have no shortcut today; the editor goes side by side at
1100px, not 64rem; the card's state moves to a cookie the server
renders, as Docs'; the Slide section's Layout field is listed; the
card takes Docs' 12px, not the menus' float tokens; estilo's pin moves
to head for the pill buttons.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev b53dc0efefce120311c1f14ff6962d424ad29f3a parent ab649bc
1 file changed, +33 −14
  • docs/superpowers/specs/2026-11-16-editor-tidy-design.md +33 −14
diff --git a/docs/superpowers/specs/2026-11-16-editor-tidy-design.md b/docs/superpowers/specs/2026-11-16-editor-tidy-design.md
index 0f26954..c8fe4df 100644
--- a/docs/superpowers/specs/2026-11-16-editor-tidy-design.md
+++ b/docs/superpowers/specs/2026-11-16-editor-tidy-design.md
@@ -153,8 +153,11 @@ notes float over the desk; they are not regions.
**Share…**, **Present**, the suite switcher, the account. Buttons
are estilo's pills, as in Docs: Format is the soft-tinted toggle,
Share… is outlined, Present is the filled one. The bar's
- "Inspector" toggle becomes Format: same place, same shortcut, same
- remembered state (`fixtures/head.mjs`), new name and look.
+ "Inspector" toggle becomes Format: same place, new name and look.
+ Its state is remembered in a cookie the server reads, as Docs' is,
+ so the first paint is final (today it is `localStorage`, applied
+ after the editor mounts). It has no shortcut today and none is
+ added.
- **The view switch** is the only thing on the stage's toolbar: three
icon buttons in one pill, exactly one lit, each with a tooltip and
an accessible name (Desktop; Phone; Both, side by side). It is
@@ -187,9 +190,10 @@ labelled groups, with no accordion and no sections to fold.
hidden, the frame re-centres in the whole desk.
- **It stops short of the foot of the desk and scrolls inside
itself.** It never makes the page scroll.
-- **From 64rem only**, as Docs' is. Narrower than that, the card
- becomes what Docs' does at that width (the builder reads Docs and
- matches it).
+- **From 1100px**, the width at which the editor already goes side
+ by side. Narrower than that the editor keeps today's stacked column,
+ with the card in the flow under the stage, regrouped but not
+ floating.
### 4.1 What it shows
@@ -250,8 +254,8 @@ the talk** on a slide (the steps slice, §9).
Today's Slide and Deck sections, regrouped. Nothing added, nothing
dropped.
-- **Slide**: template; background and its colour; transition;
- **On a phone** (§6.2).
+- **Slide**: layout (flow or canvas); template; background and its
+ colour; transition; **On a phone** (§6.2).
- **Boxes**: the list of boxes on this slide, and Add block. Picking
a box from the list selects it, and the card becomes that box's
options.
@@ -271,8 +275,8 @@ a box that holds no text. That stays true and stays possible:
- With nothing selected, the list is in the card (§4.3). With a box
selected, **Esc** returns to the slide's options, where the list is.
-- With the card hidden, the same shortcut that toggles the inspector
- today shows it. An action that needs the card (Delete slide's
+- With the card hidden, Format in the bar or Inspector in the View
+ menu shows it. An action that needs the card (Delete slide's
confirmation; a menu item that today opens the inspector) shows the
card and puts it on the slide's options, as such actions force the
inspector open today.
@@ -335,8 +339,9 @@ That is the later phone slice (§9), not this one.
Docs' inspector, its segmented controls and its desk colour are rules
inside Docs' own page today. This slice puts the parts Slides needs
-into estilo, as named parts beside `chrome` and `menu`, with estilo's
-float tokens (`--estilo-float-radius` and its padding):
+into estilo, as a named part beside `chrome` and `menu`, with Docs'
+own values for the card (its 12px radius and padding; estilo's float
+tokens are the menus', at 9px, and are not the card's):
- the floating card and its labelled groups;
- the segmented control (filled, with the tinted and outlined
@@ -403,8 +408,8 @@ Tests, each written before the code it holds:
- A box with no text can be selected, changed and deleted with the
keyboard alone, with the card showing and starting with it hidden.
- Delete slide confirms in the card, with the card hidden beforehand.
-- Notes: open, close by ×, reopen by the icon, by the View menu and
- by its shortcut; the dot is there exactly when the slide has notes;
+- Notes: open, close by ×, reopen by the icon and by the View menu;
+ the dot is there exactly when the slide has notes;
typing in the floating card saves through the same queue (the
existing saving tests pass unchanged against it).
- New slide stays in view with forty slides in the strip.
@@ -460,7 +465,6 @@ And one more, raised on 16 November, not yet placed in that order:
matched by eye.
- The card's exact width, the notes' default height, the phone
frame's proportions and corner radius.
-- How the card and Format behave under 64rem, by reading Docs.
- Which of estilo's existing parts the pills and toggles already are,
and what is genuinely new there.
- The cause of the off-centre cover.
@@ -519,3 +523,18 @@ slice.
draft 2 and its one question for this slice, answered as
recommended: the slide's move, add and delete actions leave the
card. Questions 1 to 3 of §11 stay open for the phone slice.
+- **Corrections from the code, 2026-11-16**, found while planning;
+ none changes what Paul approved:
+ - The inspector toggle and the notes have no keyboard shortcut
+ today, so "the same shortcut" meant nothing. None is added.
+ - The editor goes side by side at 1100px, not Docs' 64rem. The card
+ floats from 1100px, and the stacked column below that stays.
+ - Docs remembers its inspector in a cookie the server renders.
+ Slides does the same, so the card's first paint is final.
+ - The Slide section has a Layout field (flow or canvas), which §4.3
+ had left out.
+ - Docs' card is 12px round with 12px padding. estilo's float tokens
+ are the menus' (9px) and are not used for it.
+ - Slides pins an older estilo with no pill buttons. This slice moves
+ the pin to estilo's head.
+ - The editor has one locale, `en`.