Repository navigation
Ask a workspace playground for a short premise - #3636
Merged
Merged
Conversation
A playground whose controls all stand on its stage, laid out in a workspace that fills the window, kept the instruction and its Send button whole in view and gave the stage whatever was left, down to a 12rem floor. At 900×700 that left a 192 px stage on the study's alert page, with none of its 12 controls in view; the judge in the bad-pages study found the stage too short on 4 of 9 configuration pages. The stage now keeps at least half the window (`max(12rem, 50dvh)`), and the instruction takes its content's height (`max-content`) below it. Where both don't fit, the workspace scrolls to the instruction and Send instead of squeezing the stage. The instruction row has to be `max-content` as well: with only a larger floor, a short window scrolled the instruction inside its own box while the workspace scrolled too. Measured on the study page, Chromium and Firefox alike: - 900×700: stage 192 → 350 px, controls in view 0 → 2 of 12; Send moves 164 px of workspace scroll below. - 1280×720: stage 225 → 360 px, controls in view 1 → 3 of 12. - 900×500: stage 192 → 250 px; the instruction no longer scrolls inside itself. Windows narrower than 720 px or shorter than 480 px, where the workspace flows, are unchanged, as are playgrounds with a controls rail (notification-playground, data-explorer). The short-workspace playground test now holds the new contract: the stage keeps half the window, the instruction doesn't scroll on its own, and the workspace scrolls to its end and to Send. Max's decision #28c on the overnight report. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
On a workspace page, every line of premise between the playground's question and the playground pushes the instruction and its Send button further below the window. The study's alert page at 900×700 spent 149 px above the stage, three of its lines on premise. The playground's author instructions now ask for one or two sentences there, leave a fact the preview already shows to the preview, and put a qualification the user may want in an lf-gloss, which opens on hover, focus or a tap without moving the page. Measured on the study page with the half-window stage floor (#3622), Chromium and Firefox alike, the premise cut from three sentences to one: at 900×700 the playground starts 21 px higher and Send needs 131 px of workspace scroll rather than 151; at 1280×720, 102 rather than 122. The stage keeps its height (350 and 360 px) and its controls in view (2 and 3 of 12) at both sizes, since the stage stands at its floor there; prose above it moves only the instruction and Send. No collapse mechanism is added: lf-gloss is already the on-demand route, opening by hover, keyboard (Tab reaches it first and opens it) and tap without moving the page in either engine. Clamping the premise in the runtime would save at most the 66 px the whole paragraph takes, and hide the premise the question rests on. playground-controls-stand-by-their-item gains a workspace-premise-is-short rubric. Claude Code: base 0/2 (three sentences each); the rule placed in page-layout.md's workspace section 0/2 (read, not followed); the rule in the playground's author.md 2/2. Max's decision #28c on the overnight report, with his follow-up asking to cut or collapse the prose at the top. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On a workspace page, every line of premise between a playground's question and the playground pushes the instruction and its Send button further below the window. The study's alert page at 900×700 spent 149 px above the stage, three lines of it premise. The playground's author instructions now ask for one or two sentences there, leave a fact the preview already shows to the preview, and put a qualification the user may want in an
lf-gloss, which opens on hover, focus or a tap without moving the page. This follows Max's decision #28c on the overnight report, and his follow-up asking to cut or collapse the prose at the top.Measured on the study page with the half-window stage floor from #3622, with the premise cut from three sentences to one (Chromium and Firefox gave the same numbers):
The stage stands at its floor at both sizes, so prose above it moves only the instruction and Send. It gives the stage room only in taller windows: at 1440×900 one line less grows it from 450 to 465 px.
No collapse mechanism is added.
lf-glossis already the on-demand route: in both engines it opens by hover, by keyboard (Tab reaches it first and opens it) and by tap, and nothing on the page moves. Clamping the premise in the runtime would save at most the 66 px the whole paragraph takes, and would hide the premise the question rests on.playground-controls-stand-by-their-itemgains aworkspace-premise-is-shortrubric. Claude Code: base 0/2 (three sentences each); the rule placed inpage-layout.md's workspace section 0/2 (read, not followed); the rule in the playground'sauthor.md2/2.