Repository navigation
Description
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
立卡门类别:④ 协调节点的子单,承父单 #35547(专题:列表页重做,维护者直派)。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。
维护者说过的(2026-11-21)
- 「快捷编辑的时候,很容易点到那个复制按钮,是不是应该去掉」
- 协调席提出一并处理链接和关联标签抢点击的问题,给了「整套都做」和「只去掉复制按钮」两个选择,维护者:「立卡」(选的是整套)。
- 同日改动(2026-11-21T11:12Z):维护者看了 Twenty 的做法后指出「我的相关表链接都是可以点击查看详情的」,协调席提出「关联小块单击打开记录;关联格悬停或选中时右侧出铅笔按钮,点了编辑;其余字段不变」,维护者:「同意,改卡」。下面第 3、4 项和验收按这个改了,改动处标了「改」。
现状(主干 b113178de1,本机环境浏览器实测,1312 宽,「客户」列表)
列表现在是「单击选中一格,双击、回车或直接打字进入编辑,离开即保存」(#35684、#35687 已合并)。但格子里有三样东西会抢在「选中」之前响应点击:
- 邮箱、电话格里的复制按钮:鼠标移到这一行,值的右边冒出一个 16×16 的复制图标,离文字只有 4。点到它是复制,格子没有被选中(
ui/packages/fields/src/index.tsx:2034-2046邮箱、:2130-2142电话)。 - 邮箱、电话的值本身是链接:点到文字上打开邮件或拨号程序,并且阻止了事件继续往上传(同一处的
onClick={(e) => e.stopPropagation()}),格子没有被选中。 - 负责人、关联记录的小标签是链接:实测想选中「负责人」那一格,点下去直接跳到了那个人的记录页。
复制按钮是在有「选中格子」之前加的。现在选中一格后按 Ctrl+C(苹果电脑 Cmd+C)就能复制这一格的值(ui/packages/components/src/renderers/complex/data-table.tsx:3752),按钮成了重复的入口。
要做的
规则一句话:在列表的格子里,单击只做一件事,选中这一格。
- 去掉列表格子里的复制按钮(邮箱、电话,以及其他字段类型在列表格子里画的同类按钮)。复制用选中后 Ctrl+C / Cmd+C。
- 格子里的链接不在单击时跳转:邮箱、电话、网址在列表格子里单击是选中这一格,不打开邮件、拨号或网页。样子可以保持蓝色。
- 关联记录的小标签单击就打开那条记录(改):在右侧抽屉里打开,列表不离开。点格子里小标签以外的位置,是选中这一格。一格里有多个标签时,点哪个开哪个。
- 关联格在鼠标悬停或已选中时,格子右边出现一个铅笔按钮,点它进入编辑(和双击、回车一样)。没有编辑权限或字段只读时不出现。
- 人员的小标签(负责人、创建人这类指向用户的字段)不在单击时打开:单击是选中这一格,和改动前的本卡一致。
- 想打开时的三条路:
- 按住 Ctrl / Cmd 再点:照原来的方式打开(邮件、拨号、网页;关联记录是在新标签页整页打开)。
- 选中这一格后,鼠标悬停时在格子右边出现一个小的「打开」图标,点它打开。关联记录格不需要这个图标(小标签本身就能点),它那个位置放的是第 3 项的铅笔按钮。这个图标只在已选中的格子上出现,不随整行悬停出现,所以不会再抢第一次点击。
- 键盘:选中后按 Ctrl+Enter / Cmd+Enter 打开。
- 名称列不变:点名称进记录页整页,悬停名称格出现「在侧边打开」的图标(从列表打开记录:点名称进整页,悬停名称格的图标才开侧边;去掉「打开记录」设置和撑满的抽屉;整页带着列表来历;抽屉改悬浮卡片 #35854 已合并)。名称列是这条规则的唯一例外。
- 只读的列表同样适用:没有编辑权限时,单击仍然是选中,可以 Ctrl+C 复制。
不做的
- 不改记录页:记录页字段旁的复制按钮、字段里的链接照旧(那里字段可编辑时显示铅笔、不可编辑时显示复制,两个不同时出现,没有冲突)。
- 不改看板卡片、手机卡片上的链接。
- 不改名称列的行为。
- 不改子表页签之外的嵌入表格的选中方式;它们用同一个表格组件的,行为跟着变。
验收
- 鼠标移到一行上:邮箱、电话格里不出现复制图标。
- 单击邮箱格的文字:这一格被选中,没有打开邮件程序。按 Ctrl+C / Cmd+C 后粘贴到别处,是这个邮箱地址。
- 单击电话格、网址格:同样只是选中。
- 单击「负责人」格里的人名标签:这一格被选中,页面没有跳走。
- (改)单击关联记录格里的小标签:右侧抽屉打开那条关联记录,列表还在原处,关掉抽屉后滚动位置和选中都没变。
- (改)单击关联记录格里小标签旁边的空白:这一格被选中,没有打开任何东西。
- (改)鼠标移到关联记录格上:格子右边出现铅笔按钮;点它,进入这一格的编辑(出现关联记录选择器)。只读字段上没有这个按钮。
- 按住 Ctrl / Cmd 单击邮箱:打开邮件程序;按住单击关联标签:在新标签页打开那条记录。
- 选中邮箱、电话或网址格后,格子右边有「打开」图标,点它打开;没选中时没有这个图标。
- 选中后按 Ctrl+Enter / Cmd+Enter:打开。
- 单击名称:进记录页整页,和改动前一样。
- 双击邮箱格:进入编辑,和双击普通文本格一样。
- 记录页上的邮箱、电话字段:行为和改动前一样。
- PR 正文列出改到的字段类型,以及作废或改写的测试。
协调席自己加的(不是维护者原话)
- 第 4 项三条打开的路的具体做法,尤其是「打开图标只在已选中的格子上出现」。
- 第 6 项。
- 第 3 项里「人员的小标签不打开」。理由:维护者说的是「相关表」能点开看详情;人员标签点下去跳走正是本卡最初记录的误点。参照的 Twenty 也是这样分的(界面实测)。
- 第 3 项里「在右侧抽屉打开」而不是整页跳转,以及铅笔按钮「悬停或已选中时出现」。
- 邮箱、电话、网址维持「单击只选中」不跟着改。
- 「不做的」四条。
参照(只参照行为)
Twenty 的列表(本机实测):点关联小块在右侧面板打开那条记录;格子悬停时右边有铅笔按钮,点了编辑;指向工作区成员的小块不能点开。Twenty 是 AGPL 协议,只参照行为,不要看着它的代码写。
没有核对的
-
我们的右侧抽屉能不能从列表里打开另一个对象的记录,没有试过;现在的抽屉(从列表打开记录:点名称进整页,悬停名称格的图标才开侧边;去掉「打开记录」设置和撑满的抽屉;整页带着列表来历;抽屉改悬浮卡片 #35854)是打开本列表的记录。做不到时请在卡上说明,不要退回成整页跳转。
-
只看了邮箱、电话、人员三种格子。网址、关联记录、多选关联等其他带链接的字段类型在列表格子里是什么样,没有逐个点过;第 1 项里「其他字段类型的同类按钮」请开发搜一遍。
Reader: domain:ui 车道。ui/packages/fields/src/index.tsx(各字段类型在格子里的画法)、ui/packages/components/src/renderers/complex/data-table.tsx、ui/packages/plugin-grid。
Dedupe: 单元格 复制按钮、单击 选中 跳转 链接 单元格、cell click link navigate select(objectstack,open)→ 都是 0。相关:#35684、#35687(单击选中、双击编辑,已合并)、#35854(名称列的打开方式,已合并)。


Activity
objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Feature · in list cells a single click only selects: the copy buttons go from email and phone cells, and links and lookup chips no longer navigate on a single click (the name column excepted); maintainer: 「快捷编辑的时候,很容易点到那个复制按钮,是不是应该去掉」, then 「立卡」 for the full set; topic #35547 → 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-21T08:06Z
Area: b1-L
Session:
session_01L6bhgTQn1haiL13TBfwmxm(card thread, dev-thread rule)Account:
os-salesBranch: claude/project-thread-bhuiyr
Seat:
repo:objectstack#1Domain:
domain:uiFile surface:
ui/packages/fields/src/index.tsx(Email and Phone cell renderers: no copy button in a selection-mode grid cell);ui/packages/components/src/renderers/complex/data-table.tsx(selection mode: a plain click on a link inside a cell selects the cell, Ctrl/Cmd-click passes; the open icon on a selected cell with a link; Ctrl/Cmd+Enter);ui/packages/plugin-grid/src/objectGridLinkCell.tsx(a data marker so the name column is excluded); tests underfieldsandcomponents__tests__; at most one new@object-ui/i18nkey (the open icon's aria-label, all locales, zh-Hant by the generator) only if no existing key fits; a changeset.Container & model:
M, own card thread,model: opus,effort: highClause-②: yes (widening) if the i18n key is added, else no; no export added or removed. The seat runs the declaration L2 on the final head when the line reads yes.
Metadata-protocol: none
Premise (thread, main
be91bfc2): holds. The copy buttons are atfields/src/index.tsxEmail 2034–2046 and Phone 2131–2142; email, phone and URL links stop propagation themselves; lookup chips areReferencedRecordLink(data-record-link); the selection-mode cellonClickletsa[href]through (dataTableCellSelection.tsisCellWidgetTarget), so a click on a link does not select; Ctrl+Enter is not handled.Basis: card #36015 (p2, epic #35547 list redo; the maintainer put it under that epic and gave it to this seat 2026-11-21 07:59:12Z).
Scope: the card's 要做的 1–6 and 不做的, read as:
A. Only grids with cell selection on change (today the ListView object-grid view); related lists and other tables without selection mode keep their behaviour and their copy buttons.
B. A cell with several chips (multi-value lookup): the open icon and Ctrl/Cmd+Enter open the first; Ctrl/Cmd-click opens any one.
C. A file cell's download link counts as a link and only selects; an image thumbnail (a button that opens the preview) also only selects, and opens from the open icon.
Resume-from: none
Fold-or-serial: serial; no fold. Overlap: #36018 (#35688 S2) touches the data-table editor commit, ObjectGrid editor width and
fields/widgets/*, with no shared hunk; #36021 adds lines to data-table. The thread builds locally now and merges main after #36018 lands, re-runningoverlap-check.mjsbefore the push. L1 at L1-b. The PR carriesFixes #36015.objectstack-fleet commentedon Nov 21, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
范围改动(2026-11-21T11:13Z,维护者:「同意,改卡」)。正文已更新,改动处标了「改」。给正在做 #36033 的席位:
Fixes #36015。两条路任选,请在 PR 上写明选了哪条:把关联格这部分补进同一个 PR;或者先合现在的内容,把Fixes改成Refs,关联格另开 PR 再关卡。不要按旧范围合并后让这张卡自动关闭。[-]列表格子里单击只选中:去掉邮箱、电话格里的复制按钮;链接和关联标签不在单击时跳转(名称列除外)[/-][+]列表格子里单击只选中:去掉邮箱、电话格里的复制按钮;链接和人员标签不在单击时跳转;关联记录标签单击在侧边打开(名称列除外)[/+]objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: card thread · 2026-11-21T11:22Z · PR 2 of #36015, after the maintainer's scope change at 2026-11-21 11:13Z (「同意,改卡」; coordinator note 7061761057 on PR #36033). PR 1 (#36033,
Refs #36015) keeps single click = select and removes the copy button. This PR carriesFixes #36015.Area: b1-L
Session:
session_01L6bhgWkLah49N6UoD4CS3S(card thread, dev-thread rule)Account:
os-salesBranch: claude/project-thread-vrbjuy
Seat:
repo:objectstack#1Domain:
domain:uiFile surface:
objectViewRecordNavigation.ts(drawer root taken from the address), the select-first grid's click capture indata-table.tsx, the host callback path ObjectView → ListView → ObjectGrid → data-table,ReferencedRecordLink(adata-record-objectmarker),GridCellSelection(an optional member naming lookup columns), the pencil on lookup cells; tests; a changeset.listRecordActionsValue(shared with kanban cards) is not changed.Container & model:
M, own card thread,model: opus,effort: highClause-②: yes (expected; widening:
GridCellSelectionandListViewprops each gain an optional member; no i18n key, the pencil reusestable.edit). The seat runs the declaration L2 atTIER_DEFAULT.Metadata-protocol: none
Premise (thread, main
8145424b+ #36033 headcefd3e31,/mnt/project-files/build-seat1/36015/PR2/premise-read.md): holds. The list drawer's root is fixed to the list's own object, and a lookup click goes full page for another object; the drawer stack itself opens any object (the record page's drawer host already does).Basis: card #36015 (epic #35547) as changed 11:13Z.
Scope, the seat's reading (thread readings A–G):
recordIdandrecordObject), so refresh keeps it and Back closes it, as the name column's icon does (G). A lookup pointing at the list's own object opens the own-object drawer (E). With the drawer open, a click on another chip swaps the root (D).attemptEdit, shown only when no read-only reason applies).sys_user) still only select and draw no pencil, as PR 1 left them (C): the card names the pencil for lookup cells and says people chips only select.Resume-from: none
Fold-or-serial: serial after fix(grid): in a list cell a single click only selects; no copy buttons (#36015) #36033 (built on its head; merges main once it lands). Overlaps feat(fields): typed values edit flat in their list cell, record pickers open in place, a rating is set by key (#35688 S3) #36045 (
gridCellSelection,data-table, fields,ObjectGrid), feat(list): a phone list gets its own top row, one row of pills, and bottom-sheet sort, filter and view panels that apply on ✓ #36024, feat(console): a change on a list is a draft, with Discard and Save (#35955 PR 1) #36026, fix(console): a shared view's draft save keeps the list on the draft, and a second change builds on the first #36031 (ObjectView);overlap-check.mjsbefore each push, the second to land merges main. L1 at L1-b. The branch is the card thread's harness push branch, a measured platform exception toclaude/issue-<n>-<slug>.fix(grid): a double-click on a lookup chip opens its record once, so …
docs(changeset): leave #36033's pending note as it is; this PR's own …
fix(grid): in a list cell a single click only selects; no copy buttons (
feat(grid): a lookup chip in a list cell opens its record in the side…
feat(record-page): the field area is one list in the side preview, on…