Spec: Docs editor I2, revision 2.1 (#105 re-review: approved with changes)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+23
−0
docs/superpowers/specs/2026-11-11-editor-i2-design.md+23 −0
CI passed — run details
diff --git a/docs/superpowers/specs/2026-11-11-editor-i2-design.md b/docs/superpowers/specs/2026-11-11-editor-i2-design.md| index 1fefee3..4d913b4 100644 |
| --- a/docs/superpowers/specs/2026-11-11-editor-i2-design.md |
| +++ b/docs/superpowers/specs/2026-11-11-editor-i2-design.md |
| @@ -252,3 +252,26 @@ These override the sections above. |
| ### Reference values, not requirements |
| The sub-pixel optical offsets, shadow strings, the glow-fade curve, glow percentages, icon drawings and the title-measuring technique above are the mock-up's values. They are references to match by screenshot comparison against `design/editor-looks`, not mechanisms to copy. |
| + |
| +### Revision 2.1: from the re-review (#105, APPROVED WITH CHANGES) |
| + |
| +- **C1, Format's home:** estilo's `Action` gains two things. `WideOnly` hides the action below 64rem in the bar and omits it from the Menu sheet. A `Toggle` kind renders a `<button aria-expanded aria-controls>` that is `disabled` until script binds it. |
| + - Format is a `WideOnly` toggle. Sheets will want the same. |
| + - estilo states its breakpoints in rem (64rem), not px. |
| +- **C2, the closed inspector:** at 64rem and above with the inspector closed, every toolbar control is hidden but is still in the roving set. |
| + - `toolbar-roving.mjs`'s `reachable()` filters on `checkVisibility()`, not only `disabled`, and re-runs on resize. |
| + - `focusStop()` returns false when nothing is visible, so Escape in the editor (editor-entry.js:824) stays put. |
| +- **C3:** `docs-inspector=closed` hides only the inspector at 64rem and above. Below that the strip shows regardless. There is a test at 1000px. |
| +- **C4, Share from the Menu sheet:** opening the popover closes `<details estilo-bar-more>`. Esc returns focus to the Menu trigger, not to the row inside the closed sheet. |
| +- **C5, the busy shape of popover actions:** awaiting Paul's ruling. |
| + - Either way, the script refuses a second in-flight submit and holds a switch at its new position until its request settles. If the request fails, the switch reverts with the error. |
| +- **C6, undo/redo at 320px:** awaiting Paul's view of a measured phone header. |
| + - It must be measured across every locale's "Menu" label and added to the 320px `scrollWidth` check. |
| + - Fallback if it doesn't fit: below 800px the strip keeps the pair, both pairs outside roving. |
| +- **Test notes:** |
| + - Go tests of the fragment set `Sec-Fetch-Dest: empty`. |
| + - `sharePost`'s empty-address 400 path (share.go:273-282) also renders the fragment when `panel=1` is in the body. |
| + - `TestToolbarOptionValuesMatchTheBundle` widens to the lead and inspector partials. |
| + - `TestTheOwnerGetsAShareControlInTheBar` is rewritten for the new actions order. |
| + - The `size` claim is that nothing after the title moves. |
| + - The shim is re-vendored from the rastrillo version Docs pins (v0.29.1-0.20261027164201-054787952dd2), so the drag script and the switch CSS come from one tree. |