Repository navigation
Open a thread from the panel by the keyboard without its card beside the page too - #3318
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]>
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.
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. Bisected to #3273.Standing and arriving are now two readings in
standing-target.js. A side can declare that it shows its targetbesidethe page, as the floating panel now does.placeOfstill counts such a side, so the ring, digits and walks are unchanged.arrivalOfleaves 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.Behavior change: standing in the floating panel no longer opens, unfolds or closes anything in the margin. Two effects #3273 introduced this morning go with it: a pointer into a panel thread about a different thread closed an open card, and a key into an On card opened its obligation's card.
A new test,
test_a_thread_opened_in_the_panel_by_the_keyboard_opens_no_card_beside_it, 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 thebesidedeclaration. The standing, On panel, obligation walk, pins, scroller and thread-card selections andpnpm run test:runtimepass.Found by the overnight UI sweep. An independent review suggested moving the distinction into
standing-target.jsrather than checking for the panel in the margin.