Repository navigation
Labels
area:uxbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p1High: required for production / M2
Description
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
立卡门类别:④ 协调节点的子单,承父单 #35547(列表专题,维护者直派)。#36048 的一条验收项没有做到。⛔ 不是认领。优先级 p1(协调席定的:装了应用包的环境里每个列表都会碰到)。
维护者说过的(2026-11-22)
- 「右侧表格,最下面的统计点击就保存,你真的完整仔细测试过了吗」
- 协调席复现后报告两个问题并建议「只读视图不显示入口按 列表观感:列之间加竖线,默认行高 32 改 36,底部每列的「添加统计」入口常显 #36048 原验收项补上」,维护者:「按这两条立卡」
现状(主干 6c7c6db250,本机环境浏览器实测,1440 宽,HotCRM 6.5.0)
- HotCRM 销售应用「全部客户」是应用包里带的视图。底部每一列照样显示「+ 添加统计」。
- 点一列选「去重」:页面发出
PUT /api/v1/meta/view/crm_account.all_accounts?mode=draft,失败,右上弹出「保存失败」,下面是一整段英文:'view/crm_account.all_accounts' ships in 'app.objectstack.hotcrm': save it into 'app.objectstack.hotcrm.custom' …,里面有包名、ADR 编号和命令行。 - 同一个视图上加筛选是好的:进草稿,「保存」菜单里只有「另存为我的视图」。说明别的入口知道这个视图不能原地改,只有底部统计不知道。
- 列表观感:列之间加竖线,默认行高 32 改 36,底部每列的「添加统计」入口常显 #36048 的验收项写了「只读视图(比如包里带的视图、没有权限的人):底部没有『+ 添加统计』」。列表观感:列之间加竖线,默认行高 32 改 36,底部每列的「添加统计」入口常显 #36048 已关闭,协调席当时报了已验收,这一条其实没有试。
要做的
- 当前用户不能原地改的视图(包里带的、没有权限的),底部不显示「+ 添加统计」,只显示视图已有的统计结果。判断用和筛选、「保存」菜单同一个依据,不另写一套。
- 如果「列表底部的统计也是草稿」那张卡(和本卡同时立)先做完:只读视图上可以选统计、进草稿,「保存」里只有「另存为我的视图」。两张卡谁先做,按那时的规则走;最低要求是任何情况下都不出现上面那段报错。
- 视图保存被服务端拒绝时,界面不直接显示服务端的英文原文。显示一句中文说明(这个视图来自应用包,不能直接修改,可以另存为我的视图)。
不做的
- 不改服务端的拒绝规则(包里带的视图不能原地写,这是对的)。
- 不改统计的种类。
验收
- HotCRM「全部客户」列表:底部没有「+ 添加统计」(或者按第 2 项可以选但进草稿),已有的「平均值」照常显示。
- 在这个视图上做任何列表操作,都不出现英文的保存失败提示。
- 自建应用里自己能改的视图:底部入口照常。
- 没有改视图权限的账号打开自建应用的共享视图:底部没有入口。
- PR 正文附 HotCRM 视图底部一行的改动前后截图。
协调席自己加的(不是维护者原话)
- 第 2 项两张卡的衔接,第 3 项的中文提示。
没有核对的
- 没有权限的账号实际看到什么,本机只有一个管理员账号,没有试。
- 那段报错是哪一层拼出来的,没有读代码。
Reader: domain:ui 车道。底部统计入口是 #35702 加的,常显是 #36069(#36048)改的。
Dedupe: 添加统计 只读视图、统计 包 视图 保存失败(objectstack,open)→ 都是 0。相关:#36048(已关闭)、#35955。
Metadata
Metadata
Assignees
Labels
area:uxbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpm: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、#36194。本卡是缺陷,和 #36194 有衔接(卡上「要做的」第 2 项),可以先做本卡。
objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob
Claim: PM loop · 2026-11-21T22:40Z · #36195, folded with #36194 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 · read-only package views still show 「添加统计」, and a pick fails with a raw English engineering error, an acceptance item #36048 missed; found by the maintainer → p1 as set by the coordinator · size S.feat(console): a footer calculation is a part of the list draft; a pa…