Repository navigation
fix(chat): the seen popover opens alone, and no "✓ agent did it" line under a message - #674
Merged
Merged
Conversation
… under a message
The seen popover (z-20) opened over the message's floating hover bar (z-10), which peeked out from under it. The bar
now hides while the popover is open, and only one seen popover shows in the room at a time (moving to another
message's faces during the close delay hands it over at once). Hover intent is unchanged.
A finished agent ("done" ack) is no longer a "✓ claude did it" line: it is a face beside the receipts, like an agent
that stopped, and its popover row says "terminou · 7 min". Server data is unchanged. `bun run screens -- --footer`
shows both and fails if either comes back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rafavalls
enabled auto-merge (squash)
November 30, 2026 14:57
rafavalls
added a commit
that referenced
this pull request
Nov 30, 2026
…to the faces, flips below The popover a single agent's face opened (Valls, in production) had no "Visto por": the title showed only when someone had read it, so an agent that only received the message (or agents that finished or stopped, #674) got a bare row. It was also a fixed 288px wide from the stack's right edge, so it ran left across the message, and it always opened above, onto the text. - The title is always there; rows keep their status (leu, leu em parte, recebeu, parou, terminou). - Anchored to the faces: its right edge on the stack's, as wide as its rows (240-320px, never wider than the screen), 8px off (the hover bridge). - Opens above; below when the room above (the scrolling list's top, or the window's) is shorter than the popover, measured each time it opens. - Tests: the one-agent delivered case (title, row, status), the width bounds, above and the flip below. screens --receipts: an agent-only stack that only received it, agents that finished and stopped, and a tap on the faces at 390 px (busy and one-face); it counts only visible faces (the phone and desktop stacks are both in the DOM). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rafavalls
added a commit
that referenced
this pull request
Nov 30, 2026
…to the faces, flips below (#676) The popover a single agent's face opened (Valls, in production) had no "Visto por": the title showed only when someone had read it, so an agent that only received the message (or agents that finished or stopped, #674) got a bare row. It was also a fixed 288px wide from the stack's right edge, so it ran left across the message, and it always opened above, onto the text. - The title is always there; rows keep their status (leu, leu em parte, recebeu, parou, terminou). - Anchored to the faces: its right edge on the stack's, as wide as its rows (240-320px, never wider than the screen), 8px off (the hover bridge). - Opens above; below when the room above (the scrolling list's top, or the window's) is shorter than the popover, measured each time it opens. - Tests: the one-agent delivered case (title, row, status), the width bounds, above and the flip below. screens --receipts: an agent-only stack that only received it, agents that finished and stopped, and a tap on the faces at 390 px (busy and one-face); it counts only visible faces (the phone and desktop stacks are both in the DOM). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Why
Both were reported in production (Valls):
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.Only the client changed.
messageFooters(web/features/chat/model.ts) now puts adoneack inpassed(a face) instead ofstatuses(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: passbun 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:
"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":
Full room: 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.
messageFootersnow puts done acks inpassed, so a finished agent's face moves with the run's seen to the last message.Written for commit 599c492. Summary will update on new commits.