fix(chat): the seen popover opens alone, and no "✓ agent did it" line under a message
What
- The seen popover under a message no longer opens over the message's hover bar. The bar hides while the popover is open, and only one seen popover shows in the room at a time. The hover intent from #667/#670 stays the same.
- An agent that finished a message no longer shows the "✓ claude did it" line under it. It is now a face next to the read receipts, like an agent that stopped, and hovering it shows "terminou / ended · 7 min".
Why
Both were reported in production (Valls):
- Hovering an agent's face opened the "Viktor's claude-2 · stopped · 7 min" popover (
z-20) on top of the message's floating hover bar (z-10, opened by the same hover). The bar peeked out under the popover. - Valls asked to remove the "✓ did it" line.
Only the client changed. messageFooters (web/features/chat/model.ts) now puts a done ack in passed (a face) instead of statuses (a line). The "doing", "blocked" and "waiting" lines stay. A done-only footer now sits in the text gutter, like the other faces-only footers. In a run of messages from one person, the face moves to the run's last message, as the receipts do.
Checks run
bun run check: pass- chat DOM tests (
bun test --conditions=browser scripts/ui-panels.test.ts): 181 pass. One new test covers one popover at a time, the hover bar hiding, and the done row showing "terminou". bun test scripts/chat.test.ts: pass (the model expectations now say done ispassed)bun run test:design-system: passbun run screens -- --footer(new): on main it fails with 'the "did it" line is under the message'. On this branch it passes, and it checks that the hover bar's opacity is 0 under the popover.
Router bench
not touched
Deliberate decisions
none
Screens
Test data, 1440 px, English.
Popover over the hover bar. Before, the bar peeks out under the popover. After, only the popover shows:
| Before | After |
|---|---|
![]() | ![]() |
"did it" line. Before, the line shows under the message. After, there is no line, only the agent's face in the gutter, and hovering it shows "ended":
| Before | After |
|---|---|
![]() | ![]() |
🤖 Generated with Claude Code
Summary by cubic
Fixes two chat footer bugs reported in production (Valls): hovering an agent's face opened the "seen" popover on top of the message's hover bar, which peeked out from under it, and a finished agent showed a "✓ did it" line under the message.
- The hover bar hides while the seen popover is open, and only one seen popover shows in the room at a time.
- A "done" ack now renders as a face beside the read receipts (with "terminou/ended" on hover), like an agent that stopped, instead of a status line. The doing, blocked, and waiting lines stay.
messageFootersnow puts done acks inpassed, so a finished agent's face moves with the run's seen to the last message.



