Skip to content

Cue an agent turn arriving in an open thread like a sent one - #1714

Merged
max-sixty merged 2 commits into
mainfrom
thread-card-reply-view
Oct 4, 2026
Merged

max-sixty merged 2 commits into
mainfrom
thread-card-reply-view

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

A message the user sends gets a yellow cue on its own words, but an agent reply arriving in a thread card the user has open got nothing. It was also marked read as soon as it was fully on screen, so its unread rail barely painted. The cue's condition was the message being a pending local send (messages.js). It is now any message joining a thread view that was already presented, whoever wrote it, plus a pending send for a new thread's first message. Opening a card still cues nothing it already holds, and admission still never replays the cue.

.lf-msg.grow had no writer since the Lit rewrite (#732) and is removed; .lf-thread.grow still settles a new thread into the list.

test_an_agent_reply_into_an_open_card_cues_only_its_own_words fails without the runtime change and passes with it; test_sending_flashes_only_the_new_message still passes on all six send surfaces.

TODO gains "Decide whether a thread card may cover the margin rail": the card starts right of the target's margin marker (comment-placement.js, margin), and no element can yet declare whether a floating surface may cover it.

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

max-sixty and others added 2 commits October 3, 2026 20:41
A message the user sent got the yellow cue on its own words, but an agent
reply arriving in a card the user had open got nothing, and it was marked
read as soon as it was shown, so its unread rail barely painted. The cue's
condition was the message being a pending local send. It is now the
message joining a thread view that was already presented, whoever wrote
it, plus the pending send for a new thread's first message. Opening a
card still cues nothing it already holds, and admission still never
replays the cue.

The `.lf-msg.grow` rule had no writer since the Lit rewrite and is gone;
`.lf-thread.grow` still settles a new thread into the list.

TODO gains the open question of whether a margin card may cover the rail,
and how an element would declare that it may be covered.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@max-sixty
max-sixty merged commit 24082a2 into main Oct 4, 2026
4 checks passed
@max-sixty
max-sixty deleted the thread-card-reply-view branch October 4, 2026 15:29
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