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,本机环境浏览器实测)
平台默认的记录页按容器宽度排字段(ui/packages/app-shell/src/views/RecordDetailView.recordPageTiers-26678.test.tsx 里写的规则):宽度 ≥1120 三列,≥760 两列,小于 760 一列。
- 电脑右侧预览(1440 宽的窗口里预览大约 700 多宽):字段两列。负责人和所属客户并排,「深圳星河电子商务有限…」被截断。
- 手机(390 宽):字段已经是一列。
- 宽屏整页左栏:记录页宽屏整页:第一个页签(字段)钉到左栏,右边直接是其余页签;没有其他页签时字段撑满;取消右栏摘要卡(图 41) #35890 正在做,写的是「字段单列」。
三处宽度都在三四百到七百之间,却不是同一个样子;预览拉宽一点就会从一列变两列。
参照(Twenty 窄屏记录页、Attio 侧边记录面板,只参照行为)
字段一列,一行一个:左边图标加字段名,右边是值;按分组显示,分组标题在左、折叠箭头在最右。
效果图(设计板图 48,维护者已同意)
要做的
- 一个字段区组件,三处共用:电脑右侧预览(抽屉)、手机记录页的「详情」页签、宽屏整页的左栏(记录页宽屏整页:第一个页签(字段)钉到左栏,右边直接是其余页签;没有其他页签时字段撑满;取消右栏摘要卡(图 41) #35890)。
- 不管容器多宽,这个字段区都只排一列。一行一个字段:字段名在左(固定宽度,灰色小字),值在右,值可以换行、完整显示,不截断。
- 记录页整页在没有左栏的情况下(没有其他页签、字段撑满整页,见 记录页宽屏整页:第一个页签(字段)钉到左栏,右边直接是其余页签;没有其他页签时字段撑满;取消右栏摘要卡(图 41) #35890 第 4 项)仍按宽度排多列,不在本卡范围。
- 分组:分组标题在左,折叠箭头在最右;点整行折叠或展开。没有分组的字段排在最前,不画分组标题。
- 关联记录的值显示成带对象色块的小块,不是蓝色文字;点小块打开那条记录。
- 空字段默认收起:这一列最后一行「显示 N 个空字段」,点了展开。
- 系统信息:创建人、创建时间、修改人、修改时间、记录编号,收进最下面一个叫「系统信息」的分组,默认收起。现在它们在页面底部一行小字里。
- 点值直接改:字段旁边不放铅笔图标;能改的字段点值进入编辑,不能改的点了没反应。(就地编辑的行为沿用现有的,本卡只管入口的样子。)
- 手机记录页上不出现两列的重点字段块(平台默认页现在已经没有;本卡保证换成新组件后也没有)。
不做的
- 不改记录页的页签规则(每张子表一个页签,已定)。
- 不改整页没有左栏时的多列排法。
- 不改预览的宽度、头部按钮(另卡)。
- 不改编辑、保存的逻辑。
- 不处理自定义记录页(另卡)。
验收
- 电脑上从列表在侧边打开一条记录:字段一列。把预览拖宽到 900:仍然一列。
- 「所属客户」的值完整显示,是带色块的小块;点它打开那个客户。
- 手机宽度下打开同一条记录:「详情」页签里的字段排法和预览里相同(同样的行、同样的分组、同样的顺序)。
- 宽屏整页(记录页宽屏整页:第一个页签(字段)钉到左栏,右边直接是其余页签;没有其他页签时字段撑满;取消右栏摘要卡(图 41) #35890 合并后):左栏的字段排法和上面两处相同。
- 有分组的对象:分组标题在左、箭头在最右;点了折叠,再点展开。
- 有空字段的记录:最后一行「显示 N 个空字段」,点了出现。
- 「系统信息」分组默认收起,展开后有创建人、创建时间、编号。
- 字段旁边没有铅笔图标;点可编辑字段的值能改。
- PR 正文附预览、手机两处的改动前后截图。
协调席自己加的(不是维护者原话)
维护者定的是:一列、三处共用、分组箭头在右、去掉两列重点字段。下面是协调席补的,维护者看过效果图说了「可以,立卡」:
- 第 4 项关联记录显示成小块。
- 第 5 项空字段收起。
- 第 6 项系统信息分组。
- 第 7 项去掉铅笔、点值直接改。
- 第 2 项里「没有左栏时仍按宽度排多列」不在范围内。
没有核对的
- 现在预览里字段两列是在约 700 宽的预览里看到的;更窄的预览会不会已经是一列,没有试。
- 就地编辑现在在预览和手机上各自是什么样,没有逐个字段类型试。
- 和 记录页宽屏整页:第一个页签(字段)钉到左栏,右边直接是其余页签;没有其他页签时字段撑满;取消右栏摘要卡(图 41) #35890 的先后:那张在做左栏,两张都动字段区。请两边席位对一下谁出这个共用组件,在卡上说一声。
Reader: domain:ui 车道。ui/packages/app-shell/src/views/RecordDetailView.tsx(按宽度分档的逻辑)、recordDetailSections.ts、ui/packages/plugin-detail(字段区的画法)、record-detail-system-fields.ts、RecordMetaFooter。
Dedupe: 抽屉 字段 一列、记录 抽屉 两列、手机 记录页 字段(objectstack,open)→ 都是 0。相关:#35890(宽屏左栏,进行中)、#35602(字段密排,已关闭)。
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-21T16:42Z):协调席问「要通知 os-sales 席位派发这四张卡吗?」,维护者:「用信箱通知开发」。
repo:objectstack#1(os-sales)派发下面四张。信箱里按这条记录敲门。objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Feature · one single-column field area shared by the side preview, the phone record page and the wide left column, group arrows on the right; topic #35590, maintainer: 「字段区统一成一列、三处共用一个组件,我同意」 → 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-21T17:02Z · area b1-R2 (epic #35590; taken from the mailbox, record 7065854971).
Area: b1-R2
Session:
session_01L6bhgWmyKFrcthV9y5wUiP(card thread)Account:
os-salesBranch: claude/project-thread-sjuwgb
Seat:
repo:objectstack#1Domain:
domain:uiFile surface: plugin-detail
DetailSection.tsx(one column, chevron on the right, empty fields collapsed into one "show N empty fields" row, system info as the last collapsed group, single-click edit on editable values), the frameless face shared by the side preview, the phone record page and the wide-screen left column (#36136'sDetailsColumnCapContext), relation chips in the object's colour;@object-ui/fieldsif the chip needs a small export; tests; changeset.Container & model:
L, card thread,model: opus,effort: highClause-②: yes (widening), expected: a small export or optional prop on
@object-ui/fieldsfor the coloured chip; becomesnoif CSS alone does it, amended here then.Metadata-protocol: none
Premise (thread, file
build-seat1/36147/premise-read.mdin the project folder): holds. Code starts after #36136 merges, on fresh main, not stacked.Basis: card #36147; epic #35590.
Scope, the seat's reading after a Fable review (
build-seat1/36147/fable-decisions.md): items 5–7 flip existing behaviour (click-to-copy on read-only rows, double-click to edit, the empty-field ratio rule, the system-info footer line from objectui#12307). They are with the maintainer on one decision card, recommended "all as the card says": read-only rows no longer copy on click (the desktop hover/focus copy icon stays; phone uses long-press selection, which the thread checks on a device); editable values enter edit on a single click; on an editable lookup the chip or link opens and the rest of the row edits (#36015 precedent). Relation chip colour follows #35985 (no question); the grey list chip is recorded on #35985 as its follow-up. The thread builds the recommended option until the answer.Resume-from: none
Fold-or-serial: order #36136 → #36147 → #36151 (the phone bar removes Edit only after in-place editing here works); #36149 may run alongside, but its "click a value to edit" check needs this merged. Overlap on
RecordDetailView.tsxwith #36114, #36129, #36150;overlap-check.mjsbefore each push. Declaration L2 atTIER_DEFAULTon the green head; L1 at L1-c. Split if the PR would go over 3,000 lines. The PR carriesFixes #36147.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Maintainer ruling · 2026-11-21T17:28Z · #36147: the existing behaviours the card's items 5–7 change (reviewed by fable first)
At 2026-11-21T17:26Z the maintainer picked option A on the seat's decision card, 「全部按卡」:
Unchanged whatever the option: one column, the same face on all three surfaces, the group chevron on the right, one save bar, field permissions and masked fields not copyable, the remembered expand state, multi-column on a full page with no left column.
feat(record-page): on a phone the record's comments open as a page: t…
feat(record-page): the field area is one list in the side preview, on…
feat(record-page): an empty field you can edit reads 「设置{字段名}」 and on…
feat(record-page): on a phone the bottom bar holds the object's own a…
feat(record-page): the side preview opens 460 wide, puts the record's…
feat(plugin-detail): a click on a record field value edits that field…
fix(nightly): green the showcase live tiers — the currency picker rea…