Skip to content

Align floating-panel browser checks with the editor seat - #3645

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-39869500958-send-width
Oct 23, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-39869500958-send-width

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

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.

@leaf-agent leaf-agent changed the title Measure sent thread card against the editor frame Align floating-panel browser checks with the editor seat Oct 23, 2026
@leaf-agent
leaf-agent merged commit 458d139 into main Oct 23, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39869500958-send-width branch October 23, 2026 00:43
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]>
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.

1 participant