Repository navigation
Keep what the user is working on in view as they engage with threads - #1303
Merged
Merged
Conversation
An audit of focus and scroll across thread surfaces found landings that measured the wrong node or a moment the next render or fold would undo: - The margin card pins its reply row to the transcript's foot, so every landing aimed at that row (Reply, Enter, a send, each keystroke) moved the transcript by its 5px scroll padding: a sent turn stayed under the row and typing crept a reader partway up down toward the end. A pinned row now lands the thread's end, and growing it moves the transcript by what the row now covers. - An agent turn arriving while the user wrote in a panel reply pushed the box and Send below the list's foot; following now lands the thread's end, or the turn's start when it is too tall for both. - A thread sent from the panel's general box landed under a smooth scroll that the list's place hold then cancelled; the landing now waits for the render in flight. - Resolving a long panel thread focused the next title while the fold still held its room, leaving the title above the list; the landing now waits for the fold. - Enter on an open panel title did nothing, so Esc then Enter did not round-trip a reply; it now writes a reply, as on an inline card. - Esc out of a reply in a thread too tall for the list scrolled to its title; it now keeps the list where it was. - `t` onto a thread taller than the list left its title at the list's foot; it now shows the thread from its title. The landing geometry moves to thread/reply-landing.js, which replies.js now imports directly instead of receiving revealReplyEditor from boot. Tests: two margin tests assumed entering the reply left the transcript partway up; they now scroll back up after entering. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The seat and page-thread half of the thread focus audit. A seat's own box was wired apart from the reply flow, the landing's climb stopped at a widget's shadow root, and nothing landed a page thread as it settled: - A seat that gives its box up to the thread its first message starts dropped focus to the body, so the next keys ran page commands; the user now goes on in that thread's reply. - A seat send, and a paste into a seat's box, left the new turn or Send below the fold. The send landing and the growth follow are now one step each in reply-landing.js, and wireInput runs the growth follow for every box a thread or seat holds. - The climb now crosses shadow roots, so a diff thread taller than the window no longer reads as one that fits. - A turn arriving above the page box the user is typing in holds that box still instead of pushing it, and the caret, below the fold. - A pressed Resolve on a long page thread jumped the page ~700px to the thread's head; a thread too tall to show that is on screen now stays. - Resolving and reopening a diff thread by key left it above the window; page threads now land around the user's focus as they settle. - A send lands the thread at its nearest edge rather than its end, so a composer already in view moves no more than it must. The Enter row that writes a reply from an open panel title keeps its bar line off that title, where the bar's room goes to resolution. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # skills/leaf/assets/leaf.js # skills/leaf/assets/runtime/application.js # skills/leaf/assets/runtime/thread/folding.js # skills/leaf/assets/runtime/thread/inline.js # skills/leaf/assets/runtime/thread/landing.js # skills/leaf/assets/runtime/thread/replies.js # skills/leaf/assets/runtime/thread/thread-list.js
# Conflicts: # tests/test_render_margin.py
…s still The card chose `below` or `above` afresh at every placement; only a `right` card kept a foot anchor while its reply was drafted. A newline could flip an `above` card under its cluster (the editor jumping ~190px onto the target), an arriving agent turn or a send grew the card downward under the editor being typed in, and a `below` card growing down met the boundary clamp and slid. thread-card-geometry.js now returns the `hold` each placement leaves (side, foot offset from the cluster, height) and takes it back as `held` while the reply is drafted. A held card keeps its side and its foot, extends upward from the foot on any side, and is capped by the room above the foot, so past the boundary's head the transcript and the editor's own scroller absorb growth. The foot moves only with its cluster and is clamped inside the boundary; a held side a resize no longer allows gives way to a fresh choice. margin-projection.js takes the hold from where the card last stood when drafting begins, replacing `rightFootOffset` and its focusin handler, and a held card (not every `right` card) writes top as its foot. The card's thread foot padding moves into the sticky reply row, so the row no longer drops 4px when the transcript starts to scroll. Behavior moved in tests: a drafting `right` card with a very tall draft no longer slides to the boundary's head; its foot stays and the editor scrolls (test_margin_card_anchors_reading_by_top_and_drafting_by_foot). A reading `right` card now writes top as its top (test_a_thread_can_be_answered_in_the_margin_without_opening_threads). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… the user Review of the thread landing changes found three regressions and a second answer to which box scrolls a thread: - Following an arriving agent turn landed a turn too tall to show with the reply box at its start, so a turn that kept growing stopped being followed. A turn that fits with the box still lands the thread's end, box included; a longer one follows its newest words, the contract tests/test_chrome_contracts.py held. Those tests now read the follow through one FOLLOWED reading, and the draft-below-words case asserts the draft stays at the list's foot instead of being pushed under it. - holdBox kept the focused box still through a render even when the user had scrolled away to read the page, moving what they read by the turn's height. It now holds only a control on screen. - The fold-deferred landing ignored a wheel made during the fold and pulled the list back once the fold ended; it now captures the user's intent before it waits. - reply-landing.js asks reading-regions.js's scrollerFor which box scrolls a thread, rather than climbing for overflow itself. The margin card's pinned reply row stays undeclared as a cover of its transcript: the caret lives in the row, and the browser's caret reveal then scrolled the transcript on every keystroke to clear it. Tests: the margin card tests that pressed the Reply stand-in #1294 removed now press the editor. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
# Conflicts: # skills/leaf/assets/leaf.js
…ead's end Second review of the thread landing work: - The margin card held its side and foot only while the editor had the focus or text. A pressed Send keeps the focus while the send empties the box, so the card chose its spot again under the pointer: it flipped sides at 800x520 and moved Send 60px elsewhere. Drafting is now standing anywhere in the reply's row, and leaving the row ends it. - Following a turn too tall to show with the reply box put the turn's own foot at the list's, which pushed the box the user was typing in below the list. Following now always lands the thread's end, so the turn's newest words stand just above the box however tall it grows. Tests: test_a_sent_reply_leaves_the_reply_box_where_it_stands also presses Send; the drafting-by-foot test now holds Send still after its press and returns the card to its reading spot once Send lets go; the chrome-contract follow tests assert the thread's end at the fold. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Sep 27, 2026
max-sixty
added a commit
that referenced
this pull request
Sep 27, 2026
The ring bug #1303 shipped came from a padding moved for geometry, checked by measuring positions only. The screenshot rule lived in /developing-leaf, which the agent making the change never loaded. skills/leaf/assets/AGENTS.md, which agents read before changing the runtime or theme, now points at it, and the rule names the states beyond rest (focused, drafting, scrolled) where such a change shows. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Sep 27, 2026
…1329) A margin card whose thread held the keyboard's focus drew its ring on three sides: the bottom run was missing under the Reply box. #1303 moved the thread's 4px foot padding into the sticky reply row, so the row reached the thread's bottom edge. The ring is an inset outline, and an outline paints with its box's in-flow content; the row is positioned, so it paints afterwards, and its opaque surface covered the bottom run. The page thread now draws its ring on a `::after` over its contents. The pseudo-element is positioned and follows the row in tree order, so it paints over it with no z-index that would also lift it over the page. The card no longer sets its thread `position: static`, a leftover from when its head was absolutely placed against the card. The reply row keeps #1303's padding, so it still does not drop 4px when the transcript starts to scroll. The ring check had the same blind spot. `RINGS_DRAWN` treated any box inside the ringed element as the element itself, so a covering descendant read as clean and the new test passed against the broken card. It now reports a positioned descendant that paints over the ring, unless the ring's own carrier is a positioned `::after` at a z-index at or above it. With that, the corpus sweep found a second case already on main: in `pr-walkthrough`, an `lf-code` note row (sticky, opaque) thinned the focused block's ring to 1px where it crossed. `lf-code` now draws that ring on the host's `::after`; the `<pre>` scrolls, so the host, whose box is the `<pre>`'s, carries it, as `.lf-threads-frame::after` does for the Threads list. The change that lost the ring was checked by measuring positions only; the screenshot rule lived in `/developing-leaf`, which the agent making it never loaded. `skills/leaf/assets/AGENTS.md`, which agents read before changing the runtime or theme, now says the render gates judge contracts rather than looks and points at that rule, and the rule asks for stills of each state a change touches (focused, drafting, scrolled), not only the page at rest. ### Tests - `test_a_card_s_thread_ring_closes_under_its_reply_row` opens a card from the keyboard and requires the thread's ring whole. It passed on main under the old check and fails there under the new one, naming the reply row; it passes with the fix. - `test_an_inline_thread_wears_the_ring_only_while_the_keyboard_stands_on_it` reads the ring from whichever box carries it. - `test_every_ring_the_layer_draws_is_shown_whole_somewhere_in_the_corpus` fails on the `lf-code` note under the new check and passes with its fix. Its `SEEN_STOP` reading credited one overlay carrier by name (`.lf-threads-frame`); it now accepts a named ring on the stop's or an ancestor's `::after`, which covers all three. Local: `uv run pytest tests` 1467 passed; `npm run test:runtime` 147 passed; `test_render_controls.py` and `test_render_widgets.py` 287 passed. Across the margin, threads, controls, navigation, drafts, anchors, aim and chrome-contract files, five tests fail here and fail identically on main (64186bc). 🤖 Generated with [Claude Code](https://claude.com/claude-code) > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Sep 27, 2026
Agents proving a visible change wrote their own Playwright screenshot script each time: 140 throwaway scripts across 43 Leaf sessions and subagents in two weeks. The session behind #1303 took none, and a padding change there covered the focus ring of a keyboard-opened margin card until #1329 fixed it. `uv run scripts/stills.py [BASE_REF]` replaces those scripts with one opt-in command, about three minutes unattended. Nothing gates on it. It screenshots a fixed catalogue of 15 states on the merge base's runtime and HEAD's, each built by that arm's launcher from this checkout's example source and served by that arm's `leaf server run --temporary`. The catalogue covers states a user reaches by acting as well as pages at rest: a margin card opened by pointer and by keyboard, a reply being drafted, the Threads panel, a comment being composed, a board card grabbed, a focused code block, with some repeated at 900px and in dark mode. Each state that changed is cropped to a before/after pair plus a diff under `.tmp/stills/`, with an `index.html` listing changed and failed states first. A state counts as changed when any pixel differs: with the same runtime on both arms every state captures pixel-identically, so no noise threshold is needed. Run against the commit before #1329, it flags exactly the two ring regressions that PR fixed, plus the Threads panel's "Generating title" placeholder from #1330. - `scripts/stills.py`: the catalogue (`STATES`), the input that reaches each state, and the pixel diff. - `scripts/eval_harness.py`: `serving` (start an arm's temporary server and yield its address) and `merge_base`, moved out of `bench_page_latency.py` so both scripts share them. - `/developing-leaf` "Prove and hand off a visible change" and `skills/leaf/assets/AGENTS.md` "Render gates" name the script as the way to get the before/after pair, and say to add a missing state to `STATES` rather than drive it by hand. > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Sep 27, 2026
…e page, and widen samples to their data-width (#1364) Three follow-ups to #1303: two of the open focus/scroll gaps it left, and one layout bug found while presenting them. ## A pressed Send leaves the user in the box Clicking a box's Send left focus on the button, so the next letters the user typed ran page keys (an "ok" hid every mark and closed the margin card) instead of reaching the box. Pressing Send is now the send key pressed from the box, on every surface `wireInput` wires (margin card, thread panel, general box, seat Send and Send & pause, widget comment boxes): - A pointer press never takes focus (`mousedown` default prevented), so the box keeps it throughout. - A keyboard press on a focused Send returns the user to the box before submitting, so what the send does next starts from where Enter starts it. A seat that gives its box up still hands the user to the new thread's reply, and a first anchored comment still lands on the thread it starts (#961). - While an input method holds unfinished words, the press takes focus as before, since leaving the box is what finishes them; otherwise the unfinished words went out and the input method's commit wrote them back into the emptied box. `sendLanding` (thread/reply-landing.js) no longer takes the button: its "focus is on the box or its Send" guard is always true now, and box.js's Send vs Send & pause branch is gone. Tests: `test_a_pressed_send_leaves_the_user_in_the_box` (six surfaces × pointer/keyboard, the composer by pointer only since its Tab walks response options), 8 of whose cases fail on main; `test_a_pointer_send_finishes_the_words_an_input_method_holds`, which drives a composition through CDP and fails without the composition guard. Tests that expected Send focused after a click now expect the box. ## Bounded blocks are reading regions A block bounded with `data-bound`/`x-bound` scrolls on its own but registered no reading region, so every "which box scrolls this node" question answered with the page. A talk seat's first send in a bounded `lf-command` scrolled the page 117px and the second carried the block off screen; thread travel and the Ask walk into a bounded log moved the page. `bounds.js` now holds every `[data-lf-bound]` block as a region while it stands in the page, whoever painted the bound (delivery for page content since #1325, `markDeclared` for message markup). A named block in the page's own document is `lf-region:<id>:bound`, so a revision finds its place again; an anonymous one, or one in a message's frozen markup, keeps one id for its life in this document. - **One arrival watch.** `arrivals.js` (`watchArrivals(selector, attributes, { arrive, leave })`, `watchArrivalsIn(root)`) is now the one owner of "keep a paint on elements matching a declaration while they stand in the document or an enrolled shadow root". External links, which had their own document observer, and bounds both use it; shadow-stage.js enrolls each root it fills. The watch starts at boot, before presentation, so an `end` log opens at its end rather than jumping there after. - `scrollersOf(node)` (reading-regions.js) walks the boxes scrolling a node, innermost first; `holdBox` gives the move to the block and hands what it cannot take to the page. Anchor travel's `scrollingBoxFor` uses the same walk. Whether the held control is on screen at all is geometry.js's answer, so a box in a block the page has scrolled away doesn't pull the page back when an agent turn arrives. - **One "seen" reading.** geometry.js's new `seenRect` is what of an item the user sees: `shownRect` cut at top and foot by the room the banner and shortcut bar leave (`shownWindow`), its sides left to the layout viewport so a pinch zoom doesn't count as a clip. Landing, `bringForward`, read acknowledgement (`thread/read.js`) and the thread card's "being read" check all ask it; `read.js` had counted lines under the banner or bar as read, and no longer does. - Travel and the Ask walk centre the destination in the block, then scroll the page only as far as needed. - Continuity records a following `end` block's place as its end (`followingItsEnd`), so a revision keeps it following; readings of regions no longer standing are dropped. carry.js restores a region body's sideways offset and leaves the vertical one to continuity. - Margin rows for a target in a bounded block in the column's flow keep the rail (`railBeside`), their lane clipped to the block; rows in a workspace's panes still pin, as #1333 has it. - With focus inside a bounded block, `d`/`u` page the block; thread context takes the nearest labelled region. The glossary now defines a bounded block as a reading region. Tests in test_render_threads.py, test_render_navigation.py, test_render_margin.py and test_render_widgets.py cover the seat send (`end` and `start`), an arriving agent turn over a full, an unfilled, and a scrolled-away block, travel into named and anonymous logs, the Ask walk, margin rows beside the column and in side-by-side panes, `d`/`u` in a log, a bounded log in an agent reply, and a revision over a following log. Each fails with the arrival watch disabled, and all but the revision case fail on main. ## A sample fills the room its `data-width` asks for `lf-sample` is `display: table; width: 100%`, and a table box does not fill the negative margins the kernel's breakout gives it, so `data-width="wide"`/`"available"` shifted a sample left without widening it. The package theme now gives a sample its own breakout width, `calc(100% + var(--lf-surplus))`, under the same painted selector as the kernel's `table[data-lf-space]` rule. It is scoped to the sample's own breakout because `--lf-surplus` inherits: unscoped, a plain sample inside a wide section came out 1080px in a 720px item. `test_a_sample_fills_the_room_its_authored_width_takes` (test_render_pages.py) fails without the rule. ## Checks `uv run pytest tests` (1426 passed) and `npm run test:runtime` (151 passed) locally. Independent reviews ran on each of the three changes and on each repair; the browser files these touch have pre-existing failures on main (the `?t=` URL assertions after #1337, the margin `picked_up` cases, `test_a_coined_class_cannot_reach_the_chromes_rules`), each reproduced on the merge base. > _This was written by Claude Code on behalf of max-sixty_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 5, 2026
A placement design review found that the comment box and the thread card share one rule for their side and line, but the card decided on its own which edge to hold as its thread grows. That held-edge policy has been reversed once and patched five more times (#1147, #1159, #1303, #1380, #1429, #1453, #1552, #1574). This change gives it one owner. - `comment-placement.js` now owns the policy (`holding`, `heldAt`, `heldHeight`) for both surfaces. `margin-projection.js` reports what it knows of the thread (the transcript's extent, whether the user is drafting, the latest turn and the draft's words) and no longer keeps `previewHold`. The logic moved verbatim. The comment box has no turns, so it never asks. - The "One writer for each fact" table in `skills/leaf/assets/AGENTS.md` names the owners of comment placement and of margin-row seating, so a change that decides either elsewhere shows up in review. - Margin-entry labels measure their room through `shownWindow` instead of reading `.lf-banner` and `.lf-shortcut-bar` themselves. - Two TODO items whose tests already pass are removed: landing a sent comment's thread where its box stood, and the composer on a page with a margin on `html`. `test_an_aimed_comment_keeps_its_place_with_the_asks_drawer_open` now also runs at 1200px, the width that TODO described. No user-visible behavior changes. An earlier commit on this branch also moved the box's scrolled-away trigger into the shared module and applied it to the card. That part came out when #1705 changed the box to follow its passage out of view. New runtime tests cover the held-edge policy. `npm run test:runtime` passes. The focused browser tests for send placement, the comment box, the margin card and replies pass, except three cases of `test_a_thread_resolved_while_its_reply_is_written_keeps_the_user_on_it`, which fail identically on `main`. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 9, 2026
…e page (#1784) Typing in a floating comment box scrolled the page whenever the box stood under or over its passage and grew past the room shown on that side. On every content change, `floating-response.js` asked `makeRoom` to scroll the reading region until the whole box fit clear of the passage. A stack-logged probe at 900x700 measured it. With the box over its passage at mid-window, the first keystroke scrolled the page 162px. With the box under a passage near the top, the page scrolled 55px once the box reached the window's foot. The user's rule is that the box moves and the page stays. The comment box's height may now reach the whole boundary on every side, as it already could beside its passage, and growth never spends scroll travel. It grows from the edge that holds it (#1890 holds a landed box by that edge). Once the window stops that edge, shift slides it over its passage, and once it fills the window it scrolls its own words. This is what a box beside its passage already did at the window's foot. Only a thread card opening under or over its target still scrolls to make room. The margin card's reply never scrolled the page while typing; the same probe confirmed that at both widths. Letting the box fill the window exposed a 2px mismatch at Send. The box reserved 2px less beneath its words than the card's reply row takes, so a card capped at the window's height shrank its transcript and shifted the sent words up 2px (`test_send_grows_thread_around_the_words` at 900x600). One token, `--lf-comment-reply-row`, now sizes both. Behavior changes the tests now protect: - `test_typing_moves_the_comment_box_and_leaves_the_page_still` (new) types line by line into a box under and over its passage and checks that the page never scrolls and the box stays in the window. Both cases fail on main. - `test_a_growing_text_comment_keeps_its_side_and_the_page_still` (was `..._keeps_its_passage_clear_without_changing_sides`) and `test_a_text_comment_chooses_above_when_the_page_has_more_room_there` asserted that typing scrolled the page and kept the passage clear. They now assert that the page stays put, and that a later scroll carries the grown box with its passage. - `test_a_wheel_return_attaches_the_comment_box_in_the_first_visible_frame` types a shorter draft. In its pane cases, typing used to scroll the pane to make room under the passage, and the test expected the box there. - `test_where_a_comment_stands_before_and_after_send`'s phone case required the box to overlap its block only when the two couldn't show together, which only held while typing scrolled the page. It now requires a box that overlaps to stand at the window's edge. The assets AGENTS.md "Stability" section now says a floating box grows inside the window and never scrolls the page for its growth. A field in flow, which cannot move apart from the page, still keeps its controls in view. ## Add-on F: one shared reading of where the user works The design review proposed one reading of the user's working point, shared by the card's held edge (`holding`, fed by `drafting` in `margin-projection.js`), the place keeper (`recentPlaceInput` in `user-place.js`) and typing growth. This change doesn't add it. I sorted the place- and landing-hold repairs since 2026-09-23 by the question each answered: - Which edge of the card stays still: #1429, #1536, #1552, #1574, #1587, #1771. #1552 and #1574 fixed how the hold was keyed across a second placement pass and across Send's admission, not which point the user works at. - Which item in a scroller stays still: #1045, #1464, #1480, #1549, #1694, #1715, #1735. - What waits behind a notice: #1473, #1493, #1725, #1738, #1742. - What a landing reveals on entering, sending or typing: #1303, #1364, #1571, #1602, #1624, #1626, #1645. - Whether the box or the page moves as the box grows: #1453 and this one. None of these commits names a case where `drafting` and `recentPlaceInput` disagreed, so a shared reading wouldn't have prevented them. The two readings also differ by design. `drafting` counts words left in the reply and a send still in flight, both of which outlast focus and the pointer. The place keeper deliberately follows whichever of pointer and focus came last. Their outputs differ in kind too: one is an edge of a floating surface, the other a node in a scroller's list. The typing scroll was a question of which thing moves, so it needed no working-point reading. One rule does repeat: a focused control counts as the user's place only while it is on screen. `holdBox` (`reply-landing.js`), the place keeper's "begins in the band" filter, and #1735's resize landing each state it. It is a candidate for a shared predicate, but not the primitive F described. ## Overlap with work in other worktrees `leaf.shift-a-thread-jitter` has uncommitted changes to `comment-placement.js`, `floating.js` and `floating-response.js`, based on #1705. Its `floating-response.js` hunk is small. Its `comment-placement.js` header rewrite overlaps the paragraph this change rewrites, so expect a textual conflict there. `leaf.thread-card-margin-avoidance` is mid-merge in `comment-placement.js` and `margin-projection.js`. Neither touches `makeRoom`'s call from `floating-response.js` or the frame tokens. > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
An audit of focus and scroll across every thread surface — the Threads panel, the margin card, page seats and threads drawn in widgets — from sending a message down to typing a newline. Three browser audits drove each interaction at 1200×900 and 800×520 and measured positions against each scroller's landing band; this fixes what they found and adds a failing-first regression test for each.
Sending and typing
thread/reply-landing.js, andwireInputruns the growth follow for every box a thread or seat holds, rather than for reply boxes alone.Turns arriving
thread-card-geometry.jsstates the held-foot contract).Arriving, leaving and settling
tonto a thread taller than the list shows it from its title instead of leaving the title at the list's foot.Tests that moved: the chrome-contract follow tests assert the thread's end at the list's foot; margin tests that assumed entering the reply left the transcript partway up now scroll back up first; the drafting-by-foot test holds Send still after its press.
Left open
🤖 Generated with Claude Code