Skip to content

fix(web): 消息头去掉每条平铺的 owner(lark 长 id)#331

Merged
leeguooooo merged 1 commit into
mainfrom
fix/header-declutter
Jul 11, 2026
Merged

fix(web): 消息头去掉每条平铺的 owner(lark 长 id)#331
leeguooooo merged 1 commit into
mainfrom
fix/header-declutter

Conversation

@leeguooooo

Copy link
Copy Markdown
Owner

问题

每条消息头都平铺一遍 owner 长 id:leo · lark:on_22608d74bd2d7f39f6dc… · humanmacmini · lark:on_… · agent。同一个 lark id 在每条消息上重复出现,是纯噪音。

承接 #328(状态行去碎片)——那条改了 .msg-status,这条改常规消息头。

改动

消息头行内去掉 owner span。owner 本就在发送者名的 title={senderTitle} 里,悬停名字即见;防冒充锚点由 tooltip + human/agent 徽章保留。行内只留重要内容:名字 / 类型徽章 / @提及。lineage(child of X,短且罕见)保留。

验证

  • tsc --noEmit 干净
  • bun test MessageCard*.test.tsx → 9 pass / 0 fail
  • bun run build 通过

https://claude.ai/code/session_01PgxkZeqJmDge3dYe9W2tPZ

每条消息头都显示一遍 `· lark:on_22608d74…` 的 owner 长 id,是重复噪音。
owner 本就在 senderTitle 里,悬停发送者名即可看到;防冒充锚点由 tooltip +
human/agent 徽章保留。行内只留重要内容:名字 / 类型 / @提及。

Claude-Session: https://claude.ai/code/session_01PgxkZeqJmDge3dYe9W2tPZ
@leeguooooo leeguooooo merged commit 3bbb0ea into main Jul 11, 2026
18 checks passed
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.

1 participant