Skip to content

test: run the quoted-passage Send placement case at a width that opens a margin card - #5355

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5141
Nov 4, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

#5039 made the margin card a wide-window surface: on a window narrower than --lf-rail-room (958px with Leaf's theme), every route into a thread, Send from a new comment included, opens it in the floating panel. It moved the other placement tests that ran below that width to 1000px, but test_a_quoted_passage_keeps_its_inline_attachment_before_and_after_send[pointer-900] still sent at 900px and waited for a .lf-margin-preview that now stays hidden, on both Linux and macOS in the scheduled run.

The pointer case now runs at 1000px, the narrowest width that opens a card. What it protects is unchanged: the composer and its sent card stand at the selected words' left edge and clear the wide <pre> block. The product behavior #5039 chose stays as it is.

The pointer-900 case fails on current main with the same hidden-card assertion as the report. At 1000px both parametrizations pass locally.

Closes #5141 — automated triage

…s a margin card

#5039 opens a thread in the floating panel on any window narrower than
--lf-rail-room (958px with Leaf's theme), so Send at 900px no longer opens
a margin card and the test waited for one that never shows. Its pointer
case now runs at 1000px, the narrowest width #5039 moved the other
placement tests to; the behavior it protects, a sent card standing by the
selected words clear of the wide block, is unchanged.

Closes #5141
@leaf-agent
leaf-agent merged commit 9164433 into main Nov 4, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5141 branch November 4, 2026 10:33
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.

Quoted attachment send leaves the expected margin card hidden

1 participant