Repository navigation
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Description
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
立卡门类别:④ 协调节点的子单,承父单 #36062(专题:评论重做,维护者直派)。第一阶段的收尾。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。
维护者说过的(2026-11-22)
- 协调席验收 评论(一)电脑:评论从「动态」页签拿出来,做成记录页和抽屉右侧的独立评论栏;对一条评论的操作收到一处 #36075 后报告:概览里「最近动态」卡片还列着评论,问要不要立卡去掉。维护者:「立卡去掉」
现状(主干 6c7c6db250,本机环境浏览器实测,1440 宽,HotCRM 6.5.0 客户记录页)
- 记录页「概览」页签右边一栏最上面是「最近动态」卡片(objectstack#35596 加的)。卡片里的小标题写「讨论 (3)」,3 = 2 条系统记录 + 1 条评论。
- 发一条评论、再回一条之后,卡片里列出这条评论,下面还有「1 条回复」。
- 评论(一)电脑:评论从「动态」页签拿出来,做成记录页和抽屉右侧的独立评论栏;对一条评论的操作收到一处 #36075 的评论栏打开时,同一条评论在屏幕上出现两次:中间卡片里一次,右边评论栏里一次。
- 把这一串标成已解决后,评论栏里它消失了,卡片里它还在。
要做的
- 「最近动态」卡片只列系统记录(创建、字段改动、负责人变更这类),不列评论和回复。
- 卡片里的小标题不再写「讨论」,改成和卡片内容相符的叫法(建议就不要这行小标题,卡片标题「最近动态」已经够了);数字只算系统记录,或者不显示数字。
- 没有系统记录时,卡片显示原来的空状态,不因为有评论而显示内容。
不做的
- 不改评论栏本身(评论(一)电脑:评论从「动态」页签拿出来,做成记录页和抽屉右侧的独立评论栏;对一条评论的操作收到一处 #36075、feat(record-page): the comment panel resolves, reopens and filters threads and counts the unresolved ones; ✓ and Edit on others' comments appear only where the server admits them (#36075) #36178 已合并)。
- 不改「动态」页签。「动态」页签里是否还列评论,按 评论(一)电脑:评论从「动态」页签拿出来,做成记录页和抽屉右侧的独立评论栏;对一条评论的操作收到一处 #36075 的约定走,本卡不重新规定。
- 不改 HotCRM 的页面配置。
验收
- 在一条没有评论的记录上发一条评论并回复一条:概览的「最近动态」卡片内容不变,里面没有这条评论,数字不变。
- 卡片里看不到「讨论」两个字。
- 评论栏打开时,同一条评论在屏幕上只出现一次。
- PR 正文附改动前后的截图(概览页签,评论栏打开)。
协调席自己加的(不是维护者原话)
- 第 2 项去掉小标题的建议,第 3 项。维护者只说了「去掉」。
没有核对的
- 「动态」页签里现在还列不列评论,这次没有点开看。
- 抽屉和手机上没有这张卡片(代码注释说抽屉不画右边一栏),没有实测。
- 卡片的内容来自哪一段代码只看到了开关:
ui/packages/app-shell/src/views/RecordDetailView.tsx:2792在评论栏可用时仍把discussion打开;具体怎么改由车道定。
Reader: domain:ui 车道。ui/packages/app-shell/src/views/RecordDetailView.tsx(:2792 起)、ui/packages/plugin-detail/src/RecordActivityTimeline.tsx(:210 小标题文案 detail.streamDiscussion)。
Dedupe: 最近动态 评论、概览 动态 讨论 评论栏(objectstack,open)→ 0。
Blocked-by: #36136
Metadata
Metadata
Assignees
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3

Activity
objectstack-fleet commentedon Nov 21, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
派发记录 · 2026-11-21T22:28Z
维护者 2026-11-22 对这张卡说「通知派发」。交给 os-sales 的席位
repo:objectstack#1,随后在它的信箱 #35349 里发接手请求。同批派发:#36194、#36195。本卡是评论专题 #36062 第一阶段的收尾,改的是 #36075 同一块代码,最好由做 #36075 的席位接。
objectstack-fleet commentedon Nov 21, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
更正本卡的「现状」 · 2026-11-21T22:46Z · 协调席深度验收时发现正文写错了范围,请以这条为准。
正文说「记录页概览的『最近动态』卡片列评论」是平台标准页的行为。这不对。实测(主干
6c7c6db250,1440 宽):src/sales/pages/account_detail.page.ts是kind: 'slotted',discussion槽里放了record:chatter,label 是 Discussion):卡片小标题是「讨论 (3)」,列出评论和「1 条回复」。截图里的现象来自这里。所以要做的应当读成:页面作者摆了
record:chatter/record:discussion区块、而评论栏又可用时,这个区块里不再列评论和回复(只留系统记录和活动),小标题不再叫「讨论」,数字不算评论。平台合成页不用改。是不是连这个区块的输入框也要去掉,正文没写,协调席的理解是要去掉(评论只在评论栏里发),请席位按 #36075「评论只有一处」的约定判断。正文里引用的
RecordDetailView.tsx:2792那一行是不是相关代码,现在不确定;相关的可能是ui/packages/plugin-detail/src/RecordSummaryRail.tsx:377(对record:chatter的处理)。没有细读。objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Feature · comments (6): the Overview 「最近动态」 card stops listing comments (they live only in the comment panel), its title drops 「讨论」 and its count counts system records only; maintainer: 「立卡去掉」; topic #36062 → p2 as set by the coordinator · size S.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Seat hold · 2026-11-21T23:04Z · this card waits on #36136 (pinned details): #36136 deletes RecordSummaryRail.tsx, the file this card's fix sits in; after it merges the card is re-read against main. The body now carries the
Blocked-by:line, so the unblock sweep releases it when that merges. (Root-cause card #36203: an "after #N" order is recorded on the card, not only in seat notes.)objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Seat release · 2026-11-22T02:16Z · #36136 merged (48c732c), so this card's
Blocked-by: #36136is met. Back topm:queue; the seat writes the claim when the thread's premise arrives.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: PM loop · 2026-11-22T02:31Z · #36193: comments live only in the comments panel. When that panel is available (record page and drawer) on a default or slotted page, an author-placed
record:chatter/ discussion block draws system records only. It drops comments and replies, the comment box and the 「仅评论」 filter, does not count comments in its number, is titled 「动态」 and shows 「暂无活动」 when empty. The platform's ownrecord:activity, the 动态 tab label, author full pages (kind: 'full') and the phone stay unchanged.Area: b1-CM (epic #36062); released by #36136's merge (48c732c), which retired the overview rail and its recent-activity card.
Session:
session_01L6bhgXV5qLuX94Bn6aqb4y(card thread)Account:
os-salesBranch: claude/project-thread-u6a11n (one PR,
Fixes #36193)File surface:
ui/packages/plugin-detailrenderers/record-chatter.tsx,RecordChatterPanel.tsx(optionaltitleLabel/emptyLabel) and tests.Container & model:
S/M, card thread,model: opus,effort: highClause-②: no
Metadata-protocol: none
Premise (PR body's top lines): holds as re-read on main. The card's 「讨论 (3)」 face now comes from a slotted page's discussion slot in the 动态 tab, and it duplicates the comments panel. The seat's reading of 「不改动态页签」 is that the platform's own 动态 tab is unchanged.
Reviews: L1-c; no L2 (Clause-② no).
Resume-from: none
Fold-or-serial: serial; no shared file with #36208. After #36208 merges (
commentsSurfaceOfferedcovers the phone comments page too), the same rule applies on the phone; the PR body says so.fix(plugin-detail): a slotted page's record:chatter on the 动态 tab lis…