镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix(mobile): label Activity rows by the event they show - #9294

Merged
brow merged 1 commit into
kennylopez-mobile-thread-activity-20261109from
activity-label-from-displayed-event
Nov 9, 2026
Merged

brow merged 1 commit into
kennylopez-mobile-thread-activity-20261109from
activity-label-from-displayed-event

Conversation

@brow

@brow brow commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Targets kennylopez-mobile-thread-activity-20261109, the branch of #9286 Activity observed replies.

Context. Tom's mobile review team reviewed #9286 and approved it with this one small fix. Report and discussion: buzz://message?channel=e71f9a2a-ac46-473d-a24e-5e16fd8cb7b1&id=fdd32a9ef3580be56547ce7b4451404525b0d4cd56e291a2ce807ab68e035875

Problem. An Activity row shows the newest event in its thread, but its label comes from the highest-priority category in the thread. When you are mentioned in a thread and someone later replies without mentioning you, the row shows that reply under the label "Mentioned in".

Fix. The label now comes from the event the row shows. Filters still use all categories in the thread, so the Mentions filter does not change.

Validation

New test in inbox_item_test.dart fails without the fix. Full mobile suite and flutter analyze pass.

Please approve and merge this into your branch. Tom's team then approves and merges #9286.

🤖 Generated with Claude Code

A thread row shows its newest event but took its label from the
highest-priority category in the group. With observed replies in
Activity, a thread with an older mention and a newer plain reply showed
that reply under "Mentioned in". Label the displayed event instead;
the group's categories still drive the Mentions filter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tom Brow <tomb@squareup.com>
@brow
brow requested a review from a team as a code owner November 9, 2026 18:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T19:00:21.030920Z 41edb5c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@brow
brow merged commit d35a9a0 into kennylopez-mobile-thread-activity-20261109 Nov 9, 2026
42 of 44 checks passed
@brow
brow deleted the activity-label-from-displayed-event branch November 9, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants