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(专题:记录详情页重做,维护者直派)。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。
维护者说过的(2026-11-22)
- 看着 Twenty 的窄屏记录页:「手机记录页是不是应该和,电脑端右侧drawer预览的效果,和宽屏左侧记录预览效果一致,只显示一列,」「而且可以切换子表」
- 「字段区统一成一列、三处共用一个组件,我同意」
- 「手机上那块两列的「重点字段」去掉,好像本来就不应该有」
- 「现有的右侧界面也要看看如何进一步优化」
- 看过效果图(设计板图 48)和协调席加的五条后:「可以,立卡」
- 「自定义记录页在手机和右侧预览里不生效、统一用标准页」
- 「字段分组下拉的位置,我觉得放在右边比较好看,你看右侧浏览器」
现状(界面 db9e34ad32、服务端 18.6.0,本机环境装了 HotCRM 6.5.0,浏览器实测)
对象配了自定义记录页时,手机和右侧预览里也用自定义的那一套(RecordDetailView.tsx 里 assignedPage 的分支;默认页的手机头部只在 !assignedPage 时才用)。
- HotCRM 的线索配了自定义页。手机上:两列重点字段、每个字段旁边一支铅笔、值被截断(邮箱只显示「mira.costa…」)、页签是「详情、相关、活动、历史」,子表都塞在「相关」里。
- 没配自定义页的对象(测试应用的销售商机),手机上是平台默认页:字段一列、页签「概览、跟进记录、动态」。
要做的
- 自定义记录页只在电脑整页生效。手机整页、电脑右侧预览(抽屉)里,一律渲染平台标准记录页,不管这个对象有没有配自定义页。
- 「不生效」的只是版面(几列、区块怎么摆、放了哪些组件)。下面这些和版面无关,标准页里照常遵守:
- 对象上配的字段分组和顺序;
- 字段的权限、显示条件;
- 对象上的动作按钮;
- 有哪些子表(每张一个页签);
- 阶段、审批状态。
- 没有例外开关:不提供「这个自定义页在手机上也用」的选项。
- 电脑右侧预览里「打开整页」照常;打开后是自定义页。
- 开工前先列清单贴在卡上:现在的自定义页上,有哪些东西是只能在页面上配、对象上配不了的(比如只挂在页面上的动作、只在页面上声明的子表或区块)。这些东西按本卡做完会在手机和预览里消失。清单出来后有需要保留的,先在卡上问,不要自行决定。
不做的
- 不改电脑整页上自定义页的任何行为。
- 不改 Studio 里设计记录页的界面。
- 不改 HotCRM 这类应用包(hotcrm#2720 是包那边的事)。
- 不做「按宽度自动把自定义页压成一列」这种适配。
验收
- HotCRM 的线索,手机宽度下打开一条记录:是平台标准页——字段一列、没有两列重点字段、没有铅笔;页签是「详情、各张子表、动态」。
- 同一条线索在电脑上从列表侧边打开:预览里同样是标准页。
- 同一条线索在电脑上整页打开:还是 HotCRM 的自定义页,和改动前一样。
- 线索上的动作(如「确认线索」)在手机和预览里仍然能找到、能用。
- 没有权限看的字段,在标准页里同样看不到。
- 没配自定义页的对象:三处都和改动前一样。
- PR 正文附 HotCRM 线索在手机、预览、整页三处的截图,以及第 5 项的清单和处理结果。
协调席自己加的(不是维护者原话)
维护者定的是「自定义记录页在手机和右侧预览里不生效、统一用标准页」。下面是协调席补的:
- 第 2 项「不生效的只是版面」和列出的五样照常遵守的东西。
- 第 3 项没有例外开关。协调席给过两种做法(没有例外;或者自定义页可以声明手机也用),建议前者;维护者的原话没有提例外,按没有例外写。
- 第 5 项开工前先列清单。
没有核对的
- 自定义页里有没有只能在页面上配的东西,没有逐项查。这是本卡最大的不确定,所以有第 5 项。
- HotCRM 有几个对象配了自定义记录页,没有数。
- 自定义页里声明的页签(如 HotCRM 的「活动」「历史」)对应的内容,标准页里有没有等价的位置,没有对。
Reader: domain:ui 车道。ui/packages/app-shell/src/views/RecordDetailView.tsx(assignedPage、phonePage、embedded 几个分支,约 :4245、:4460、:5134)、recordPagePayload.ts、recordDetailSections.ts。
Dedupe: 自定义 记录页 手机、authored record page phone(objectstack,open)→ 0。相关:hotcrm#2720(HotCRM 手写记录页回到平台默认结构,进行中)。
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
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Feature · a custom record page applies only to the desktop full page; phone and side preview always use the platform standard record page; topic #35590 → p2 as set by the coordinator · size S.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
卡第 5 项要的清单(2026-11-21T16:53Z)。卡线程
session_01L6bhgVHYk1S4MD4WibYGKk读的是代码,没开浏览器。第 3 节的 F1–F7 先交 Fable 审读,再请维护者定,线程不会自己拿主意。定下来之前不写代码。线程 session
session_01L6bhgVHYk1S4MD4WibYGKk· 分支claude/project-thread-0slbpo· 读的树:objectstackorigin/main@f5553525,HotCRMorigin/main@1468877(另读了 HotCRM245489e,卡上截图量的那一版)。按代码读,没开浏览器。预计
Clause-②: no(不改导出和类型),Metadata-protocol: semantic(手写整页的含义变了:只在电脑整页生效),changeset@object-ui/app-shellminor。0. 先更正卡上的两个前提
kind: 'slotted'的 alerts 插槽)。HotCRM 主干的 7 张记录页:5 张是插槽页(线索、工单、项目、报价、合同),2 张是打印页(报价、合同,不是默认页,只在打印和命名路由用)。手写整页(kind: 'full'且会被分配)一张都没有。245489e(最后一版带手写线索页,跑 18.6.0)拍线索三处;HotCRM 主干拍一次作对照(三处都不变);再加 showcase 的项目页。recordAction缺省drawer)。所以本卡之后,电脑用户平常看到的也是标准页,手写页只在「打开整页」或直接访问网址时出现。卡第 4 项是这么写的,这里只是提醒影响面比"手机"大。1. 仓库里的手写记录页(9 张,全是
kind: 'full'+ 默认页)每行:页面上有、对象上配不了的东西 → 本卡之后在手机和预览里变成什么。电脑整页全部不变。
showcase(演示应用,4 张)
project-detailrecord:line_items,一起保存) ② 字段分三节(概况 / 财务 / 时间),对象没有字段分组 ③ 自选的重点字段条 ④ 页尾讨论区task-detailrecord_section动作,标准页不画这一类) ③ 字段分三节,对象没有字段分组 ④ 阶段条settingsinvoice-document(打印页,也是默认页)平台自带(5 张)
sys_approval_requestrecord:approval_decision整块:同意 / 驳回 / 回复按钮、提交时的业务记录原样、改了什么、审批进度栏record_section动作,标准页不画。审批人在手机上从审批页签打开一条请求,看不到记录内容,也不能在页面上同意或驳回(收件箱面板里的就地同意 / 驳回还在)。电脑上从列表点开(预览)也一样sys_userrecord_section动作 ②「权限集」页签里的有效权限块 ③「AI 助手」页签(平台管理员) ④ 本人邮箱未验证的提示横幅 ⑤「业务单元」列表的「添加」选择器 ⑥ 11 个页签只挑了 9 张子表,列、排序、条数都定了sys_user(去掉创建人 / 修改人 / 负责人后),按读权限过滤后管理员仍会看到几十个页签。#35897(PR #35923,未合并)落地后对象才能用relatedLists限定哪些子表成页签sys_organizationsys_queuesys_queue_member.queue是存名字的文本字段,不是查找关系sys_audit_logrecord_id文本值配对,不是关系) ② 字段分五节(事件 / 目标 / 变更 / 客户端 / 上下文),对象没有字段分组HotCRM
245489e(卡上量的那版,也是已经装出去的老包):线索、商机、工单三张手写整页。页面独有的是:告警横幅两三条、阶段条、「相关」页签里的折叠面板(3 张子表挤在一起)、「活动」页签(带输入框的record:activity)、「历史」页签(record:history)、商机的右栏record:reference_rail。手机 / 预览里:横幅没了;阶段条换成阶段菜单;子表各一个页签;活动和历史合进「动态」页签(含变更)。这正是卡要的效果。2. 评论去哪(和 #36075 方案 C 的关系)
enable.feeds: false,如用户、组织):三处都没有。3. 需要先定的问题(交席位 → Fable → 维护者,线程不自己定)
record_section动作在标准页有位置之后再纳入;本卡期间这一页照旧。备选:照卡做,接受损失。record_section类动作(建议保留):标准页不画这一类动作,所以任务的「重新估算」、用户安全设置的按钮、审批决策都会在手机和预览里找不到。卡的验收要求"动作仍然能找到、能用"。建议:标准页把对象的record_section动作放进头部的「⋯」菜单。注意这同时改了所有默认页(今天默认页也不画这一类),要维护者点头。备选:接受这些动作只在电脑整页上有。/record/:id/page/:页面名)在手机上(建议照旧打开那张页):网址点名了页面(打印页、文档页都这么打开),建议手机上照旧画它,只有"对象默认分配的页"改用标准页。备选:手机上也一律标准页。assignedPage分支)。插槽页今天就是标准页加几块内容(HotCRM 线索 / 工单的告警、项目的甘特图),建议三处都照旧保留这些插槽。备选:手机和预览里连插槽也不要。4. 做法草图(定了再写)
RecordDetailView一处判断:embedded(抽屉、分栏预览、界面页预览)或手机整页时,不取对象分配的手写整页,走标准页(buildDefaultPageSchema)。usePhoneViewport提到分配之前。电脑整页、「打开整页」不变。content/docs/ui/pages.mdx加一句。objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: PM loop · 2026-11-21T17:01Z · area b1-R2 (epic #35590; taken from the mailbox, record 7065854971).
Area: b1-R2
Session:
session_01L6bhgVHYk1S4MD4WibYGKk(card thread)Account:
os-salesBranch: claude/project-thread-0slbpo
Seat:
repo:objectstack#1Domain:
domain:uiFile surface: app-shell
RecordDetailView.tsx(theassignedPagebranch: an authored full page draws only on the desktop full page; phone and the side preview take the standard page),recordDrawerStackas needed; tests;content/docs/ui/pages.mdx; changeset.Container & model:
M/L, card thread,model: opus,effort: highClause-②: no (expected: no export or type change; re-measured on built declarations before push)
Metadata-protocol: semantic (what an authored full record page means changes: it applies on the desktop full page only). Changeset
minoron@object-ui/app-shellper ruling A.Premise (thread, read on main
f5553525, filebuild-seat1/36150/premise-item5.mdin the project folder): item 5's list is posted on this card. Two corrections to the card: HotCRM main has no authored full record page since hotcrm#2671, so the lead screenshots on the card show an older package; and on desktop a list click opens the side preview by default, so desktop readers also see the standard page unless they open the full page.Basis: card #36150; epic #35590.
Scope, the seat's reading after a Fable review (
build-seat1/36150/fable-decisions.md): named-page URLs (print and other named routes) keep drawing that page everywhere (objectui#12715); slotted pages are already the standard page plus slots and are untouched; only theassignedPagefull-page branch changes. Two questions are with the maintainer on decision cards: (1) whether the approval request page and the user page keep their own page on phone and in the preview (recommended: both keep it; the approval page carries the only decision actions and the maintainer set it on 11-17 to show the full record); (2) the rest as a bundle (recommended:record_sectionactions are not drawn on the standard page, authors addrecord_more; queue members and the audit "same record" list stay full-page only with a follow-up card; the invoice print button stays full-page only; evidence moves to the showcase project page with HotCRM main as the no-change control). The thread builds the recommended options until the answers and amends nothing it cannot undo.Resume-from: none
Fold-or-serial: overlap with #36114 (#36075), #36136 (#35890), #36129 (#35892) and #36147 on
RecordDetailView.tsx.overlap-check.mjsbefore each push; whoever lands later merges main. L2 atCONTRACT_REVIEW_TIER(theMetadata-protocol: semanticline makes it a contract face); L1 at L1-c. The PR carriesFixes #36150.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Maintainer ruling · 2026-11-21T17:26Z · #36150: whether the approval request page and the user page take the standard page on phone and in the preview (reviewed by fable first)
At 2026-11-21T17:26Z the maintainer picked option A on the seat's decision card, 「两页都照旧,其余按卡」: both pages keep their own page on phone and in the side preview. The other platform pages (organisation, queue, audit log) follow the card and take the standard page there.
The bundle question (record_section actions, queue members and the audit list, the print button, the evidence source) is a separate card and is still open.
objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Maintainer ruling · 2026-11-21T17:27Z · #36150: the remaining items as a bundle (reviewed by fable first)
At 2026-11-21T17:26Z the maintainer picked option A on the seat's second decision card, 「全部按建议」:
record_sectionactions; the spec defines them as drawn inside a page body section. An author who wants an action on phone and in the preview addsrecord_more. The showcase task's re-estimate action getsrecord_morein this PR, andcontent/docs/ui/pages.mdxsays so.Named-page URLs (print and other named routes) keep drawing that page on every surface (objectui#12715), and slotted pages are untouched; neither needed a ruling. Together with ruling 7066490078 this closes every open question on the card.
test(app-shell): spell the named record page route in the #36150 pin …
fix(app-shell): the record route's object scope follows where an auth…
feat(app-shell): an authored record page is drawn on the desktop full…
feat(console): from 768 px up an app draws no top bar; the app menu, …
docs(skills): objectstack-ui record page says a full page is drawn on…
docs(spec): the page and action describes say an authored record page…