fix(web): 消息头去掉每条平铺的 owner(lark 长 id)#331
Merged
Merged
Conversation
每条消息头都显示一遍 `· lark:on_22608d74…` 的 owner 长 id,是重复噪音。 owner 本就在 senderTitle 里,悬停发送者名即可看到;防冒充锚点由 tooltip + human/agent 徽章保留。行内只留重要内容:名字 / 类型 / @提及。 Claude-Session: https://claude.ai/code/session_01PgxkZeqJmDge3dYe9W2tPZ
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.
问题
每条消息头都平铺一遍 owner 长 id:
leo · lark:on_22608d74bd2d7f39f6dc… · human、macmini · 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 failbun run build通过https://claude.ai/code/session_01PgxkZeqJmDge3dYe9W2tPZ