oficina / slides Public
🤖 Slides: the quieter editor — design
Design, 2026-11-17, draft 2, approved by Paul the same day ("Let's go with it and we can iterate when built"; then "Very nice" to the question of whether that covered this document; §12's three questions stay open). Draft 2 answers a builder's read of draft 1 (§13). Written by Claude Fable 5.2 on branch design/quieter-editor, cut from origin/main at 07d2e96, from a conversation with Paul on 17 November: a UX review of the merged editor (two independent assessments, one by a design reviewer and one a scan and count of the code), four choices he made from it, and a clickable mockup he answered with "Let's go with it and we can iterate when built."
The mockup is beside this file: 2026-11-17-quieter-editor-mockup.html (Proposed and Today, side by side). It shows where things go and how much is on screen. Where this text and the mockup disagree, this text wins; §4.5 lists three things the mockup draws that are not in the slice.
It builds on, and does not restate:
- the Slides design,
2026-09-07-slides-design.md(the main spec); - the editor tidy,
2026-11-16-editor-tidy-design.md(the tidy), whose card, notes, strip and cookies this slice changes; AGENTS.md.
This slice changes no document state. No field, op, migration or renderer changes. Every field the editor offers today is still offered; most of them move.
---
0. Intent
Paul, of the merged editor: "It's too clunky right now. I think it could be more subtle without being unintuitive."
The review put numbers on it. At rest the editor shows about 38 controls where Docs shows about 22. The card's markup holds 57 controls under 10 group labels, shows the slide's form and the whole deck's form whenever nothing is selected, and scrolls. Six surfaces carry a border or a shadow where Docs has three. Position, order and layer are form fields and standing buttons, though the slide already has handles.
Success is that with nothing selected the editor shows the slide, its strip, and a card with one visible choice; and that nothing a person could do before has become harder to find.
0.1 Goals
- The card shows only what describes the selected thing's look.
- Arranging a box is done on the box.
- Settings visited once per deck are not on screen all the time.
- The strip, the notes and the view switch take less ink.
0.2 Non-goals
- Steps, full only, parked, the presenter. The next slice (§9).
- Drag to reorder boxes, or to move them between regions, on a flow slide. Reordering stays a command (§5).
- Arranging the phone layout by hand in the phone frame. The phone slice.
- Any new field, including duplicate box and text colour (§4.5).
- Changing estilo's shared controls (§7).
0.3 Anti-goals (failure even if it works)
- Subtle and unfindable. Every action that left the card has a visible home a new person meets without a manual: a button on the selected box, a menu in the bar, or a named row in the card.
- Mouse-only. Everything in the box's menu is reachable from the keyboard, and a box that holds no text can still be selected, changed and deleted with the keyboard alone (the tidy's §4.4).
- Something lost. The tidy's "nothing is lost" inventory still passes, with each field's new home written beside it.
- A flash. The card, the notes and the dialog paint in their final state (the tidy's cookies stay).
- Slides drifting from Docs. Where a control is estilo's, it looks as it does in Docs (§7).
---
1. Calls this design makes
| # | Call | Whose | |---|---|---| | Q1 | With nothing selected, the card is a row of layout pictures and a quiet Background and Transition line. | Paul (chose it from the review) | | Q2 | The deck's settings move to a Deck settings dialog under File. The deck's title is edited only in the bar. | Paul | | Q3 | With a box selected, the card holds only that box's style. Layer, order, region, position and delete move to a menu on the box. | Paul (approved the mockup) | | Q4 | Notes stay a floating card, quieter; closed, they are a text tab. | Paul | | Q5 | The list of boxes and Add block leave the card. Boxes become tab stops on the stage, and View gains an Outline. | Session; drawn in the mockup Paul approved | | Q6 | On a phone shows only in Phone and Both view, and the stage says the phone layout is being edited. | Session, from the review | | Q7 | Flow or Canvas stops being a separate field: Free placement is the ninth layout picture. | Session, from the review | | Q8 | The strip loses the title under each thumbnail; the number moves to a gutter; New slide is a quiet row after the last slide. | Paul (approved the mockup) | | Q9 | The view switch stays above the slide, as three icons. | Session; the reviewer would move it into the bar | | Q10 | estilo's controls keep estilo's look, accent included. The quiet comes from fewer things, not from recolouring shared parts. | Session (§7); the mockup draws these neutral | | Q11 | New words go to Paul's copy review before they are written into any file. | House rule; the tidy got the order wrong |
---
2. The page at rest
Bar, strip, desk, as the tidy left them. What differs:
- The card floats where it does today, 248px, and is short (§3.1).
- The strip (§6).
- The notes (§6).
- The view switch is unchanged: estilo's segmented control above the slide (§7).
Below 1100px the stacked column stays; the card in the flow is now a few rows.
---
3. The card
Still estilo's floating card, still following the selection through [slides-editor][data-inspect]. Its buttons are estilo's segments and quiet rows. No bold outlined pill (rst-btn) remains in it, and no standing paragraph of help.
3.1 Nothing selected
- Layout: eight pictures, four across: the slide's seven templates (the values of today's Template field), then Free placement. Exactly one is lit: the slide's template, or Free placement on a canvas slide. Each has a name as its tooltip and its accessible name. It is a radio group. The pictures are in the style of the New slide glyphs, one per template; they are not the eight New slide layouts, two of which share a template. Choosing a picture never adds or removes a box. - Choosing a template on a flow slide sets the slide's template, as the Template field does today. - Choosing Free placement sets the slide's layout to canvas, as the Canvas choice does today. - Choosing a template on a canvas slide sets the layout to flow and the template. That drops each box's position, so it asks first, in the card, the way Delete slide does: one line saying the boxes go back into the layout's regions, with the action and Cancel. Not a modal, and not a standing hint.
- Background and Transition: two quiet rows under the grid. Each opens a small popover holding today's field: background and its colour; transition.
- Nothing else. The slide's On a phone choice is in §3.4.
3.2 A box selected
Today's style fields for that kind, as the tidy grouped them, minus everything in §4:
| Group | Holds | |---|---| | Style | Heading level, shown as three segments named in words (the three levels that exist); size as three segments; list style; shape kind, fill, stroke, stroke width, label, corner radius; code language; table rows, columns, header; column count; citation | | Text | The five marks | | Alignment | Alignment, as segments | | Image | Image file, fit as segments | | Description | Alternative text; decorative |
- Fill and stroke stay colour fields. They are drawn as a swatch that opens the colour picker, not as a bar.
- Corner radius does not show for a shape whose kind has no corners.
- A group with nothing in it for this box does not show (estilo's rule).
3.3 The caret in the notes
As today: the Text group alone.
3.4 Phone and Both view
In these two views, and only in them:
- with nothing selected, the card adds the slide's On a phone choice (canvas slides, as today);
- with a box selected, the card adds the On a phone group (hidden, order, size, reset, and today's override badge);
- in Phone view only, the stage carries one line of text beside the view switch saying that the phone layout is being edited, so a person knows why an edit there differs. In Both view the editable stage is the desktop's, and dragging or placing a box there edits the desktop layout, so the line is not drawn (ruling R18, from the whole-branch review).
In Desktop view none of the three shows.
---
4. The menu on a box
4.1 How it opens
- A round button on the selected box's outline, at its top end corner. It is a real button with a name, at least 24px, and it never covers a resize handle.
- The keyboard: the context-menu key or Shift+F10 with a box selected.
- Right-click on a selected box, unless the pointer is in text being edited. In text the browser's own menu opens, because that is where spelling and paste live.
It is estilo's menu. Esc closes it and returns focus to the box.
4.2 What it holds
Each row shows its key. A row that does not apply to this box is not drawn.
| Row | Does | Applies to | |---|---|---| | Bring forward, Send back | Today's two commands | canvas slides | | Move up, Move down | Today's two commands | every slide, as today (on a canvas slide they set reading and phone order) | | Move to region ▸ | Today's Region field, as a submenu | flow slides | | Position and size… | Shows the Place row in the card (§4.3) | canvas slides | | Delete | Today's Delete block | every box |
Keys: the builder proposes them with the copy (Q11), checks each against the browser's and the editor's existing shortcuts, and lists them in the keyboard-shortcuts dialog.
New behaviour, and the only one: Delete or Backspace deletes a box when the box itself has focus and no text is being edited (§4.4). Today no key deletes a box. It never fires from inside text, and the strip's own Delete (which asks about a slide) is untouched, because focus is in the strip then.
4.3 Position and size
Left, top, width and height stay available for a canvas box, because handles cannot type 60.0. They are a Place group in the card that is closed by default and opened by Position and size… in the menu, or by its own disclosure row at the foot of the card. Open or closed is remembered for the session, not across reloads.
4.4 Selecting a box without a pointer
- Every box on the stage is a tab stop, in the slide's order. Focus on a box selects it: the card shows its options and the round button shows. Esc returns to the slide. - A box with text: its tab stop is its own text, as the editor mounts it today. Tabbing to it puts the caret in it, which already selects the box. Tab leaves it for the next box, unless the text editor already uses Tab there (a table moves between its cells first, then on). - A box with no text (shape, image, divider, spacer and the like): it gets a focusable outline of its own, on flow slides as canvas slides have today. This is the "box itself has focus" of §4.2.
- View → Outline opens a popover listing this slide's boxes by kind and first words. Choosing one selects it and closes the popover. This is the list the card holds today, moved.
- Tab order of the page: bar, strip, the slide's boxes, notes, card.
4.5 Drawn in the mockup, not in this slice
- Duplicate in the box's menu. There is no op to duplicate a box.
- Colour on a text box. There is no such field (main-spec ruling 9).
- Neutral tints on Format and the selected segments, and a view switch without its frame. See §7.
- Nine layout pictures, some of layouts that do not exist. There are eight (§3.1).
---
5. Adding things
- Add block leaves the card. The Insert menu holds every kind, as today, and is the one place.
- The layouts stay on New slide's chevron and in Insert.
---
6. The strip and the notes
6.1 The strip
- No title under a thumbnail. The slide's number sits in a narrow gutter beside it. The thumbnail keeps its accessible name (number and title), and its title becomes its tooltip.
- The current slide has one mark: the accent outline.
- The ⋮ button shows on the current, hovered or focused thumbnail, as now, on a translucent ground so it reads on a light slide in the dark theme. Right-click on a thumbnail opens the same menu.
- New slide is a quiet row directly after the last thumbnail, with the layouts chevron beside it. It scrolls with the list. The foot that pinned it goes. (This reverses the tidy's E6. With no titles about six slides fit where four did, and the Slide menu, Insert and the shortcut add a slide from anywhere.)
6.2 The notes
- Open: the same card and field, in the same place in the stage pane (it takes its room by layout, as now). In Desktop view it is the slide's width and aligned with its edges; in Phone and Both view it keeps today's width. Either way it stops short of the card, as the slide does. A hairline frame and no shadow. No heading: the field's placeholder names it. The × stays. The resize edge stays, and its grip shows on hover and on focus.
- Closed: a text tab at the bottom start of the desk in place of the icon: the word for notes, followed by a count of the words when the slide has any. No dot.
- State and height stay in the tidy's cookies.
---
7. Shared parts, and where this stops
Format's lit state, the selected segment, the primary Present pill and its shadow are estilo's, and Docs shows them the same way in its own accent. This slice does not restyle them for Slides alone: a control that looks one way in Docs and another in Slides is what the tidy was for.
So Slides' quiet comes from what it removes. If Paul wants the shared selected state itself quieter, that is a change to estilo, for both apps, and its own piece of work.
What this slice does own:
- no accent on anything that is Slides' own except the selection outline and the current thumbnail;
editor.cssuses the type sizes and radii estilo and rastrillo publish wherever one fits. A value the editor needs and they lack (a glyph's 2px corner, the phone's 28px, a circle) is declared once, by name, in one block at the top of the file. Nothing else in the file states a size or a radius as a number. No token is added to estilo or rastrillo for this.
If the box's menu, the popovers or the dialog need something estilo lacks, it is added to estilo first, as the desk part was.
---
8. The Deck settings dialog
File → Deck settings… opens a dialog in the pattern the keyboard-shortcuts dialog already uses (Share is a page, not a dialog). It holds what the card's Deck group holds today, unchanged: theme, accent and its reset, heading font, body font, unused images. Changes apply as they are made, as they do in the card today; the dialog has one button, to close.
The deck's title is not in it. The bar's title field is the one place.
---
9. Where this sits
The order of work, as it stands on 17 November:
- The editor, tidied. Merged,
07d2e96. - This slice.
- Steps, full only and parked, and the presenter. Decided so far, in conversation with Paul, and to be written up in that slice's own design: - Network: the window you press in always moves; other windows and the phone follow through the server. Both windows on one laptop staying together with no network is wanted afterwards, and may be a Mac app. So a position is absolute (this slide, this step, this mode), never relative. - A slide is always in the talk, full only, or parked. A parked slide stays in place in the strip as a slim bar. Set from the slide's own menu in the strip. - Steps in the editor, in the subtle form: the stage always shows the finished slide; one "Appears" row in the box's card; press numbers as small numerals in the box's margin; a small control in the slide's corner to step through, only on slides that have steps; how things arrive is one setting for the deck. - The presenter window is the HalfStack deck's, copied:
2026-11-17-presenter-mockup.html. One menu is added for what Slides has and the deck did not (pairing a phone, the slide window, ending). Open with Paul: the typefaces, and whether Present opens the slide first. - Paul's additions to the presenter, 17 November: its layout is customisable (move and resize the panels; remembered per person, with a reset to the default); the notes can fit or scroll, with their text size under the presenter's control; jumping to any slide stays (type a number, or pick from a grid); and the window shows where you are in a slide's steps, because that was unclear when giving the talk. The notes' controls are icons, not words. The slide picker has to stay usable at the HalfStack deck's size (105 slides): it scrolls, opens on the current slide, and narrows as a number or words are typed. - The presenter window never scrolls (Paul, 18 November). Every panel fits the window at any size, and the slides scale to the room. Only two things scroll, inside themselves: the notes when the presenter chooses Scroll, and the slide picker. - Where you are in a slide's steps sits beside the slide number (Paul, 18 November: "I was pressing advance, and the slide number wasn't going up ... I wasn't sure why"). Every press visibly moves something next to the number. - Proposed, not yet answered by Paul: the notes follow the steps, with the part for the current press bright and the rest dimmed. The mockup draws it. - Scenes and video. 5. Rehearsal and requests. 6. Checks, storyboard, the talk as prose. 7. Layouts. 8. Offline.
---
10. Constraints and testing
From AGENTS.md, binding here in particular: the stage is not a second renderer; never a flash; every string a catalog key; icons lucide, inline; WCAG 2.2 AA; targets at least 24px; destructive actions never a modal; editor-entry.js is wiring only; the committed bundle is rebuilt.
Tests, each written before the code it holds:
- Nothing is lost: the tidy's inventory, rewritten with each field's and command's new home (card group, box menu row, Background or Transition popover, Deck settings dialog, phone-view group), and asserted there.
- At rest at 1280×720 the card does not scroll and holds the layout group of eight, two rows, and nothing else; exactly one picture is lit for a slide of each template and for a canvas slide.
- Choosing each layout picture writes what the Template and Layout fields wrote; leaving Free placement asks in the card, and Cancel changes nothing.
- The box's menu: opens from the button, the keyboard and right-click; right-click in text being edited does not open it; each row does what its field or button did; rows that do not apply are absent; Esc returns focus to the box.
- Keyboard alone, starting from the bar: reach a shape, change its fill, send it back, open Position and size, delete it.
- Outline lists the slide's boxes and selects the one chosen.
- On a phone shows in Phone and Both view and not in Desktop, for the slide and for a box; the stage's line shows with it.
- Deck settings: every field writes what it wrote in the card; the title is editable only in the bar.
- The strip: no visible title, the accessible name unchanged, New slide after the last thumbnail, right-click opens the item's menu.
- Notes: the card's edges match the slide's within 1px; closed, the tab's text says whether there are notes, in words.
editor.cssstates no font size or radius as a number outside its one named block (a test over the stylesheet).- Delete with a shape focused deletes it; Delete with the caret in a heading deletes a character; Delete in the strip still asks about the slide.
- The tidy's tests for no page scroll, the cookies' first paint, and the font wait still pass.
---
11. Left to the builder
- The exact keys in the box's menu, and Outline's.
- The popovers' and the dialog's markup, from what estilo and the keyboard-shortcuts dialog already provide.
- Rewiring what reaches into the card today: the Insert menu's block rows press the card's Add block buttons; the bar's title writes through the card's Deck title field; Esc in a box's options returns focus to the Boxes list.
- Where the round button sits when a box is at the slide's edge.
- Which of
editor.css's sizes and radii map to which tokens. - The wording, as proposals for Paul's copy review (Q11).
12. Open questions for Paul
None blocks the build.
- The accent on shared controls (§7). The mockup draws Format and the selected segments neutral. Built, they will be orange-tinted as Docs' are blue-tinted. Leave that, or quieten the shared selected state in estilo for both apps?
- New slide no longer pinned (§6.1). You asked for the pin in the tidy. The quiet row scrolls away on a long deck. Keep the row, or keep a pinned foot in the quieter style?
- The view switch (Q9). Stays above the slide as it is, or moves into the bar as one phone-preview button, as the reviewer suggested?
13. Review record
- UX review, 2026-11-17: a design review (Claude Opus 5.5) from sixteen screenshots and the merged source, and a separate scan and count (Claude Sonnet 5.5). Score 24 of 40 on Nielsen's ten. Its priority issues are §3, §4, §3.4, §7 and §6 here. Where it contradicted what Paul had already decided (docked notes, parked slides in a pile), Paul chose: notes stay floating; parked slides stay in place.
- Builder check, 2026-11-17 (a fresh agent, read-only, asked what it would need before planning draft 1). Three statements about today's code were wrong and are corrected: there are seven templates, not eight; Share is a page, not a dialog; no key deletes a box today. Six questions, all settled as the session's calls: 1. Templates or New slide layouts? The seven templates plus Free placement; a picture sets the template and never adds a box (§3.1). 2. Where does Tab land on a text box? In its text, which selects the box; boxes with no text get a focus outline of their own (§4.4). 3. Move up and down on canvas slides? They stay, as today (§4.2). 4. The notes' edges in Phone and Both view? Today's width there; the slide's edges in Desktop view only (§6.2). 5. A frameless view switch? No. It stays estilo's control (§2). 6. New tokens? None. One named block in
editor.cssfor values the published set lacks (§7). - As built, 2026-11-18. Rulings the session made while the ten tasks were built and reviewed (each task by GPT-6 Astra, then the whole branch). Where they differ from the text above, they are what shipped: - §3.1 While the card asks before leaving Free placement, Free placement stays the lit picture; the one asked about carries a dashed "pending" outline until the answer. - §3.2 An image's limits ("PNG, JPEG, WebP or SVG, up to 20 MB.") stay visible as one quiet line under its file field. "No standing paragraph of help" meant the multi-sentence explanations. - §3.4 "Editing the phone layout" shows in Phone view only. In Both view dragging a box edits the desktop layout, so the line was false there; the card's On a phone settings still show in both. - §4.1 The round button sits above the box's top end corner, clear of the handles and, where it can, of other boxes; when no spot on the slide is free it docks beside the view switch. In text being edited the browser's own menu always wins on right-click; a text box's menu is the button or Shift+F10. - §4.2 The menu's first row on every box is Format: it shows the card and puts focus in the box's options, which is the keyboard's way in. Move to region is four rows in the menu, not a submenu (estilo has no submenu part). Keys: Ctrl/Cmd+] and Ctrl/Cmd+[ for forward and back, Ctrl/Cmd+Shift+Up and Down to move, Shift+F10 for the menu, Delete to delete a focused box. After a delete, focus goes to the next box. - §4.3 Position and size's open state is kept in memory for the page, so a reload starts closed. Its percentage note is visible. - §6.1 A slide's number in the strip is real text, shown once and spoken once ("1 Welcome to Slides, current slide"), and renumbered when slides move. - §6.2 The notes' tab counts words. One word reads "Notes · 1 words": the approved wording has no singular, and that is Paul's to decide. - §7 Notes text stays 15px and the strip's number 12px as named values; everything else in
editor.cssuses the published sizes and radii. The floating card is kept on its own compositing layer from first paint (will-change: transform), which stops a one-pixel change at load whose trigger was not found. - Found, predating this work, not fixed here: on a canvas slide a box hidden on the phone is still drawn (the renderer's rule loses to the box's own); after New slide, a save that finishes late can override where the person has since navigated; at 320px the bar's divider and account control wrap onto a row of their own.