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-21T03:56Z 更正:本卡里的日期「11-22」应为「11-21」,已改。)
2026-11-21T03:30Z 更新(统一用词,规则没变):主列表的排序和筛选也改成临时的了(#35955),那边的按钮叫「放弃」。本卡原来写的「重置」是同一个东西,统一改叫「放弃」;子表页签仍然只有「放弃」,没有「保存」。在子表页签里选中行时,用和主列表同一条底部浮出的操作条(#35678)。
维护者 2026-11-20 原话:
- (看 Attio 的子表页签)「你看这个右侧,子表左侧还是应该显示子表名,而且自己带上排序和过滤,也不需要跳转到新全屏窗口了」
- 「子表调过的排序筛选记不记住,你看右侧,他立刻有一个取消的按钮」
- 2026-11-21:「记录页图 41 的方向定了,立卡」
现状(本机环境实测于 7878cf0557)
- 子表页签里只有一张表格,右上角是「在列表中打开」的小图标和「+ 添加」;没有标题、没有排序和筛选入口(点表头可以排序)。这是 相关子表的页签:不放筛选排序,右上角只留「添加」和「在列表中打开」;批量添加要么全成要么全不成 #35601 定的「子表页签不放筛选排序」。
- 想筛选子表,要点「在列表中打开」跳去另一个整页。
要做的
效果图(图 41 第一、二张的右半边):
- 子表页签里从上到下:第一行左边是子表名,右边「+ 添加」;第二行是「排序」「筛选」;表格;底部计算行。
- 去掉「在列表中打开」。
- 排序、筛选、计算行用的是列表页的同一套组件和同一套读写逻辑(列表工具区重排:对象名并进视图行,「选项」改成视图名旁的「视图设置」并直接摊开列清单,筛选和排序的入口并到标签行,排序并成一个标签 #35878 的标签行、列表排序:已有多级排序时点列头会把原来的排序全部清掉;点排序标签会直接把方向反过来 #35876 的排序面板和列头菜单、列表底部计算行:常驻一行,用户点列底下的格子选计算(合计、平均、计数等),存到视图上 #35702 的计算行)。⛔ 不另写一份。和列表页的差别只有:没有视图切换、没有视图设置、没有搜索。
- 在子表页签里改了排序或筛选,第二行右边立刻出现「放弃」,点它回到默认。没有「保存」,这里的调整不会变成给所有人的配置。
- 页签上的条数始终是这条记录下子记录的总数,不跟着筛选变;表格底部的计数显示筛选后的数。
- 子表里的单元格编辑按行内编辑专题 专题:列表行内编辑重做(始终可改、先选中再编辑、浮层编辑框、逐格保存;对照 Twenty 与 Attio) #35683 的规则,和列表页一致。
- 默认的行排序沿用子对象列表视图的排序(2026-08 定的规则,不变);显示哪些列仍按现在的规则(关系字段上的列声明,否则子对象的关键字段)。
没有定的一条(本卡先按最简单的做)
改过的排序筛选能保持多久,维护者没有定。本卡先做成:只在这一次打开期间有效,刷新页面或换一条记录就回到默认。以后要按人记住,另说。
取代和影响
- 取代已合并的 相关子表的页签:不放筛选排序,右上角只留「添加」和「在列表中打开」;批量添加要么全成要么全不成 #35601 里「不放筛选排序」「页签里不重复标题」「右上角留在列表中打开」三条;那张卡的「批量添加要么全成要么全不成」不变。
- 依赖 列表工具区重排:对象名并进视图行,「选项」改成视图名旁的「视图设置」并直接摊开列清单,筛选和排序的入口并到标签行,排序并成一个标签 #35878、列表排序:已有多级排序时点列头会把原来的排序全部清掉;点排序标签会直接把方向反过来 #35876、列表底部计算行:常驻一行,用户点列底下的格子选计算(合计、平均、计数等),存到视图上 #35702:这三张里的组件先做出来,本卡在子表页签里用上。建议排在它们之后。
- 抽屉里的子表页签同样处理;宽度不够时「排序」「筛选」收成图标。
不做的
- 不让使用者在子表页签里自己加列、调列的顺序。
- 不做「同一张子表按不同筛选拆成两个页签」。
- 不改概览里由字段分组放进去的主从子表(那是另一种呈现,见 主从子表默认只是页签,不再自动放进概览和表单;只有字段分组指定时才放进去 #35889)。
验收
- 打开有 3 条明细的报价单,切到「报价明细」页签:左上是「报价明细」,右上「+ 添加」,下面一行「排序」「筛选」,表格底部有计算行;没有「在列表中打开」。
- 加一个筛选使表格只剩 1 行:页签上的条数仍是 3,表格底部计数是 1,右边出现「放弃」;点「放弃」回到 3 行,「放弃」消失。
- 刷新页面:回到默认的排序,没有筛选。
- 点列头:出菜单(升序、降序、隐藏这一列),行为和列表页一致。
- 行数超过一屏时可以滚动加载;合计按全部符合条件的行算,不只算已加载的。
- 抽屉里打开同一条记录:子表页签同样有子表名、排序、筛选,不出现横向页面滚动。
Reader: domain:ui 车道。ui/packages/plugin-detail/src/RelatedList.tsx、ui/packages/plugin-list。
Dedupe: 子表 页签 排序 筛选、在列表中打开 去掉(objectstack,open)→ 0。
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 · a related-list tab becomes a full list (name top-left, its own sort and filter, a totals row; no "open in list"; a 「重置」 after a change) (figure 41); child of topic #35590 → p2 as set by the coordinator · size M.objectstack-fleet commentedon Nov 20, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
主列表也改成和本卡一样的做法了,两处的「放弃」请用同一个样子。2026-11-20T23:17Z
维护者 2026-11-21 定了主列表的排序和筛选也是临时的,见 #35955。区别只有一处:主列表有「放弃」和「保存」,子表页签只有「放弃」,本卡的规则不变。
[-]相关子表的页签改成完整的列表:左上子表名、排序和筛选、底部计算行;去掉「在列表中打开」;改过后出现「重置」(图 41)[/-][+]相关子表的页签改成完整的列表:左上子表名、排序和筛选、底部计算行;去掉「在列表中打开」;改过后出现「放弃」(图 41)[/+]objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: PM loop · 2026-11-21T14:10Z · area b1-L (epic #35590 child; the maintainer set the fig. 41 direction on the epic).
Area: b1-L
Session:
session_01L6bhgTKEPqtmiK9SGpHsmW(card thread)Account:
os-salesBranch: claude/project-thread-kmk099
Seat:
repo:objectstack#1Domain:
domain:uiFile surface: plugin-detail
RelatedList.tsxand one new session-state file; plugin-listconditions/one new registered host component,ListConditionControls.tsx(a narrow-face option; the shared Discard button after #36026 lands),index.tsx(registration); app-shellListDraftActions.tsx(uses the shared Discard); a few i18n keys in every locale; the regenerated SDUI manifest; record-page related-list docs and the plugin-detail README; tests, changeset. Not expected:plugin-grid,RecordPageColumns.tsx,packages/spec.Container & model:
L, card thread,model: opus,effort: highClause-②: yes (widening) (a new registry component key, one optional
ConditionChipRowprop, new i18n keys;RelatedListPropsunchanged; the seat runs the declaration-face L2)Metadata-protocol: none
Premise (thread, read on main
493ad095, filebuild-seat1/35892/premise.mdin the project folder): holds. The tab's table is already the list page'sobject-grid; header menu, cell editing, summary row, load-more and the bulk bar are existing host keys.plugin-listdepends onplugin-detail, so the condition row reachesRelatedListthrough the registry, asobject-gridalready does; nothing is written twice.Basis: card #35892 (the maintainer's words on Attio's related tabs, and fig. 41); epic #35590.
Scope, the seat's reading: the card's seven items and its 03:30Z update. The tab's title row, sort and filter, 「放弃」, the column-header menu, cell editing by the #35683 / #36023 rules, load-more with the whole-set summary row, the tab count unfiltered and the footer count filtered, the same bottom bulk bar when rows are selected (the 03:30Z update). Column widths stay remembered per person. The tab's sort and filter survive switching tabs and moving between page and drawer for the same record, and clear on refresh or another record. Grouped-by-status child lists draw no summary row, as on the list page. A summary-row choice is allowed and lasts this visit only, cleared by 「放弃」. This PR delivers #36023 leftover 2 (cell editing inside the related tab), shown in the PR body.
Open: #35601 made the tab remember the reader's sort; the card's acceptance says refresh returns to the default, and its own note says the maintainer has not decided how long changes last. That flips merged behaviour, so it goes to the maintainer; the thread builds "this visit only" as the card states until then.
Resume-from: none
Fold-or-serial: parallel with #35890 (it places the tabs, this card draws their content). Merges main after #36024 lands; the shared Discard waits for #36026.
overlap-check.mjsbefore each push. L1 at L1-b. The PR carriesFixes #35892.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Maintainer ruling · 2026-11-21T14:25Z · #35892: how long a related tab's sort and filter last (reviewed by fable first)
At 2026-11-21T14:25Z the maintainer picked option A on the seat's decision card, "this visit only": a sort or filter changed in a record page's related-list tab applies at once, stays while the reader switches tabs or moves between the page and the drawer for the same record, and returns to the default on refresh or on another record. 「放弃」 returns to the default at once; there is no Save.
This supersedes #35601's item 1 for sort ("the reader's sort is remembered per person"): the stored sort is no longer read (old rows are not deleted here). Column widths are not part of this ruling. It matches the main-list ruling on #35955 (changes are drafts; the per-person server layer goes). The PR carries "supersedes #35601's remembered sort" in its body and an upgrade note: a sort remembered in a related tab before this release no longer applies.
objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Maintainer ruling · 2026-11-21T14:38Z · #35892: where the related-list tab's column widths are kept (reviewed by fable first)
At 2026-11-21T14:35Z the maintainer picked option A on the seat's decision card, "browser only, folded into #35892": a related tab's column widths are remembered only in this browser, like the main list (#35955 ruling D1). This PR stops reading and writing them in the
ui.record.<object>preference row (RelatedList.tsx~1437-1457, handed to the grid ~3423, written back ~3568); the grid already keeps a browser copy. The publishedRelatedListPreference/RecordPagePreference.relatedListstypes stay for now (removing them is a narrowing). The server's oldrelatedListsdata is not cleared here: it is left unread, and the same row'sshowEmptyFieldsstays. The upgrade note says once that a sort or width remembered in a related tab before this release no longer applies. Sign-out keeping layout for the same person (#35955 ruling, same time) is a separate card and covers these widths too.feat(ui): a record page's related tab is the child object's full list (…
feat(console): keep list column widths, row height and tab order in t…
feat(cli): os migrate list-preferences deletes the stored ui.list.* p…
fix(pm-dispatch): a hold is a Blocked-by line on the card, every patr…