Design draft 2: the editor, tidied; a builder's read answered
A fresh agent read draft 1 as a builder and asked six questions. Draft 2 answers them: - The card holds today's fields, regrouped, and no new ones. The mockup's heading font, size and colour were drawn to show layout. - Draft 1 wrongly had a phone reader scrolling from slide to slide. The viewer serves one slide to a page at every width, so the phone frame shows this slide alone, as served. - The new phone settings (letterboxed for any slide, a tall arranged page) are a model change and leave this slice; this slice changes no document state. - The marks show for the notes too; the list of boxes and Delete slide's confirmation stay in the card, for the keyboard. - Docs and Slides are held alike in estilo, by recorded numbers. Still for Paul's approval; nothing is built.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1 file changed,
+221
−158
docs/superpowers/specs/2026-11-16-editor-tidy-design.md+221 −158
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 1834027..cbd11e9 100644 |
| --- a/docs/superpowers/specs/2026-11-16-editor-tidy-design.md |
| +++ b/docs/superpowers/specs/2026-11-16-editor-tidy-design.md |
| @@ -1,15 +1,19 @@ |
| # π€ Slides: the editor, tidied β design |
| -Design, 2026-11-16, **draft 1. For Paul's approval; nothing here is |
| +Design, 2026-11-16, **draft 2. For Paul's approval; nothing here is |
| approved yet.** Written by Claude Fable 5.2 on branch |
| `design/editor-tidy`, cut from `origin/main` at `cb30df5`, from a |
| conversation with Paul on 16 November in which he went through the |
| -live editor and a clickable mockup, change by change. |
| +live editor and a clickable mockup, change by change. Draft 2 answers |
| +a builder's read of draft 1 (Β§12). |
| The mockup he approved ("good enough to proceed for now") is beside |
| this file: `2026-11-16-editor-tidy-mockup.html`. Open it in a browser. |
| -Where this text and the mockup disagree, this text wins, and the |
| -disagreement is a bug in the text to report. |
| +**The mockup shows where things go, not which fields exist.** Three |
| +things in it are not part of this slice and are called out where they |
| +arise: extra formatting fields on a box (Β§4.2), the Appears and In the |
| +talk groups (Β§4.2), and the three-way On a phone choice (Β§6.2). Where |
| +this text and the mockup disagree, this text wins. |
| This is the first slice of a larger piece of work, levelling Slides up |
| until the talk Paul gave at HalfStack Vienna on 16 November could have |
| @@ -25,6 +29,9 @@ It builds on, and does not restate: |
| - `AGENTS.md`: the one rule, the seams, the fixtures rule, the font |
| rule ("never a flash"), and the UX conventions. |
| +**This slice changes no document state.** Every field, op and |
| +rendering stays as it is. It moves the editor's chrome. |
| + |
| --- |
| ## 0. Intent |
| @@ -48,21 +55,23 @@ last clicked and nothing else. |
| 1. The editor's desk, strip, inspector, buttons and notes look and |
| behave like Docs'. |
| -2. The inspector follows the selection: a box, the slide, or the deck. |
| +2. The inspector follows the selection: a box, the notes, or the |
| + slide and its deck. |
| 3. Nothing in the editor makes the page itself scroll. |
| -4. The phone view is a phone: phone height, and showing what a reader |
| - on a phone would see. |
| -5. A slide can say how it shows on a phone (Β§6). |
| +4. The phone view is a phone: a frame of a phone's proportions, |
| + showing what the viewer serves at that width. |
| ### 0.2 Non-goals |
| - Anything in the presenter, the viewer, the remote or the export. |
| +- **Any new field, op or rendering.** In particular the new ways for a |
| + slide to show on a phone that Paul asked for (letterboxed for any |
| + slide; a tall page arranged by hand) are their own slice (Β§9), with |
| + questions of their own (Β§11). |
| - New kinds of block, steps, layouts beyond the eight that exist, |
| - scenes, video. Those are later slices (Β§9). |
| + scenes, video. Later slices (Β§9). |
| - Changing Docs. Docs is the reference; it moves onto the shared parts |
| this slice adds to estilo in its own time (Β§7). |
| -- A dark theme for the editor's chrome beyond what estilo already |
| - gives it. |
| ### 0.3 Anti-goals (failure even if it works) |
| @@ -72,12 +81,14 @@ last clicked and nothing else. |
| - **A control that looks like Docs' and behaves differently.** If |
| Format toggles a card in Docs, it toggles a card here, from the same |
| place in the bar, with the same keyboard behaviour. |
| +- **Something a person could do before and cannot now.** Every field |
| + and every action the inspector, the pill and the notes switch offer |
| + today is still reachable, by pointer and by keyboard (Β§4.4). |
| - **A lost word or a flash.** Moving the notes and the inspector must |
| not add a path around the save queue or the font gate |
| (`AGENTS.md`). |
| -- **A phone view that lies.** The phone frame must show what the |
| - viewer serves at phone width for that slide's setting, not an |
| - editor-only picture. |
| +- **A phone view that lies.** The phone frame shows what the viewer |
| + serves at phone width, and nothing the viewer does not. |
| --- |
| @@ -89,16 +100,16 @@ calls, listed so they can be reversed in one place. |
| | # | Call | Whose | Rejected alternative | |
| |---|---|---|---| |
| | E1 | The inspector is **Docs' floating card**: over the top right of the desk, shown and hidden by a **Format** button in the bar. | Paul ("more similar to the Docs inspector, e.g. floating") | A full-height docked panel with accordion sections (the first mockup). | |
| -| E2 | The card shows **one thing at a time, by selection**: a box's options; or, with nothing selected, the slide's, with the deck's under a rule. | Paul ("dynamic according to β¦ what element is clicked") | Deck, Slide and Block all listed at once, as today. | |
| -| E3 | **Character formatting lives in the card**, in a box's options. The stage toolbar keeps only the view switch. | Paul ("This should all be in the inspector") | The B / I / code / highlight / link pill above the stage. | |
| +| E2 | The card shows **one thing at a time, by selection**: a box's options; the notes' marks; or, with nothing selected, the slide's options with the deck's under a rule. | Paul ("dynamic according to β¦ what element is clicked") | Deck, Slide and Block all listed at once, as today. | |
| +| E3 | **Character formatting lives in the card.** The stage toolbar keeps only the view switch. | Paul ("This should all be in the inspector") | The B / I / code / highlight / link pill above the stage. | |
| | E4 | The view switch is **three icons, one lit**: desktop, phone, both. | Paul ("we need the third state") | Two on/off toggles (tried in the mockup; confusing). | |
| | E5 | Notes are **a floating card at the foot of the desk** with an Γ to close. Closed, they are **a small icon** in the desk's corner, with a dot when the slide has notes. | Paul | A switch in the toolbar and a pane under the stage, as today; a docked panel that folds to a one-line strip. | |
| | E6 | **New slide is pinned to the foot of the strip**, one pill with the layout chevron joined to it. | Paul asked; session proposed the pin | At the end of the list, scrolling away. | |
| | E7 | The desk is **Docs' grey**, taken from Docs' own value, and the strip is its own surface. | Paul | The warm ground the editor has today. | |
| -| E8 | A slide's **On a phone** setting has three values: document, letterboxed, arranged (Β§6). | Paul ("an option, to either show on the phone letterboxed, or to position elements separately for the vertical view") | Today's two values, and only on canvas slides. | |
| +| E8 | **The card holds today's fields, regrouped, and no new ones.** | Session (main-spec ruling 9: no per-block fonts) | The mockup's heading font, size and colour, which were drawn to show the layout. | |
| | E9 | The shared look (the floating card, its groups and segmented controls, the desk colour) goes into **estilo**, and Slides uses it from there. Docs is not changed in this slice. | Session | Copying Docs' rules into Slides (two copies drift); changing Docs now (a second app at risk for a Slides slice). | |
| -| E10 | The deck's **title is edited in the bar**; **unused images** moves to the File menu. Neither is in the card. | Session | Keeping every deck field in the card (it would be long again). | |
| -| E11 | In the phone frame, a document slide is followed by **the next slides, dimmed**, so the frame is full and true. | Session; shown to Paul in the mockup | The slide's content alone at the top of an empty frame. | |
| +| E10 | **The list of boxes on the slide, Add block, and the slide's own actions stay in the card**, in the slide's options (Β§4.3, Β§4.4). | Session | Tab stops on the stage's boxes (a different piece of work); a modal for Delete slide (house rules forbid it). | |
| +| E11 | The phone frame shows **this slide as the viewer serves it at phone width**, and only that. | Session | Draft 1's "following slides, dimmed": the viewer serves one slide to a page at every width, so that would have been a phone view that lies. | |
| --- |
| @@ -115,7 +126,7 @@ notes float over the desk; they are not regions. |
| βββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€ |
| β 1 β β [β β― ββ―] βββββββββββββββββββ β |
| β 2 β β β the inspector β β |
| -β 3 β β βββββββββββββββββββββ β (one of three) β β |
| +β 3 β β βββββββββββββββββββββ β (by selection) β β |
| β 4 β β β the slide β βββββββββββββββββββ β |
| β β¦ β βββββββββββββββββββββ β |
| βββββββββββ ββββββββββββββββββββββββββββββββββββ β |
| @@ -141,7 +152,8 @@ 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 is replaced by Format. |
| + "Inspector" toggle becomes Format: same place, same shortcut, same |
| + remembered state (`fixtures/head.mjs`), new name and look. |
| - **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 |
| @@ -167,8 +179,7 @@ A floating card, as in Docs: a white rounded card with a soft shadow, |
| over the top right of the desk. It has **no title**. Inside are small |
| labelled groups, with no accordion and no sections to fold. |
| -- **Format** in the bar shows and hides it, and remembers the choice |
| - as the bar's Inspector toggle does today. It is lit while the card |
| +- **Format** in the bar shows and hides it. It is lit while the card |
| shows. |
| - **The stage keeps clear of it.** While the card shows, the stage |
| reserves the card's width, so a frame is never under it; when it is |
| @@ -177,56 +188,92 @@ labelled groups, with no accordion and no sections to fold. |
| 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), and Format is in the menu sheet's place. |
| + matches it). |
| ### 4.1 What it shows |
| -Exactly one of these, decided by what was last clicked: |
| +Exactly one of these, decided by where the selection is: |
| | Selection | The card shows | |
| |---|---| |
| -| A box (click it, or put the caret in it) | That kind of box's options (Β§4.2) | |
| -| Nothing (click the desk, or a slide in the strip) | The slide's options, then a rule, then the deck's (Β§4.3) | |
| +| A box (click it, put the caret in it, or pick it from the list in Β§4.3) | That box's options (Β§4.2) | |
| +| The caret in the notes | The notes' marks: the Text group alone (Β§4.2) | |
| +| Nothing (click the desk, or a slide in the strip; or press Esc in a box) | The slide's options, then a rule, then the deck's (Β§4.3) | |
| -The card changes when the selection changes, and at no other time. It |
| -does not change because someone else selected something. |
| +The card changes when this person's selection changes, and at no |
| +other time. It does not change because someone else selected |
| +something. |
| ### 4.2 A box's options |
| -Every option that exists for a box today stays; this slice moves |
| -them, it does not add or remove any, except that the marks join them. |
| -Groups, in Docs' order where Docs has the same group: |
| +**Today's fields for that kind of box, regrouped. No field is added |
| +and none is dropped** (E8). The builder takes the exact list per kind |
| +from the Block section of `editor.html` and its locale keys |
| +(`slides.editor.block.*`); the table says where each goes. |
| -| Kind | Groups | |
| -|---|---| |
| -| Heading | **Style** (level; font; size) Β· **Text** (bold, italic, link) Β· **Alignment** Β· **Colour** | |
| -| Text | **Style** (size) Β· **Text** (bold, italic, code, highlight, link) Β· **Alignment** Β· **Colour** | |
| -| List | Text's groups, and **List** (bullet or numbered) | |
| -| Quote | Text's groups | |
| -| Image | **Image** (replace; fit) Β· **Description** (alt text) | |
| -| A box on a canvas slide | Its kind's groups, and **Box** (position and size, as today) | |
| - |
| -- The **Text** group is the marks that sat in the pill above the |
| - stage. Each is a toggle that shows the state of the selection, and |
| - is disabled when the selection cannot take it, exactly as the pill's |
| - buttons are now. Their keyboard shortcuts are unchanged. |
| +| Group | Holds | For | |
| +|---|---|---| |
| +| **Style** | Level | headings | |
| +| | Size | text, and the kinds that have it today | |
| +| | List style | lists | |
| +| | Shape, fill, stroke, stroke width, label | shapes | |
| +| | Language | code | |
| +| | Rows, columns, first row is a header | tables | |
| +| | Number of columns | columns blocks | |
| +| | Citation | quotes | |
| +| **Text** | The marks the pill has today: bold, italic, code, highlight, link | any box with text, as the pill allows today | |
| +| **Alignment** | Alignment | the kinds that have it today | |
| +| **Image** | Image file, fit, corner radius | images | |
| +| **Description** | Alternative text; decorative | images | |
| +| **Place** | Region (flow slides); position and size, bring forward, send back (canvas slides); move up, move down | every box, as today | |
| +| **On a phone** | Hidden, order, size, and Reset to desktop, with today's phone-override badge | every box, as today | |
| +| (foot) | Delete block | every box | |
| + |
| +- The **Text** group is the pill, moved. Each mark is a toggle that |
| + shows the state of the selection and is disabled when the selection |
| + cannot take it, exactly as the pill's buttons are now |
| + (`fixtures/format-bar.mjs`). Shortcuts are unchanged. **The pill |
| + formats the notes too**, so with the caret in the notes the card |
| + shows the Text group and nothing else. |
| +- A group with nothing in it for this box does not show. |
| - In phone view, changing an option that has a phone override writes |
| - the override, as today (Β§2.5 of the main spec), and the card says |
| - so with the phone-override badge that exists today. |
| + the override, as today (Β§2.5 of the main spec). |
| -The mockup also shows an **Appears** group (with the slide, or on a |
| -press) and, on the slide, **In the talk** (always, or full mode only). |
| -Those belong to the steps slice (Β§9) and are **not built here**. They |
| -are in the mockup to show where they will go. |
| +Not in this slice, though the mockup draws them: a heading's font, |
| +size and colour and alignment on kinds that have none today |
| +(illustrative only; ruling 9 stands); **Appears** on a box and **In |
| +the talk** on a slide (the steps slice, Β§9). |
| ### 4.3 The slide's and the deck's options |
| -- **Slide**: template; layout (flow or canvas); background; |
| - **On a phone** (Β§6). |
| -- **Deck**, under a rule: theme; heading font; accent colour. |
| -- The deck's title is edited by clicking it in the bar (E10). |
| -- "Unused images" is an item in the File menu that opens what the |
| - inspector's row opens today (E10). |
| +Today's Slide and Deck sections, regrouped. Nothing added, nothing |
| +dropped. |
| + |
| +- **Slide**: 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. |
| +- **This slide**: move up, move down, add, delete. Delete asks for |
| + its confirmation in the card, as it does in the inspector today. |
| +- **Deck**, under a rule: what the Deck section holds today (title |
| + and theme where it has them, accent and its reset, heading font, |
| + body font, unused images). |
| + |
| +### 4.4 The keyboard, and the card hidden |
| + |
| +The inspector's list of boxes is today the only keyboard way to select |
| +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 |
| + 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. |
| +- Focus moves into the card when a keyboard action opened it, and |
| + back to where it was when the card is dismissed. |
| --- |
| @@ -239,19 +286,20 @@ are in the mockup to show where they will go. |
| - **It keeps clear of the inspector**: it stops short of the card's |
| width while the card shows. The stage reserves the notes' height, |
| so a frame is never under them. |
| -- **Its height is adjustable** by dragging its top edge, between two |
| - lines and half the desk; taller notes scroll inside it. The height |
| - is remembered. |
| +- **Its height is adjustable** by dragging its top edge, and from the |
| + keyboard on that edge, between two lines and half the desk; taller |
| + notes scroll inside it. The height is remembered. |
| - **Closed**, the notes are a small icon button in the desk's bottom |
| start corner. A dot on it means this slide has notes. Its accessible |
| name says so in words, never by the dot alone. |
| - **Show notes** stays in the View menu and does the same thing as |
| the Γ and the icon. The switch above the stage goes. |
| -- Open or closed is remembered as the switch's state is today. |
| +- Open or closed is remembered where the switch's state is today |
| + (`NOTES_KEY` in `fixtures/editor-entry.js`). |
| --- |
| -## 6. The phone view, and On a phone |
| +## 6. The phone view |
| ### 6.1 The frame |
| @@ -260,66 +308,22 @@ proportions, as tall as the stage allows. It is no longer a card the |
| height of its content. In Both, the desktop frame and the phone frame |
| sit side by side. |
| -### 6.2 On a phone |
| +Inside it is **this slide as the viewer serves it at phone width**, |
| +fetched from the server as the stage's HTML is today, and placed as |
| +the viewer places it on a phone's page. The viewer serves one slide |
| +to a page at every width, so the frame holds one slide. If the slide |
| +is shorter than the phone, the rest of the frame is the viewer's page |
| +ground. If it is longer, the frame scrolls inside itself. |
| -Each slide says how it shows on a phone. Three values: |
| +### 6.2 On a phone, in this slice |
| -| Value | On a phone the slide is⦠| Today | |
| -|---|---|---| |
| -| **Document** | reflowed into the reading column; the next slide follows it down the page | flow slides always; canvas slides when `phone` is `reflow` | |
| -| **Letterboxed** | the whole 16:9 slide, scaled to the phone's width | canvas slides by default (`inherit`) | |
| -| **Arranged** | a tall page of its own, each box placed for the phone | does not exist | |
| - |
| -- The default is today's behaviour: a flow slide is Document, a |
| - canvas slide is Letterboxed. A deck made before this slice looks |
| - the same after it. |
| -- **Letterboxed becomes available to flow slides.** The viewer at |
| - phone width draws that slide's desktop rendering scaled to fit, |
| - as it does for a canvas slide. |
| -- **Arranged is new.** The slide gets a second frame, a tall one, and |
| - each box may have a place in it. In the editor, with the phone frame |
| - showing, a box drags and resizes in that frame and nowhere else. |
| - A box with no place of its own yet is put at the foot of the page |
| - in reading order. |
| - |
| -### 6.3 What this reverses, and its cost |
| - |
| -Ruling 2 of the main spec (Paul, 2026-09-07) chose reflow and |
| -scale-to-fit and rejected "a hand-authored second layout per slide". |
| -Arranged is that, for the slides that opt in. Paul asked for it on |
| -16 November knowing so. The cost is drift: a slide's phone |
| -arrangement can fall behind when its desktop side changes. This slice |
| -contains it by placing a new box at the foot of the phone page (never |
| -hiding it), and the later check slice (Β§9) reports arranged slides |
| -whose boxes were placed that way. |
| - |
| -### 6.4 In the phone frame |
| - |
| -The frame shows what the viewer serves at phone width for this slide |
| -and its setting: |
| - |
| -- **Document**: this slide, then the slides after it, dimmed, since a |
| - phone reader scrolls on into them (E11). Only this slide is |
| - editable. |
| -- **Letterboxed**: the 16:9 slide scaled to the frame's width, |
| - centred. |
| -- **Arranged**: the tall page. |
| - |
| -### 6.5 Two steps |
| - |
| -On a phone is a model change (a slide's `phone` gains values; a box's |
| -phone override gains a place in the tall frame; the viewer learns two |
| -renderings). The rest of this design is the editor's own chrome. So |
| -this slice is built in two steps, each shippable: |
| - |
| -1. **The chrome** (Β§2 to Β§5, Β§6.1, Β§6.4 for today's two behaviours). |
| - The On a phone control appears with the values that work today for |
| - that slide: a canvas slide has Document and Letterboxed; a flow |
| - slide has Document only. |
| -2. **The phone settings** (Β§6.2): Letterboxed for flow slides, then |
| - Arranged. Both through the core's ops under the fixtures rule, |
| - with the drive API and the agent verbs taking the same values, so |
| - a person and an agent can still never do different things. |
| +The slide's **On a phone** field is unchanged: it exists today, for |
| +canvas slides, with its two values ("Scale the canvas to fit"; |
| +"Reflow the blocks as a column"). It moves into the card's Slide |
| +group with everything else and shows when it applies, as now. |
| + |
| +The mockup draws a three-way choice (Document, Letterboxed, Arranged). |
| +That is the later phone slice (Β§9), not this one. |
| --- |
| @@ -337,8 +341,16 @@ float tokens (`--estilo-float-radius` and its padding): |
| Slides is the first user. Docs keeps its own rules and is moved onto |
| the shared parts later, as its own change, checked against Docs' |
| -tests. Until then the two must look the same, and a visual check in |
| -this slice holds that (Β§8). |
| +tests. |
| + |
| +**Holding the two alike until then** is done in estilo, not across |
| +apps: the new part is written from Docs' rules at a named Docs commit, |
| +and a test in estilo records the numbers that make the look (radius, |
| +shadow, padding, group label size, segmented control height and |
| +selected state) so that a change to them is a deliberate one. There is |
| +no automated Slides-against-Docs comparison; Slides has no gate that |
| +can render Docs. Before merge, the builder puts a screenshot of each |
| +app's card side by side in the branch's discussion for Paul. |
| --- |
| @@ -351,31 +363,42 @@ Constraints, from `AGENTS.md`, that bind this slice in particular: |
| - **Never a flash.** The card, the notes and the frames appear in |
| their final layout; nothing moves when a font arrives. |
| - **Every string is a catalog key**, in every locale the editor has. |
| - New strings here: Format, Notes, Close notes, Show notes (this |
| - slide has notes), Desktop, Phone, Both side by side, On a phone, |
| - Document, Letterboxed, Arranged. Removed: the Inspector title and |
| - its bar label. |
| + New: Format, Notes, Close notes, Show notes (this slide has notes), |
| + Both side by side, and the card's group labels where no key exists |
| + (Style, Text, Place, Description, Boxes, This slide). Reused: |
| + Desktop, Phone, On a phone, and every field's own label. Removed: |
| + the Inspector title and its bar label, the notes switch's label. |
| - **Accessible by construction.** Icon-only buttons have names; the |
| view switch is radios; the notes' dot is never the only signal; |
| focus order is bar, strip, stage, notes, inspector; the card and the |
| - notes are reachable and operable from the keyboard; WCAG 2.2 AA |
| - contrast on the grey desk. |
| + notes are reachable and operable from the keyboard (Β§4.4); WCAG 2.2 |
| + AA contrast on the grey desk. |
| - **Icons are lucide, inline**, from `internal/slides/icons`. |
| - **Vendored components where one exists** (`AGENTS.md`, UX |
| conventions): do not hand-roll a field or a switch. |
| +- **The gate.** Browser tests sit where the repo's existing browser |
| + tests sit; the gate itself is as `AGENTS.md` describes it. |
| Tests, each written before the code it holds: |
| - The page does not scroll: with a deck of forty slides, long notes |
| - and every option showing, the document's scroll height equals the |
| - window's, at 1280Γ720 and 1920Γ1080. |
| -- The card shows the options of the selection and no others, for |
| - each kind of box, for nothing selected, and after each change of |
| - selection; and does not change on another collaborator's selection. |
| -- Every option reachable before this slice is reachable after it |
| - (a list of today's fields against the card's, by name). |
| + and a box with every group showing, the document's scroll height |
| + equals the window's, at 1280Γ720 and 1920Γ1080. |
| +- **Nothing is lost:** every field and action in today's Deck, Slide |
| + and Block sections, the pill's marks, and the notes switch, by its |
| + catalog key, is present in the card (or the place this design names) |
| + for the selection it belongs to. The list is written from `main` |
| + before any template changes. |
| +- The card shows the options of the selection and no others: for each |
| + kind of box, for the notes, for nothing selected, and after each |
| + change of selection; and it does not change on another |
| + collaborator's selection. |
| - The marks in the card toggle the same marks, with the same |
| - shortcuts and the same disabled states, as the pill did. |
| + shortcuts and the same disabled states, as the pill did, in a box |
| + and in the notes. |
| +- 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; |
| typing in the floating card saves through the same queue (the |
| @@ -384,15 +407,12 @@ Tests, each written before the code it holds: |
| - The view switch: one of three, by pointer and by keyboard; the |
| frames that show for each. |
| - The phone frame is a phone's proportions and no taller than the |
| - stage; for Document it shows the following slides. |
| -- On a phone, step 2: each value renders in the viewer at phone width |
| - as Β§6.2 says; a deck made before the slice renders byte for byte |
| - as it did; an arranged slide's new box is at the foot of the page; |
| - the same three values through the drive API. |
| + stage, and its content is the server's phone rendering of the |
| + slide (the same bytes the stage shows in phone view today). |
| - The deck list's cover is centred (the picture's content box is |
| centred in the cover, by measurement). |
| -- Slides' card beside Docs' card, in the browser gate: same radius, |
| - shadow, group label size and segmented control metrics. |
| +- In estilo: the recorded numbers of the floating card and the |
| + segmented control (Β§7). |
| --- |
| @@ -419,6 +439,13 @@ document. Its order of work, agreed in conversation: |
| 6. Layouts. |
| 7. Offline. |
| +And one more, raised on 16 November, not yet placed in that order: |
| + |
| +- **On a phone.** Paul: "there needs to be an option, to either show |
| + on the phone letterboxed, or to position elements separately for |
| + the vertical view". That is a model change with questions of its |
| + own (Β§11, 1 and 2), so it is not in this slice. |
| + |
| --- |
| ## 10. Left to the builder |
| @@ -433,24 +460,60 @@ document. Its order of work, agreed in conversation: |
| - 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. |
| -- The tall frame's proportions for Arranged, and the op and the |
| - override's shape, within Β§2.5 of the main spec and the fixtures |
| - rule. |
| +- The exact per-kind field lists for Β§4.2, from the template. |
| +- Where in the card each of today's slide actions sits within the |
| + groups Β§4.3 names. |
| ## 11. Open questions for Paul |
| -1. **Arranged, now or later?** Step 2 of Β§6.5 can stop after |
| - Letterboxed for flow slides, which is small, and leave Arranged |
| - for when a deck needs it. Recommendation: build Letterboxed now and |
| - Arranged with the scenes slice, when tall pages get their first |
| - real use. |
| -2. **One slide to a screen on phones?** Letterboxed and Arranged |
| - slides each fill a phone screen, while Document slides run on as a |
| - page. In a deck that mixes them, a reader scrolls through both. |
| - Is that right, or should a deck be one or the other throughout? |
| +None of these blocks this slice. The first two decide the later phone |
| +slice. |
| + |
| +1. **Letterboxing a flow slide, against the reflow rule.** A canvas |
| + slide already scales to fit on a phone, with a floor under its |
| + type. A flow slide scaled the same way puts body text near 9px on |
| + a narrow phone, and `AGENTS.md` holds "320px reflow, no |
| + exemptions". Do you want letterboxing for flow slides anyway (as |
| + a deliberate exception, perhaps with pinch to zoom), or only the |
| + tall arranged page for slides that should not reflow? |
| +2. **Arranged reverses a ruling.** Ruling 2 of the main spec (you, |
| + 2026-09-07) rejected "a hand-authored second layout per slide". A |
| + tall page arranged by hand is that, for slides that opt in, and it |
| + can fall behind when the desktop side changes. Confirm you want |
| + it. |
| 3. **Frames with their own settings.** You asked whether the desktop |
| and phone views could have settings of their own, as artboards do |
| in Figma. A mockup exists (click the Desktop frame, the Phone |
| - frame, a box, or the desk, and the card follows). You then said the |
| - single Slide card with On a phone in it was fine for now. It is |
| - left out of this slice. Keep it out, or add it to a later one? |
| + frame, a box, or the desk, and the card follows). You then said |
| + the single Slide group with On a phone in it was fine for now. It |
| + is left out. Keep it out, or add it to the phone slice? |
| +4. **How long the slide's card is.** Keeping the list of boxes and |
| + the slide's actions in the card (E10) makes the nothing-selected |
| + card longer than the mockup's; it scrolls inside itself. The |
| + alternative is to move the slide's actions (move, add, delete) to |
| + the Slide menu and the strip's per-slide menu only, where they |
| + also are today. Recommendation: move them, and keep the list of |
| + boxes. |
| + |
| +## 12. Review record |
| + |
| +- **Builder check, 2026-11-16** (a fresh agent, read-only, asked what |
| + it would need before planning draft 1). Six questions; all answered |
| + in draft 2: |
| + 1. *Is Β§4.2 the target or today's fields regrouped?* Today's fields, |
| + regrouped (E8). The table now says so and the mockup's extras are |
| + named as illustrative. |
| + 2. *Does the phone viewer become a continuous page?* No. Draft 1 |
| + wrongly assumed a phone reader scrolls from slide to slide; the |
| + viewer serves one slide to a page at every width. The "following |
| + slides" frame is gone (E11), and the new phone settings left this |
| + slice. |
| + 3. *The notes' marks.* The card shows the Text group when the caret |
| + is in the notes (Β§4.1, Β§4.2). |
| + 4. *Keyboard selection of a box, and Delete slide's confirmation.* |
| + The list of boxes and the confirmation stay in the card (E10, |
| + Β§4.3, Β§4.4). |
| + 5. *What Letterboxed means on a flow slide.* Not decided here; it is |
| + question 1 of Β§11, for the phone slice. |
| + 6. *Where the Slides-against-Docs check runs.* In estilo, as |
| + recorded numbers, with a side-by-side screenshot for Paul (Β§7). |