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
立卡门类别:④ 协调节点的子单,承父单 #35590(专题:记录详情页重做,维护者直派)。⛔ 不是认领。
维护者 2026-11-20 原话:「然后我看了几个软件,都没有staging 这么明显的条。比如你现在的效果图,顶部已经显示一个谈判,如果需要切换,做成下拉菜单就可以。还有感觉记录详情页也不需要显示高亮字段了。」2026-11-21:「记录页图 41 的方向定了,立卡」。
现状(本机环境实测于 7878cf0557,代码位置核对于主干 8c18a362a2)
- 对象声明了阶段字段时,默认记录页在字段上方画一整行阶段条;声明了关键字段时,再画一排关键字段。两样都由默认页生成:
ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts:568(record:highlights)、:571(record:path)。这是 记录页页签规则:第一个叫「概览」并含通栏的阶段条和关键字段;列出全部子表、带条数、只按宽度收进下拉;附件、审批、互动各一个页签 #35595 定的「概览含通栏的阶段条和关键字段」。 - 阶段的值同时出现在三处:头部的状态标签、阶段条、字段分组里。
要做的
效果图(图 41 第四张):
- 自动生成的默认记录页不再画阶段条,也不再画顶部那一排关键字段。
- 记录名旁边的状态标签就是阶段。有编辑权限的人看到标签带一个小箭头,点它出下拉;没有权限的人只看到标签。
- 下拉里按顺序列出全部阶段,当前的打勾。按对象的流转规则不能去的阶段置灰,并写一句原因。
- 选了需要补信息的阶段(例如改成「失败」必须填原因):弹出只含那几个字段的小表单,填完才生效;校验不通过时说明缺什么,不能悄悄失败。
- 审批锁定期间下拉不可点。
- 阶段字段在字段分组里照常显示,和头部是同一个值。
- 对象没有阶段字段、只有普通状态字段时:头部状态标签同样可以点开下拉改,规则相同。
保留的
- 阶段条和关键字段条这两个组件保留,手写记录页仍然可以放。只是默认页不再放。维护者:「我们已经开发好的功能也没必要作废」。
- 「关键字段」这个声明保留,它还管着悬停卡片、子表默认显示的列、选择关联记录时的列。
协调席加的(有异议以维护者为准)
- 第 3 条「列出全部并把不能去的置灰」(另一种是只列能去的)。
- 第 7 条把普通状态字段也做成同样的下拉。
取代和影响
- 取代已合并的 记录页页签规则:第一个叫「概览」并含通栏的阶段条和关键字段;列出全部子表、带条数、只按宽度收进下拉;附件、审批、互动各一个页签 #35595 里「概览含通栏的阶段条和关键字段」一条;那张卡的其余规则(页签带条数、列出全部子表)不变。
- 记录页关键字段:不再把字段从分组里拿掉,后台配的分组原样生效;顶部那一排改为只读 #35849(未做):其中「顶部那一排改为只读」不用做了;「不再把字段从分组里拿掉」「不自动挑关键字段」两条仍然要做,而且更简单——默认页不画那一排之后,没有理由再从分组里拿走任何字段。
- 记录页头部改成两行:导航条(上下条、来自哪个列表、关闭在最右)加记录名一行;操作按钮恢复最多露 3 个(图 40) #35853(头部两行,开发中):本卡的下拉加在它第二行的状态标签上。
不做的
- 不做参照产品里「每个阶段的指导说明、该填的字段清单」。
- 不改列表、看板里改阶段的方式。
验收
- 声明了阶段字段和关键字段的对象(商机):默认记录页上没有阶段条,没有顶部关键字段排;这些字段在各自的分组里都在。
- 有编辑权限:点状态标签出下拉,选一个可去的阶段,头部标签和分组里的阶段字段同时变化,刷新后保持。
- 流转规则不允许的阶段在下拉里是灰的,点不动,悬停或旁注能看到原因。
- 选「失败」:出现只含「失败原因」的小表单;不填点确定,提示必填,阶段不变;填了之后才变。
- 只读权限:标签没有箭头,点了没有反应。
- 审批中的记录:下拉不可点。
- 手写了记录页并放了阶段条的对象:阶段条照常显示。
- 键盘:焦点在标签上按回车打开,上下键选择,回车确认,Esc 关闭且不改值。
Reader: domain:ui 车道。ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts、记录页头部组件。
Dedupe: 阶段条 去掉 下拉、关键字段 顶部 不显示(objectstack,open)→ 0。相邻:#35849(关系见上)。
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 20, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: PM loop · 2026-11-20T17:22Z
Area: b1-R2
Session:
session_01L6bhgTcbvQNTSr6ij3TMW7(the card thread)Account:
os-salesBranch:
claude/project-thread-tpkpoi(this card thread can push only this branch, a measured platform exception to the issue-numbered branch name)Seat:
repo:objectstack#1Domain:
domain:uiFile surface:
ui/packages/plugin-detail/src/synth/buildDefaultPageSchema.ts(the default page stops emittingrecord:highlightsandrecord:path;headerDrawnFieldsgoes, the body keeps every grouped field; an authored highlights slot is still honoured),ui/packages/plugin-detail/src/renderers/recordPathStageChange.tsx, newui/packages/plugin-detail/src/RecordStageMenu.tsxand its export,ui/packages/components/src/renderers/layout/containers.tsxandrecord-header-bar-context.ts(the status tag renders the host's stage control), one hunk inui/packages/app-shell/src/views/RecordDetailView.tsx(a file seat 5's #35853 is also editing; kept to that hunk),packages/lint/src/validate-semantic-roles.tsand its test (field-group-shadowednarrows to the title field, since groups are no longer emptied; rule id unchanged), i18n keys, tests, changesets. Notpackages/spec, notrelated-list-body-table.ts.Container & model:
L(two cards folded),mode:thread,model: default (opus) — dispatch-gates --tier on the paths: no path-derived mandate,effort: highClause-②: yes (widening: an optional
RecordHeaderStatemember and a new@object-ui/plugin-detailexport; declaration face atTIER_DEFAULT)Metadata-protocol: semantic (the default record page no longer draws the stage bar and key-field strip for objects that declare them)
Premise: re-read on main
8c18a362by the thread: holds.Basis: epic #35590 children; the maintainer took the epic into this seat on 2026-11-20 17:14Z 「继续记录详情页的子任务 … #35590」 and confirmed this direction at 17:16:59Z: 「把阶段条和关键字段条去掉,是的」.
Resume-from: none
Fold-or-serial: fold. #35891 and #35849 are one PR per the coordinator's order in 7045581845 (same default-page builder logic); the PR carries
Fixes #35891andFixes #35849.objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:dispatched(as set); rationale: area:ux · Feature · the default record page drops the stage bar and the header key-field strip; the stage becomes a status chip beside the record name with a dropdown (figure 41); child of topic #35590 → p2 as set by the coordinator · size M.docs(qa): the record-page round-trip seed carries no strip and no bar
docs: the default record page draws no strip and no stage bar
test(e2e): place the overview strip through the highlights slot
feat(record-page): the field area is one list in the side preview, on…