Repository navigation
Description
epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf
Filing gate: ① maintainer-asked. Jack in the seat thread, 2026-11-27: 「现在记录详情页可以配置不按左右栏显示吗?」 (03:34Z); 「我觉得这个应该是一个元数据的配置项吧,这种应该是常见需求。」 (03:36Z); 「我能够具体配置每一个页签显示哪些分组吗?然后还有一个开关控制第一个页面要不要pin到左侧」 (03:40Z); 「是否建议保留 relatedList 这个语法」 (03:51Z, no rename); 「同意,立卡 p1」 (03:52Z); 「刚才的任务以及你现在的建议用 fable 评审」 (03:55Z); decision card 04:07Z: 「例外 + 新键 fieldTabs」 (ADR-0085 ruled exception; field tabs as a sibling object key, relatedLists untouched; three cards S, S–M, M).
Fable review (code-verified at objectstack 3ed97b7): /mnt/project-files/record-page/fable-review.md. Trigger app: brightrule policy record (long 正文 in a 276 px value cell).
Grading: domain:ui · Task · p1 · size S–M · reach: objects that declare it (absent = unchanged).
Dedupe: searched single column record page, pinned details, 35890, 左栏: only the closed design cards #35590 / #35890 / #36147 / #36226.
Blocked-by: #37800 (ADR-0085 Note, AGENTS.md rule 13). Scope narrowed 04:10Z after the Fable review: field tabs moved to #37802 (fieldTabs); long-text reading style is #37801, relatedLists untouched.
维护者速读
- 是什么:对象上新增
pinOverview: boolean。不写或true是现在的行为(宽屏完整页把字段概览钉在左栏);false时不钉,概览是第一个页签并默认打开,字段区按宽度排 1–3 列。 - 影响:只影响桌面完整的标准记录页;侧边预览、手机本来就不钉,不受影响。编辑表单不变。
- 要你做什么:无。
Background (verified at objectstack 3ed97b7, Fable review fact table)
recordPagePinsDetails(ui/packages/plugin-detail/src/synth/recordPageColumns.ts:180-188) pins when: full page, content ≥RECORD_PAGE_PIN_MIN_WIDTH(744, :167-168), another tab exists, and the overview holds norecord:related_listtable (from a field group or from an FKrelatedList: 'primary', :187). Used atui/packages/plugin-detail/src/RecordPageColumns.tsx:601(plusotherTabs.length > 0). The file header (:37-45) says the layout is derived, never declared by metadata.- No metadata switch today. Single column happens only as a side effect: a body table in the overview, no other tab, width < 744, or an authored
kind: 'full'|'html'|'react'page (packages/spec/src/ui/page.zod.ts:2151, :2165). - When the overview has other tabs beside it, the fields are capped to one "field list" column (
RecordPageColumns.tsx:607, :792, 记录的字段区统一成一列:右侧预览、手机记录页、宽屏左栏共用一个组件,不管多宽都只排一列;分组箭头在右 #36147); a page with only the overview lays fields out in 1–3 columns by width. - Reader preferences: tab arrangement and the dragged left-column width live in workspace preferences (
ui/packages/app-shell/src/views/RecordDetailView.tsx:1446, :1454).
What to do
- spec
ObjectSchema.pinOverview:z.boolean().optional(). Absent ortrue= today.false= the desktop full standard record page never pins. Description says it affects only the desktop full standard record page; the side preview, phone, print pages andkind: 'full'|'html'|'react'pages do not read it. Not onObjectExtensionSchemaand not inCUSTOM_ARRANGEMENT_KEYS(field-customization.ts:128) in v1 (an admin toggle on installed objects is a later card). - ui: thread the key to
RecordPageColumns(fromRecordDetailView.tsxnear :6552);pinOverview === falsemakes the pin decision false. When not pinned on a full page, the overview is the first tab and opens by default, and its fields lay out in 1–3 columns by width like an overview-only page (seat decision, Fable's recommendation: one column at 850 px would leave the page mostly empty). - Rewrite the
recordPageColumns.ts:37-45header: derived by default, with one declared exception (pinOverview, ADR-0085 Note). Leave the ADR id in the code. - Liveness ledger (
packages/spec/liveness/object.json) enforced in this PR (ADR-0049);gen:schema/gen:docs/gen:api-surface; changeset (@objectstack/specminor, Metadata-protocol: added; ui as usual).
Acceptance
- spec: absent /
true/falseparse; a non-boolean is refused; extension refuses the key. - ui unit: wide full page pins when absent and not when
false; withfalsethe default tab is the overview and fields use the width-based columns; the side preview is identical with and withoutfalse. - Browser (dogfood-verification skill): an object with
pinOverview: false, desktop full page and side preview screenshots.
Activity
[-]记录详情页布局可用元数据配置:不分左右栏(detailsPlacement),字段分组放进右侧页签(relatedLists 认 { group })[/-][+]记录详情页布局可用元数据配置:概览是否钉左栏(pinOverview),每个页签放哪些字段分组(relatedLists 字段页签)[/+][-]记录详情页布局可用元数据配置:概览是否钉左栏(pinOverview),每个页签放哪些字段分组(relatedLists 字段页签)[/-][+]记录详情页布局可用元数据配置:relatedLists 改名 recordTabs 并可放字段分组页签,概览是否钉左栏(pinOverview)[/+]objectstack-fleet commentedon Nov 27, 2026
epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf
On hold 2026-11-27T03:46Z: Jack in the seat thread, 2026-11-27 03:46Z: 「现在知识讨论方案, 不要开发哦」. The design on this card is still under discussion; no seat claims or develops it until the seat lifts
pm:on-holdafter Jack's go-ahead.[-]记录详情页布局可用元数据配置:relatedLists 改名 recordTabs 并可放字段分组页签,概览是否钉左栏(pinOverview)[/-][+]记录详情页布局可用元数据配置:relatedLists 可放字段分组页签,概览是否钉左栏(pinOverview)[/+]objectstack-fleet commentedon Nov 27, 2026
epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf
Go-ahead 2026-11-27T03:53Z: Jack in the seat thread, 2026-11-27 03:52Z: 「同意,立卡 p1」, after agreeing to keep the
relatedListsname (03:51Z). Hold lifted →pm:queue(lane domain:ui), priority p1. The body is the final design (no rename; field-tab entry inrelatedLists+pinOverview). Framework card not started by this seat → objectstack#1's queue per Jack's 03:28Z hand-off rule.objectstack-fleet commentedon Nov 27, 2026
epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf
On hold 2026-11-27T03:56Z: Jack 2026-11-27 03:55Z: 「刚才的任务以及你现在的建议用 fable 评审」. A Fable review of this card is running (output:
/mnt/project-files/record-page/fable-review.md); the body may change.Restart-when: the review is folded into this body; the seat then moves it back to
pm:queueat p1.[-]记录详情页布局可用元数据配置:relatedLists 可放字段分组页签,概览是否钉左栏(pinOverview)[/-][+]记录页布局开关:对象新键 pinOverview,控制概览在宽屏整页是否钉到左栏[/+]objectstack-fleet commentedon Nov 27, 2026
epic:#5027#1 · hotlong · session_01Q4EjjMUfmNYTem26rXLFUf
State 2026-11-27T04:11Z: Jack 04:07Z chose 「例外 + 新键 fieldTabs」 after the Fable review. Body rewritten to the pinOverview-only scope (field tabs → #37802, long-text style → #37801).
Blocked-by: #37800
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Feature · priority:p1 ·
pm:blocked· size M; rationale: record page layout switch, a new object keypinOverviewthat controls whether the overview pins to the left column on a wide page. Maintainer-asked, p1 as filed. It carried bothpm:on-holdandpm:blocked; one state stays (pm:blockedon its namedBlocked-by: #37800). area:ux added.objectstack-fleet commentedon Nov 27, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Carrier note 2026-11-27T15:50Z, from #37800 (PR #38010, contract record 7222395316, nit N3). The ADR-0085 Note dated 2026-11-27 says that neither
pinOverviewnor the object-levelfieldTabsis in the spec yet. When this card lands its key, add aBuilt by #<this card>line to the end of that Note, as theactionLayoutNote ends with "Built by #36629", so the sentence does not go stale.