Skip to content

fix: read the thread focus ring from its card face - #4182

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4181
Oct 26, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

#4174 moved the margin thread's outline from the preview's placement root to .lf-margin-preview-card. The keyboard-focus test still read the root, so it reported none even though the face drew the ring.

Read the card face for the pointer, keyboard and reply-field paint assertions. This preserves the existing checks of actual ring paint and clipping through rings_drawn and ring_faults; it changes no runtime behavior and keeps #4174's shared motion design.

Verified on current main: the named test fails before this change with none versus solid, and passes after it, including the remaining reply-field assertions (uv run pytest tests/browser/navigation/test_threads.py::test_an_inline_thread_rings_its_card_for_keyboard_focus -q -n0).

Closes #4181 — automated triage

The motion refactor in #4174 moved the outline off the placement root. Read the face that now paints it, preserving pointer, keyboard and reply focus assertions and the independent painted-ring checks.

Closes #4181
@leaf-agent
leaf-agent merged commit 16b4826 into main Oct 26, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4181 branch October 26, 2026 04:24
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.

Keyboard arrival focuses the margin thread without its card outline

1 participant