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 至 21 原话:
- (看 Twenty 的记录页)「你看一下另外一套软件,和我们类似,没有概览,右侧打开的时候显示的是记录详情,全屏的时候,记录详情移到左侧」
- 「如果按照新的设计效果,概览右侧也没有子表区域了。」
- 「一个子表都没有,动态也可能没有,那就是相当于表单撑满,没有右侧的选项卡」
- 「手机记录页和电脑端右侧的 drawer 一样吧,第一个选项卡是详情,后续的选项卡就是子表。」
- 「记录页图 41 的方向定了,立卡」
参照产品是 Twenty(只参照行为:它的规则是「第一个页签在宽屏整页时钉到左边,在侧边面板和手机上是普通的第一个页签」;⛔ 不抄代码,AGPL)。
现状(本机环境实测于 7878cf0557,代码位置核对于主干 8c18a362a2)
- 宽屏整页:第一个页签「概览」占左边大部分宽度,里面是字段分组(两列);右边一栏是摘要卡(审批、附件、最近动态、各子表的摘要),由 记录页概览右栏:只在概览里,是各页签的摘要卡(审批、附件、最近动态、其他相关),不显示空的子表 #35596 做成。看子表要切到别的页签,切过去就看不到主记录的字段了。
- 抽屉和窄屏:只有页签,没有右栏。
- 宽度分档在
ui/packages/plugin-detail/src/synth/recordPageColumns.ts:86-123;右栏在ui/packages/plugin-detail/src/RecordSummaryRail.tsx。
要做的
效果图(图 41):
- 一条规则:记录页的第一个页签是字段。宽屏整页时它钉到左栏,不再是一个页签;右边是从第二个开始的页签,默认停在其中第一个。抽屉、窄屏整页、手机上,它仍是普通的第一个页签。同一份页签配置,只是第一个页签摆在哪不同。
- 左栏:字段单列,分组和顺序就是对象上配的那一套(分组标题、收起状态照旧);长文本占整行、完整显示。左栏和右边各自滚动,互不带动。
- 右边默认停在哪:其余页签里的第一个。有子表时是第一张子表,一张子表都没有但有动态时是「动态」。
- 没有其他页签时(没有子表,附件、审批、动态也都没有):不分左右,也不画页签条,字段撑满整页按宽度排多列,和现在的整页一样。抽屉里同理,只有一个页签时不画页签条。
- 取消右栏摘要卡:三种宽度下都不再画。它原来给的信息由页签上的条数承担。
- 这条记录正在审批时:记录名旁边显示一个「审批中 · 当前步骤」的标签,点它跳到「审批」页签。轮到自己审批时仍是现有的「待你审批」加通过、拒绝按钮(记录页头部压成一行;只有一组按钮,随记录状态换内容(等我审批时是通过、拒绝);审批状态只留一个短标签 #35593)。
协调席加的(图上标了「待定」,维护者说「方向定了」,没有逐条说过;有异议以维护者为准)
- 左栏宽 400,可以拖宽,拖过的宽度按人记住。
- 第一个页签的名字从「概览」改成「详情」(里面只剩字段,不再有摘要)。
- 第 6 条的「审批中」标签。
- 对象用字段分组把子表放进字段之间时(见 主从子表默认只是页签,不再自动放进概览和表单;只有字段分组指定时才放进去 #35889),表格放不进左栏:这种对象宽屏时不钉左栏,第一个页签保持占满宽度。
- 「宽屏」沿用现在分档里出现右栏的那个宽度,不新定数字。
取代和影响
- 取代已合并的 记录页概览右栏:只在概览里,是各页签的摘要卡(审批、附件、最近动态、其他相关),不显示空的子表 #35596(右栏摘要卡)。
- 记录页概览右栏:去掉「其他相关」这个小标题 #35835(去掉右栏里「其他相关」小标题,未做):右栏整个取消,那张卡不用做了。
- 记录页头部改成两行:导航条(上下条、来自哪个列表、关闭在最右)加记录名一行;操作按钮恢复最多露 3 个(图 40) #35853(头部两行,开发中):不冲突,本卡的左右两栏在它的两行头部下面。
- 从列表打开记录:点名称进整页,悬停名称格的图标才开侧边;去掉「打开记录」设置和撑满的抽屉;整页带着列表来历;抽屉改悬浮卡片 #35854(抽屉改悬浮卡片,开发中):不冲突,抽屉里的结构本卡不改。
- 主干上已合并的「页签可以由使用者挪动和隐藏」(PR feat(record-page): a related tab's menu moves and hides it, and 「更多」 restores the default order #35818):继续有效,作用在右边的页签上;被钉到左栏的第一个页签不能挪、不能隐藏。
不做的
- 不改手写记录页(自己声明页面结构的对象),只改自动生成的默认页。
- 不做「概览」摘要页(参照 Attio 的那种指标卡片概览没有采用)。
- 页签显示哪些、什么顺序的配置方式(对象上的
relatedLists)另行讨论,本卡沿用现在的页签。
验收
- 1440 宽整页打开一条有子表的记录:左边是字段,右边是页签且停在第一张子表;页签条里没有「概览」或「详情」这一项;没有右栏摘要卡。
- 滚动左栏,右边不动;切换右边的页签,左栏的滚动位置不变。
- 同一条记录在抽屉里打开:第一个页签是字段,其后是子表页签,和现在一致。
- 把窗口从 1440 拖窄到出现右栏的档位以下:左栏变回第一个页签,当前选中的页签不丢。
- 一个没有子表、关闭了附件和动态的对象:整页字段撑满多列,没有页签条。
- 字段 30 个以上的对象:左栏可以滚到底,收起的分组保持收起。
- 正在审批、当前人不是审批人:记录名旁有「审批中」标签,点它右边切到「审批」页签。
- 刷新、从链接直接打开,都是同样的结果;带页签参数的链接仍然打开对应页签。
Reader: domain:ui 车道。ui/packages/plugin-detail/src/RecordPageColumns.tsx、ui/packages/plugin-detail/src/synth/recordPageColumns.ts、ui/packages/plugin-detail/src/RecordSummaryRail.tsx、ui/packages/app-shell/src/views/RecordDetailView.tsx。
Dedupe: 记录页 左栏 钉 页签、记录页 右栏 取消(objectstack,open)→ 0。相邻:#35835、#35853、#35854(关系见上)。
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
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Feature · wide full-page record: the first tab (fields) pinned left, the other tabs on the right, fields fill the page when no other tab exists, right-column summary cards removed (figure 41); child of topic #35590, maintainer: 「记录页图 41 的方向定了,立卡」 → p2 as set by the coordinator · size M.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: PM loop · 2026-11-21T14:07Z · area b1-R2 (epic #35590 child; the maintainer set the fig. 41 direction on the epic).
Area: b1-R2
Session:
session_01L6bhgUZTwDqtEFzNFCVTri(card thread)Account:
os-salesBranch: claude/project-thread-j77l7i
Seat:
repo:objectstack#1Domain:
domain:uiFile surface: plugin-detail
RecordPageColumns.tsx,synth/recordPageColumns.ts(the pin rule),RecordSummaryRail.tsx(removed; the?related=approvals|attachmentsvalues, the approval badge rows and the attachment count move to a small file with the same values),defaultRecordPage.ts,DetailSection.tsx,RecordTabRow.tsx, a left-column resize handle; app-shellRecordDetailView.tsx(full-page flag, left-width preference, the rail toggle and its shortcut removed, the activity peek, the approval chip step) and the workspace preference key;detail.recordTabOverviewtext in every locale plus one approval-chip string; tests, changeset. Nopackages/spec, no governed surface, hand-written record pages untouched.Container & model:
L, card thread,model: opus,effort: highClause-②: yes (widening) (optional
RecordPageColumnsprops;rightColumn/railkept and marked deprecated rather than removed; the seat runs the declaration-face L2)Metadata-protocol: none
Premise (thread, read on main
493ad095, filebuild-seat1/35890/premise-read.mdin the project folder): holds. The tiers measure the record-page container, not the window: under 760 one column, 760 adds a 320 rail, 1120 is the wide tier with a 380 rail.RecordSummaryRailhas one caller and is not exported.Basis: card #35890 (fig. 41, the maintainer: 「记录页图 41 的方向定了,立卡」); epic #35590.
Scope, the seat's reading: the card's six items and the coordinator lines. Pinned only on a full page, at the wide tier, with at least one other tab, and when no field group carries a master-detail table (#35889). Left column 400, draggable from 320 up to leaving 400 on the right, the dragged width kept per person per object in workspace preferences. The first tab is renamed 「详情」. The 「审批中」 chip from #35593 gains 「 · 当前步骤」. Narrowing out of the pinned layout writes the implied right tab into the URL so the selection is kept. The right-rail toggle goes with the rail. With the comment panel (#36075) open, the record page gives way and lands in whichever tier its container now fits; neither side needs to know about the other.
Open: which container width counts as "wide". The card's coordinator line says "the width where the right rail appears today" (760); the thread proposes the existing wide tier 1120, because at 760 a 400 left column leaves 288 for a full related list (#35892). The cost is that at 1280 and 1440 windows, opening the comment panel drops the page back to tabs. This goes to the maintainer; the thread writes 1120 as one constant until then.
Resume-from: none
Fold-or-serial: parallel with #35892 (the right column's tab content), #36075 (whichever merges second resolves
RecordDetailView.tsx), #35923, #36095.overlap-check.mjsbefore each push. L1 at L1-c. The PR carriesFixes #35890.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Maintainer ruling · 2026-11-21T14:24Z · #35890 (and #36075's open item 7): when the record page pins fields left (reviewed by fable first)
At 2026-11-21T14:24Z the maintainer picked option A on the seat's decision card, "pin whenever it fits, the left column narrows on its own": the record page pins the fields column whenever its container fits a left column of 320 plus a right side of 400 (about 792 with gaps and padding). When space is tight the left column narrows from 400 toward 320 on its own; only when even that does not fit does the page fall back to tabs. Both numbers are the card's existing drag bounds, so no new design number is introduced.
This replaces the coordinator line "the width where the right rail appears today" (760) and the thread's interim 1120. What users see: on the common 1280–1755 laptop windows, opening the comment panel (#36075, gives way at windows ≥ 1280) keeps three columns side by side, fields | tabs | comments, with the related list about 400–466 wide; it does not jump back to tabs. Below a window of about 1168 with the panel closed, the page also pins (1024 → right side about 504).
On #36075 this closes item 7 (待定) and the first "not checked" line: the approved mock-up's three columns stand, with the real middle width about 400 rather than the 600 the mock-up drew. #36075's "gives way at 1280" is unchanged.
objectstack-fleet commentedon Nov 21, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
提醒(2026-11-21T16:40Z):维护者 2026-11-22 定了「字段区统一成一列、三处共用一个组件」,新卡 #36147 管这件事。
objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
座位回复 · 2026-11-21T21:04Z · 回 7065828359(共用字段区组件谁出):本卡和 #36147 都在本席位,已对齐。
DetailSection,只把列数限成 1。fix(record-page): hidden related lists open from 「更多」 and ?related=; …
objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Seat note · 2026-11-21T22:00Z · ruling 7064066204's rule is unchanged (pin when 320 + 24 + 400 fit). But with the maintainer's #36112 F1 answer (sidebar expanded from 1280), windows of about 1280–1475 with the sidebar expanded drop to the tab row when the comment panel opens; collapsing the sidebar restores fields | tabs | comments. The maintainer chose this knowing the cost, which the F1 card stated. PR #36136's measured table (evidence 7069589957) shows the same boundary at 1440 with the nav open.
feat(record-page): on a wide full page the details are pinned left be…
fix(pm-dispatch): a hold is a Blocked-by line on the card, every patr…
feat(plugin-detail): a double-click on the record page details divide…
fix(nightly): green the showcase live tiers — the currency picker rea…