Repository navigation
fix(ui): count people instead of emoji in reaction badges - #207235
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 31c204c3-f5f8-4f86-a6a7-8af3ae7aa49f
|
🦞👀 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 changes before merge. What this changesReaction badges count distinct people across emoji and exclude agent reactions from that count. Example: Avery adds 🎉 and 🦞 to the same message.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this maintainer-authored PR makes a useful, focused badge change, but leaves an existing renderer assertion incompatible with the new output. Reviewed head: Before merge
Findings
Agent review detailsHow this fits togetherThe Control UI receives per-emoji reaction summaries from the Gateway and renders a compact badge, hover details, and a reaction picker. flowchart LR
A[Gateway reaction store] --> B[Reaction summaries]
B --> C[Chat reaction state]
C --> D[Message reaction component]
D --> E[Distinct human count]
E --> F[Compact badge]
D --> G[Hover details and picker]
Technical reviewBest possible solution: Keep the existing component’s distinct-person derivation and update the affected renderer expectation without weakening its hover-detail coverage. Do we have a high-confidence way to reproduce the issue? Current main’s sum of per-emoji counts establishes the reported case directly, and the supplied before screenshot shows it; no target code was executed during this review. Is this the best way to solve the issue? The existing presentation owner can derive the requested count from complete identity summaries without changing the Gateway contract, storage, or picker counts. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e298b250e1b9. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceSource +11, Tests +9, Docs 0. Total +20 across 3 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. LabelsLabel changes: No label 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 Reviewed November 27, 2026, 11:51 PM ET / November 28, 2026, 04:51 UTC. |
…ogic * commit 'f7ccd914102ab408606c45c0aa3adbd8427051eb': (1290 commits) refactor(ios): remove unreachable settings and automation controls (#208958) fix: verify deferred activation in package recovery acceptance (#208901) improve(ci): avoid unused adaptive scoring work (#208926) chore(ui): refresh control ui locales (#208959) test(agents): verify user recall and file state across OpenAI compactions (#208909) fix(ui): update the sidebar on startup and recovery screens (#207967) fix(whatsapp): quote the first queued swipe-reply answer (#208791) test(memory-wiki): generate metadata replacement transitions (#208932) fix(ui): hide Claude injected context from chat (#207234) fix(ui): count people instead of emoji in reaction badges (#207235) fix: keep Daybreak when another provider's model list fails (#208883) test(telegram): check the registered preload at polling worker startup (#208936) fix(qa): test Slack verbosity with one direct shell call (#208023) fix(qa): wait for Telegram messages before checking their formatting (#208024) feat(ios): show build details at the bottom of Settings (#208944) chore(ui): refresh control ui locales (#208937) fix: goals stop after native child-result handoffs (#193024) fix(ui): show current tool actions in collapsed chat activity (#208925) improve(ios): put About last in Settings (#208928) test(memory-wiki): generate human-note preservation regressions (#208921) ...
What Problem This Solves
When one person reacts to a chat message with two emoji, the reaction badge shows
2. That looks like two people reacted when only one did.User Impact
The badge shows a number only when at least two people react. Each person counts once across all emoji. Agent reactions still show but do not affect the people count. The per-emoji counts inside the picker are unchanged.
Why This Change Was Made
The badge now counts distinct human reactor IDs from the existing reaction data. The picker, hover details, and Gateway contract are unchanged.
Evidence
0edb7c507f918, after:a9d38c1f37634.Clean comparison
Annotated comparison
Before
After
Requested and co-authored by @vyctorbrzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by