fix(chat): hover opens the reaction row without moving the conversation; one seen per run
Merged
VI
5d ago+90+90+01234567890123456789-3-3-0123456789
What
- A message that grows under the pointer (its hover opened the reaction row) no longer pulls the pinned chat to the bottom. The row opens below the message; nothing above it moves (Gui #5740).
- The last message of a room or thread keeps its empty reaction row's height, invisible, so its hover grows nothing (Gui #5741). Phones keep it hidden.
- "Seen": readers and agents that passed move to the last message of a run from the same person, one face each (Gui #5742).
Why
With the chat at the bottom, each hover grew a message by 20 px and the chat followed the bottom: every message above moved up. With a tall image, the image left the pointer and came back.
How to reproduce the measure
bun run dev, then a Playwright script that sends 8 messages, one with an image, 2 more, and reads the top and height of every [data-chat-message] before and after a hover. [id, Δtop, Δheight] of the messages that changed:
| Hover on | main | this branch |
|---|---|---|
| text in the middle | messages 1–3 Δtop −20, the hovered one Δheight +20 | hovered Δheight +20, messages below Δtop +20, none above |
| message with image | messages 1–8 Δtop −20 | hovered Δheight +20, the 2 below Δtop +20, none above |
| last message | messages 1–10 Δtop −20 | nothing moves |
Checks run
bun run check: pass, excepttest:store, which fails the same way on a clean main with local bun 1.3.10 (pinned 1.4.4, MIME aliases). CI is the reference.- New tests:
scripts/chat.test.ts(one seen per run),scripts/ui-panels.test.ts(the last message's row is invisible, not hidden).
Screens





Deliberate decisions
One entry in docs/agents_deliberate_decisions.md (the resize observer ignores growth under the pointer).
🤖 Generated with Claude Code
Summary by cubic
Fixes the chat layout jumping on hover and groups "seen" markers by run of messages from the same person.
- Hovering a message opens its reaction row below it without moving the conversation; a streaming message under the pointer doesn't follow the bottom until the pointer leaves.
- The last message of a room or thread keeps its empty reaction row's height, invisible, so its hover changes nothing; phones keep it hidden.
- Readers and agents that passed now appear once, on the last message of a run from the same person; statuses stay on their original message.