Repository navigation
improve(ui): show message reactions as one quiet tab on the bubble corner - #197823
Conversation
…rner Reactions no longer take a chip row beside the sender name. Each message gets one summary tab hanging off its bubble's outer bottom corner: the most-used emoji, a total past one, names on hover, and the full list plus the palette on click. The toolbar keeps its add-reaction picker before and after the first reaction. Co-authored-by: vyctorbrzezowski <[email protected]>
…rner Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 6096be3d-1956-40f7-b5cc-1ad38949102b
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesReplace reaction chip rows with one compact message-corner tab that opens individual counts and the existing reaction picker. Example: A message has twelve reaction kinds totaling 406 reactions in a 390px viewport.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored redesign addresses visible reaction clutter, repairs the prior read-only finding, and explicitly accepts the budget tradeoffs; no actionable code defects remain, with current-head CI still pending. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI receives reaction summaries from its existing session state, renders them beside messages, and sends user selections through the existing reaction callback. flowchart TD
A[Session reaction state] --> B[Message group]
B --> C[Message bubble]
C --> D[Reaction summary tab]
D --> E[Existing reaction picker]
E --> F[Existing reaction callback]
Technical reviewBest possible solution: Keep the bubble-owned summary and existing picker, preserving read-only details and the accepted presentation tradeoffs. Do we have a high-confidence way to reproduce the issue? The base renderer creates one chip per reaction kind, and inspected mobile evidence shows twelve kinds wrapping into six rows; no target code was executed during this review. Is this the best way to solve the issue? The change uses the existing bubble and picker owners, removes superseded placements, and preserves reaction callbacks without introducing another state owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 097e6484ae5d. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +103, Tests +50, Docs 0. Total +153 across 15 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed November 12, 2026, 4:26 PM ET / 21:26 UTC (Revision 2). |
Keep the summary operable while disabling mutations, and fit flat-message reaction clearance to the message column. Co-authored-by: vyctorbrzezowski <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
…rner (openclaw#197823) Display message reactions as one compact tab anchored to the message bubble. Keep the toolbar picker available and let read-only viewers inspect all emoji counts without exposing mutations. Size flat-message clearance to the message column so the tab remains reachable in narrow panes. Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Reactions on a chat message sat in a row of bordered chips inside the sender's footer row, where they pushed the sender name aside and grew into several rows on busy messages.
User Impact
User impact: each message now shows its reactions as one small tab on the outer bottom corner of its bubble, so the sender name stays in place and no row is added.
Things to know:
Why This Change Was Made
The bubble now owns the reactions anchor, so one placement replaces three (group footer, earlier-message action row, inline). That removes the picker hand-off between the action row and the chip row, and the
compactpicker variant that only the chip row used. A caption under images anchors the tab with CSS anchor positioning, so the tab hangs from the caption instead of the wider image box.Evidence
Screenshots are from the mocked Control UI with one synthetic stress conversation, in Chromium on Linux. "Before" is the merge base with the same fixture.
Dark theme, and odd content (image with a caption, image alone, right-to-left text, a long unbroken link):
Hovering names who reacted; clicking lists every reaction above the palette:
chat-message-reactions.test.ts,chat-pane-offline-metadata.test.ts,chat-transcript-controller.test.tsx,chat-message-group.solid.test.tsx(78 tests),chat-message-reactions.browser.test.tsx(4, Chromium), and the E2Echat-flow.reactions.e2e.test.ts(4).tsgo:ui, stylelint on both stylesheets,check:control-ui-controllersandui:i18n:verifypass.--mode branch --base origin/main --max-priority P2, basebbed5e958a8d, local head42ae895c640e; the published head73d885b46877has the same tree) reported no actionable P0–P2 findings. It did not execute the code.Gaps:
Final validation
Read-only sessions can open the summary to inspect every emoji count, while mutation controls remain disabled and the add/search palette stays hidden. Removing write access while the popover is open also disables its existing controls. Flat assistant replies use their message column to size the footer clearance, preserving the tab on narrow and split panes.
Worked on by
Work sessions
Linked for team reference; these sessions aren’t public.