Skip to content

Ring the card, not the message, when a message in a card holds focus - #4558

Merged
max-sixty merged 2 commits into
mainfrom
anchored-thread-box
Oct 28, 2026
Merged

max-sixty merged 2 commits into
mainfrom
anchored-thread-box

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Next on me focuses the agent reply it lands on. In a margin card, #4556 drew that message its own whole ring over its sticky head. The card already wears the ring when its thread has focus ("the card is the thread's one frame"), so a message ring inside it made a frame in a frame, and the user asked for the card to wear it instead.

The change (browser/runtime/annotation-overlay/annotation-chrome.css): the card's ring rule also matches a card whose thread holds a focused message, and a focused card message draws no ring of its own. This removes #4556's positioned ::after ring. Only the card builds .lf-margin-thread, so messages in the panel and in page threads keep their own ring.

Tests: test_a_reply_next_on_me_lands_on_rings_its_card (tests/browser/margin/test_card_reply.py) presses m onto a long reply in a card and expects the focused message, the card as the only ring worn, and no ring faults, which includes the pixel reading #4556 added. The ship-card-message-keyboard still's docstring now describes the card's ring.

This was written by Claude Code on behalf of max-sixty

max-sixty and others added 2 commits October 27, 2026 23:00
Next on me lands focus on the agent reply it reaches. In a margin card that message
wore a ring of its own, drawn over its sticky head since #4556: a frame inside the
card, the frame-in-a-frame the card's own rule records rejecting for the thread. The
card now wears the ring for a focused message as it does for the focused thread,
since the keys that message answers (r, Enter) act on its thread, and the message
draws none.

The card test now expects the ring on the card face. Firefox showed the old message
ring cut at the transcript's end too, which the card ring avoids.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit f53a35a into main Oct 28, 2026
4 checks passed
@max-sixty
max-sixty deleted the anchored-thread-box branch October 28, 2026 07:10
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.

2 participants