Skip to content

test: let a panel message's last control hang into the transcript's end room - #6698

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-6697
Nov 22, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-6697

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

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's insideHeader bound. 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 reads onHeadLine: False.

Verification, locally in Chromium:

Closes #6697 — automated triage

#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
@leaf-agent
leaf-agent merged commit 987b4aa into main Nov 22, 2026
7 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-6697 branch November 22, 2026 01:39
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.

ci failing on main (push)

1 participant