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:p1High: required for production / M2
Description
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
立卡门类别:④ 协调节点的子单,承父单 #35547(列表专题,维护者直派)。补 #35955 漏掉的一项。⛔ 不是认领。优先级 p1(协调席定的,和 #35955 一致)。
维护者说过的(2026-11-22)
- 维护者在自己的浏览器里发现:「右侧表格,最下面的统计点击就保存,你真的完整仔细测试过了吗」
- 协调席复现后建议「统计也改成草稿,和排序筛选一致」,维护者:「按这两条立卡」(另一条是只读视图不显示入口,单独一张卡)
为什么漏了
#35955 是协调席写的,第 1 项列了排序、筛选、分组、显示哪些列、列顺序,例外列了列宽、行高、标签页顺序,两边都没有提底部统计。开发照卡做,统计就留在了原来「点了就存」的路上。这是卡的缺口,不是开发做错。
现状(主干 6c7c6db250,本机环境浏览器实测,1440 宽)
- 自建应用的「客户」列表:点底部「添加统计」选「去重」,页面立刻发出
PUT /api/v1/meta/view/nb57_customer.list?mode=draft,没有出现「放弃」「保存」。 - 同一个页面加一个筛选:不发请求,出现「放弃」「保存」(下图)。两种改动在同一行工具栏上表现不一样。
参照
Attio 上给一列加底部统计是立即保存(#35955 正文里的实测表)。维护者这次定的是和我们自己的规则一致:列表上的改动都是临时的。所以这一项和 Attio 不同,是有意的。
要做的
- 在列表底部选、换、去掉一列的统计:立即生效(底部马上显示结果),不写进视图,也不写进个人偏好;算进 在列表上的改动都改成临时的(排序、筛选、分组、列的显示和顺序):立即生效但不保存,出现「放弃」和「保存」;列宽、行高、标签页顺序只记在浏览器里;退掉服务端的个人列表偏好 #35955 的草稿,标签行右边出现「放弃」「保存」。
- 「放弃」把统计还原成视图本来的样子。「保存」的两项(保存到这个视图、另存为我的视图)把统计一起存进去,规则照 在列表上的改动都改成临时的(排序、筛选、分组、列的显示和顺序):立即生效但不保存,出现「放弃」和「保存」;列宽、行高、标签页顺序只记在浏览器里;退掉服务端的个人列表偏好 #35955 和它的 PR 2(feat(console): Save to this view on a shared view asks once, then saves and publishes it; layout and row colour join the list draft (#35955 PR 2) #36123)。
- 「保存」菜单里列出未保存改动的那一行,把统计也算一项。
- 草稿留到什么时候,和 在列表上的改动都改成临时的(排序、筛选、分组、列的显示和顺序):立即生效但不保存,出现「放弃」和「保存」;列宽、行高、标签页顺序只记在浏览器里;退掉服务端的个人列表偏好 #35955 第 4 项一样:开记录再返回还在;切视图、切对象、刷新就丢。
不做的
- 不改统计的种类和算法(列表底部计算行:常驻一行,用户点列底下的格子选计算(合计、平均、计数等),存到视图上 #35702 定的不变)。
- 只读视图上入口显不显示,是另一张卡(和本卡同时立)。
验收
- 自建应用的列表上给一列选「去重」:底部显示结果,出现「放弃」「保存」,浏览器网络里没有对视图的写请求。
- 点「放弃」:统计消失,回到视图原样。
- 不保存就刷新:统计没了。另一个用户打开同一个视图看不到这个统计。
- 点「保存 → 保存到这个视图」:刷新后统计还在,另一个用户也能看到。
- 点「保存 → 另存为我的视图」:新视图带着这个统计,原视图没有。
- PR 正文附选了统计后工具栏的截图。
协调席自己加的(不是维护者原话)
- 第 3、4 项。维护者只同意了「统计也改成草稿」。
没有核对的
- 看板、日历等别的视图类型有没有类似的「点了就存」的入口,没有逐个试。
- 隐藏列、拖列顺序、分组这几项草稿这次也没有实测,只测了筛选。
Reader: domain:ui 车道,最好是做 #35955 的同一个席位。草稿的写入在 ui/apps/console 的 objectViewListRenderer.tsx(#36026 的说明里写的),底部统计的入口是 #35702 加的。
Dedupe: 添加统计 草稿、底部统计 草稿、footer calculation draft(objectstack,open)→ 都是 0。相关:#35955(开着,PR 2 #36123、PR 3 #36133 在途)。
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:p1High: required for production / M2

Activity
objectstack-fleet commentedon Nov 21, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
派发记录 · 2026-11-21T22:29Z
维护者 2026-11-22 对这张卡说「通知派发」。交给 os-sales 的席位
repo:objectstack#1,随后在它的信箱 #35349 里发接手请求。同批派发:#36193、#36195。本卡补 #35955 的缺口,#35955 的 PR 2(#36123)、PR 3(#36133)还在途,最好由同一个席位接,先后请席位自己排。
objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: PM loop · 2026-11-21T22:41Z · #36194, folded with #36195 into one PR (list footer calculations follow the view's write rule and join the list draft; maintainer dispatch 22:34Z).
Area: b1-L (epic #35547)
Session:
session_01L6bhgX7ez5A7JDsmzTy9Ks(card thread)Account:
os-salesBranch: claude/project-thread-8r2qm4 (from main fa30414)
File surface:
ObjectView.tsxfooterpickSummarypath,listDraftStore(asummariesmember layered onto the columns at render), the Save paths (buildPersonalViewConfig, #36123'slayListStateOverViewonce merged), the view-save refusal toast, i18n keys in every locale, tests, docs, changeset.Container & model:
M, card thread,model: opus,effort: highClause-②: yes (widening): new i18n keys (per #36026's precedent).
Metadata-protocol: none
Premise (thread, file
build-seat1/36194-36195/premise-read.mdin the project folder): holds.Scope, the seat's reading:
isAdmin && !activeViewPackageRefusesSaves && isSavedViewId, the same as feat(console): Save to this view on a shared view asks once, then saves and publishes it; layout and row colour join the list draft (#35955 PR 2) #36123'scanSaveToSharedView), no second rule. On a view that refuses in-place saves, a calculation enters the draft and 「保存」 offers only 「另存为我的视图」.NOT_OVERRIDABLEand other 403s) shows the card's Chinese explanation, with the raw text only in the console; field-level validation issues are still listed.Resume-from: none
Fold-or-serial: folded: same footer, same draft store, same Save menu. Overlap on
objectViewListRenderer.tsx/ObjectView.tsxwith feat(console): Save to this view on a shared view asks once, then saves and publishes it; layout and row colour join the list draft (#35955 PR 2) #36123, feat(console): keep list column widths, row height and tab order in this browser only #36133, feat(grid): a lookup chip in a list cell opens its record in the side drawer; lookup cells draw an edit button (#36015) #36128; merge main after feat(console): Save to this view on a shared view asks once, then saves and publishes it; layout and row colour join the list draft (#35955 PR 2) #36123 lands. L1 at L1-b; the seat runs the declaration L2. The PR carriesFixes #36195andFixes #36194.objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage:
pm:dispatchedto seat 1 (as set); rationale: area:ux · Bug · picking a list footer summary saves straight into the view instead of staying a draft with 「放弃」 / 「保存」 like sort and filter (#35955 missed it); found by the maintainer in his own browser (「…你真的完整仔细测试过了吗」) → p1 as set by the coordinator · size S.feat(console): a footer calculation is a part of the list draft; a pa…