Repository navigation
Fit a quoted playground's stage to its artifacts - #3326
Merged
Merged
Conversation
…icking track lf-toc read its scroll position from the reading region holding the widget (`scrollerFor(this)`). In a sidebar page's track, or a column's margin sidebar that holds the map beside other notes, that region is the sticking block itself: it scrolls only its own contents and stands at its scroll end, so the outline marked its last section as current at every scroll of the page. pr-walkthrough's contents said "Review history" was the current location from the top of the page to its foot, and the map's lens in such a sidebar read the same wrong scroller. The outline now follows the scroller of the document it outlines (`scrollerFor(main)`), which is the page's on every Layout. A new test covers both holders and fails with the old scroller. Found by the overnight UI sweep (probe of pr-walkthrough at 1400x900 and 390x844, Chromium and Firefox). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…control `leaf-dev probe --firefox` held live-progress and corpus for its full 120 s and failed with "pageSettled did not become true" once the journey switched the colour scheme. The scheme switch starts a colour transition on every control whose colours change, including Web Awesome's search input inside lf-diff's closed `<details>`. Firefox creates that transition but never starts it while the details stay closed: it reads `running` with no start time and no progress, so the render gate's `moving` reading counted it as motion forever. Chromium settles the same journey. `moving` now skips an animation whose target the page doesn't render (`checkVisibility()` is false). Such an animation changes no box, which is what `moving` exists to wait for. A new Firefox test switches the scheme on a page with a transitioned input in a closed disclosure and fails without the change. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…the page too Since #3273 a thread's view in the floating panel, its head and its reply stand at what the thread is about, and an On card at its obligation, so the ask wears its ring and takes its digits from the panel. The margin's card follows the same reading: a keyboard arrival at a page target opens its thread's card (`followStanding`), and a folded pin there unfolds (`unfoldStanding`). Both read focus moving into the panel by a key as an arrival at the target. Opening a thread from Threads with Enter, or pressing Escape from its reply, opened the same thread's card beside its passage too, and the card stayed after the panel closed. On log-retention at 1400x900 the card stood at the window's right edge while the panel showed the same thread, in Chromium and Firefox. A pointer opening showed the panel alone. Standing and arriving are now two readings in standing-target.js. A side can declare that it shows its target `beside` the page, as the floating panel now does. `placeOf` still counts such a side, so the ring, digits and walks are unchanged. `arrivalOf` leaves it out, and the margin's card and pin unfolding read it. Before #3100 the margin skipped the old side panel for the same reason, with a check naming the panel; the declaration replaces that. The margin header's sentence about the old side panel's Threads list supplying the accompaniment goes, since that list is gone. A new test opens a thread about an ask from Threads by Enter and expects no card while the view stands open after Escape, nor after the panel closes. It fails without the `beside` declaration. Found by the overnight UI sweep and reviewed independently, which suggested moving the distinction into standing-target.js. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A quoted playground's stage kept the live stage's 18rem minimum height, so below its artifacts it stood empty. The corpus's "Alert settings page, as first proposed" showed 111px of empty stage under its last alert at 1400x900, after #3276 had removed the empty settings boxes beside each alert. A quoted stage shows what was authored and never changes, so it now takes its artifacts' height; a live stage keeps the minimum. The quoted-playground test now also checks that the stage ends below its last artifact, and fails without the rule. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 20, 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.
A quoted playground's stage kept the live stage's 18rem minimum height, so below its artifacts it stood empty. The corpus's "Alert settings page, as first proposed" (
tests/fixtures/pages/quoted-playground.html) showed 111px of empty stage under its last alert at 1400x900, after #3276 had removed the empty settings boxes beside each alert. A quoted stage shows what was authored and never changes, so it now takes its artifacts' height. A live stage keeps the minimum.The quoted-playground test now also checks that the stage ends below its last artifact, and fails without the rule.
Found by the overnight UI sweep.