Repository navigation
Align floating-panel browser checks with the editor seat - #3645
Merged
Merged
Conversation
max-sixty
added a commit
that referenced
this pull request
Oct 25, 2026
This reverts b493653 ("Open a short comment's card at least the card's minimum width"), which broke `test_send_grows_thread_around_the_words` in five of its parameters (bisected to that commit; origin/main passes them). That commit widened the origin Send hands the card to the box's minimum width, so a one-line comment's card opened 16-40 px wider than the field it grew out of. But the card taking the field's rectangle, with the options trigger standing beside it and leaving at Send, is #3634's and #3645's stated intent ("The card takes the editor's reserved rectangle. The Other responses button stands beside that rectangle and disappears when the card opens"), and it is what keeps the words still through Send. So the expectation #3634 replaced was the other test's: `test_an_inline_thread_keeps_one_readable_card_across_page_claims` asserted a card at least `--thread-card-min` wide, which a one-line comment's field rectangle no longer is. It now asserts the cap and keeps its reply-width check for readability. Behavior changed: a one-line comment's card opens as wide as the field it grew out of, below the card's minimum by the options trigger's width, as on main. 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.
The floating-panel redesign in #3634 moved “Other responses” beside the comment editor and gave the editor its own keyboard scope. The send-placement browser test still measured the wider response row, and the Escape test still looked for the shortcut on the old field wrapper. These checks now measure the editor's reserved frame and read its keyboard scope while retaining the word-position, scrolling, growth and Escape behavior assertions.
The ten send-placement cases and the Escape case failed in main run 39869500958. All eleven pass locally after this repair.