Repository navigation
Open a sent comment's card at its box's width - #3166
Merged
Merged
Conversation
The growth Send used to play (growOut, removed in #3157) now plays where the box becomes its card: when its field first takes focus or holds words. Only the clip moves; the frame was already reserved, so no word does. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The card paint moves to the bar's ::before, beneath its grip and controls, so the growth clips only paint: presses in the frame's rows land from the start, and frame tests keep the box's marker. The layer is promoted so its raster survives a scroll out of the window; re-rastered on return, the shadow missed the frame that brought the words back (wheel-return document-target and code-target, failing since #3157). The pane wheel-return case wheeled over the box's top row, which since #3157 is the painted card's grip and takes the wheel as the thread card does; it now wheels the pane above the passage. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Send hands the card its comment box's rectangle, but the card sized its own width, and Firefox sized a one-line comment's card 13px wider than its box, so its right edge jumped at Send. The card's held width now starts at the box's, which makes the two one rectangle in every engine. The frame's unused `width` field goes. test_send_grows_thread_around_the_words gains a Firefox one-line case, which fails without the change; the shift watch now installs only in Chromium, whose Layout Instability API it reads. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
previously approved these changes
Oct 19, 2026
The shift watch now reads which engine a page runs in. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 19, 2026
max-sixty
added a commit
that referenced
this pull request
Oct 20, 2026
… it at Send (#3187) While a comment is written, its box paints only its field again, and Send grows the sent card out of that field, as before #3157. The user preferred the box as a field that opens into its card at Send to a box painted as the card while it is written (#3157, #3161). The frame still reserves the card's name and Reply rows unpainted around the field, and placement still holds that whole frame inside the window (#3157's revert of #3139's overhang stays), so the card Send opens stands where the frame stood and no word moves. - `annotation-chrome.css`: the frame's `::before` paint and its growth on writing (#3161) go, as do the frame-wide grip and its accent; the grip is again the band around the field. The card's `lf-comment-grow` returns on `.lf-margin-preview[data-lf-grows]`, keeping #3161's ending past the shadow's reach so the shadow is whole when the clip lifts. - `thread-preview.js`: `growOut` returns. The card keeps opening at its box's width (#3166). - The reading region's cut, which `placeThreadPreview` wrote as the card's inline `clip-path`, is now four properties (`--lf-cut-*`) that the card's clip and its growth both read. The growth animates `clip-path` too and overrode the inline cut while it ran, so a card sent in a pane painted itself and its shadow past the pane's edge for 240ms (`test_a_sent_card_grows_inside_its_reading_region`, which fails without this). Each growth edge now stops at the cut, and the growth ends on the cut it rests at. - `comment-placement.js` header: records both rejected designs. ## Behavior changes - Writing: the box shows only its field. Near the window's foot the field rises while empty room still shows below it, since that room is kept for the card's Reply row. - Send: the card opens out of the field over 240ms (whole at once under reduced motion). `test_send_grows_thread_around_the_words` asserts the box paints nothing beyond its field and that the card grows, besides its existing checks that the card takes the box's rectangle and no word moves. - The reserved rows take no presses or wheel turns: they reach the page beneath. The wheel-return test keeps wheeling the pane above its passage, since its old spot now lies on the box's field. > _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.
A comment's card now opens at its comment box's width, so Send changes nothing on screen in Firefox too.
Send hands the card the box's rectangle (
fabFrameAt,adopt), but the card sized its own width. Chromium's sizing matched the box; Firefox stood a one-line comment's card 13px wider, so its right edge jumped at Send (box 1231–1642, card 1231–1655 at 1728×999). The card's held width (session.width) now starts at the box's, so the two are one rectangle in every engine; at full width they already matched. The frame'swidthfield, which nothing read, goes.test_send_grows_thread_around_the_wordsgains aline-firefoxcase, which fails without the change.