Editor: the Outline stays inside the window
The Outline was placed at the View title's left edge with nothing to keep it in the window, so on a narrow screen its rows ran past the right edge. open() now moves it back from the end edge when its title is nearer that edge than the panel is wide, and caps its height at the room under its title, past which it scrolls inside itself. TestQuieterOutlineFits checks it at 1000x800 and 320x700 on a slide of twenty boxes, one with a long heading: the panel inside the window, every row reachable, the long label cut with an ellipsis in its row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 files changed,
+134
−17
fixtures/outline.mjs+19 −0fixtures/outline.test.mjs+26 −0internal/slides/credits/assets.json+1 −1internal/slides/static/editor.4552a48e18eb34e3.js+0 −16internal/slides/static/editor.772606a03f877bb4.js+16 −0internal/slidestest/browser_quieter_test.go+72 −0
fixtures/outline.mjsLoading diff…
fixtures/outline.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/editor.4552a48e18eb34e3.jsLoading diff…
internal/slides/static/editor.772606a03f877bb4.jsLoading diff…
internal/slidestest/browser_quieter_test.goLoading diff…