Repository navigation
test: let a panel message's last control hang into the transcript's end room - #6698
Merged
Merged
Conversation
#6672 hangs each panel message's controls into the 12px the transcript keeps at its end, so react and copy end under the head's close button. On a touch phone Copy isn't drawn, so React ends the head's line and stands 12px past the head's box, which failed the reaction test's `insideHeader` check at 360px. The test now checks that the trigger stands on its head's line, from the head's start to the transcript's padding edge, so it still fails if a control leaves the transcript's room or its header row. The protected behavior is unchanged: the reaction trigger belongs to its own message's head, clear of Resolve and the message's words. Refs #6697
This was referenced Nov 22, 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.
test_a_message_reaction_trigger_meets_its_header_and_covers_no_words[360-True]has failed on main since #6672 (b627d08c6), first in run 44959371689. #6672 deliberately hangs each panel message's controls into the 12px the transcript keeps at its end, so react and copy end under the head's ✕. On a touch phone Copy isn't drawn, so React ends the head's line and its 44px box runs from 300 to 344 against a head ending at 332. That trips the test'sinsideHeaderbound. At 1440px Copy is the control that hangs, so React stays inside and that case kept passing.The test now checks
onHeadLine: the trigger overlaps its head's row and stands between the head's start and the transcript's padding edge. This follows #6672's intent and leaves the interface alone. The check still fails if a control leaves that room: with the control room's hang doubled to 24px, it readsonHeadLine: False.Verification, locally in Chromium:
2ca1362b0, the test fails withinsideHeader: False(1 failed, 1 passed).48a61a0ef, the commit before Line the panel's field, tabs and thread controls, the margin card, dialog Close and plan marks up with their containers' edges #6672 (2 passed each).48a61a0efandc9d5e98f1and fails atb627d08c6.Closes #6697 — automated triage