Skip to content

Fit a quoted playground's stage to its artifacts - #3326

Merged
max-sixty merged 9 commits into
mainfrom
agent-ace68dab34e17489c
Oct 20, 2026
Merged

max-sixty merged 9 commits into
mainfrom
agent-ace68dab34e17489c

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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.

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 9 commits October 20, 2026 05:11
…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]>
@max-sixty
max-sixty merged commit 5b690e3 into main Oct 20, 2026
3 checks passed
@max-sixty
max-sixty deleted the agent-ace68dab34e17489c branch October 20, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants