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
立卡门类别:④ 协调节点的子单,承父单 #36255(专题:仪表盘和报表的使用体验,维护者直派)。⛔ 不是认领。优先级 p1(维护者 2026-11-22:「这几张卡都 p1」)。
本卡属于「运行界面的设计模式」这套方案,总说明和全部效果图在 #36359。 本卡对应本专题候选清单的第 1 项和第 2 项。
维护者说过的(2026-11-22)
- 「重新评估我们的看板、报表的设计页面,对照 attio」
- 看过图二、图三(面板里全是业务用词)后同意在页面上做「编辑」:「我同意先做页面上的「编辑」」
效果图(设计板图 49 的图二、图三的右侧面板)
现状(主干 6c7c6db250,本机环境 HotCRM 6.5.0,浏览器实测)
运行界面报表页点「编辑」打开的面板,和 Studio 里仪表盘卡片的属性栏,是同一套:
- 字段显示内部名:
total_amount、avg_probability、stage、account_industry。 - 分组叫「行(维度)」「维度」,指标叫「值(度量)」。
- 图表类型写
bar。 - 数据集写「商机指标 (opportunity_metrics)」,下面一段说明是「选择本组件取数的受治理数据集……强制行级安全(RLS)」。
- 顶部筛选的绑定里出现
dateRange、owner_id、lead_source。 - 名称、标题显示英文原文(
Executive Overview、Revenue by Industry),而画布上是中文。 - 缺陷:打开报表的编辑面板后,页面标题从「各阶段商机」变成「Opportunities by Stage」,副标题也变成英文。
要做的
- 字段:一律显示字段的标签(当前语言),不显示内部名。鼠标悬停可以看到内部名。
- 用词:
- 「行(维度)」「维度」→「分组」
- 「值(度量)」→「指标」,并写成「金额 · 合计」这样(字段加算法)
- 「数据集」→「数据来源」,只显示它的名称,不带括号里的内部名
- 「仪表盘过滤器绑定」→「跟着页面顶部的筛选变」,每项显示筛选的名称(时间、负责人、线索来源)
- 图表类型:下拉里是中文名加小图标(柱状图、折线图、面积图、环形图、数字、表格),不显示
bar这类写法。 - 说明文字:数据来源下面那段改成一句人话,比如「报表从这里取数;每个人只能看到自己有权限的记录」。不出现「受治理」「RLS」。
- 名称和标题:显示当前语言的文字;编辑时改的也是当前语言的文字。
- 修缺陷:打开编辑面板时,页面标题和副标题保持当前语言,不变成英文。
- 这套用词同时用在三处:运行界面报表页的编辑面板、仪表盘页面编辑的属性栏、Studio 里对应的面板。
不做的
- 不改面板的结构和有哪些项。
- 不做「直接选对象作为数据来源」(要负责数据的席位先评估)。
- 不改数据集本身在 Studio「数据」里的设计界面。
验收
- 运行界面打开「各阶段商机」点「编辑」:页面标题仍是「各阶段商机」;面板里看到「数据来源:商机指标」「指标:金额 · 合计、平均赢单概率 · 平均」「分组:阶段」「图表:柱状图」。
- 整个面板里搜不到
total_amount、stage、bar、opportunity_metrics、RLS、「维度」「度量」。 - 把界面语言切成英文再看:标签是英文,仍然没有内部名。
- Studio 里打开同一张报表、同一个仪表盘的卡片:用词相同。
- 一个没有翻译的自建应用:标签显示作者填的名称,不是内部名。
- PR 正文附改动前后的面板截图。
协调席自己加的(不是维护者原话)
- 具体的新用词(分组、指标、数据来源)和第 4 项的那句说明。
- 第 1 项「悬停可以看到内部名」。
- 第 7 项三处同时改。
没有核对的
- 面板里的英文原文和内部名是因为没接翻译,还是设计成给搭建者看的,没有读代码。
- 改名称时,写回去的是翻译文件还是定义本身,没有查。
Reader: domain:ui 车道。报表编辑面板在 ui/packages/plugin-report;Studio 面板在 ui/packages/app-shell/src/views/studio-design/。
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:p1High: required for production / M2


Activity
objectstack-fleet commentedon Nov 22, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
通知记录 · 2026-11-22T08:25Z
维护者 2026-11-22:「后续 ux 专题立卡之后都通知 7号座位。」本卡按此通知席位
repo:objectstack#7,随后在它的信箱 #36199 里发一条。同批:#36362 #36363 #36364 #36366(设计模式专题 #36359)、#36370 #36371(列表专题)、#36372 #36373 #36374(报表专题)。objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Claim: PM loop round 4
Session:
session_01QsR2jTeURPvEm465RcoYECThread session:
session_01QsR2jUP9hxdL4RzdzTs9eKAccount:
zhuangjianguoBranch:
claude/project-thread-3gbdm3(the thread's container pushes only to its own branch name)Worktree:
objectstack-issue-36373Domain:
domain:uiSeat:
repo:objectstack#7Area:
f7-seat (the reports card-pair thread; enters no area)File surface: the report/dashboard widget property panel, the report page and its builder in
ui/**, the i18n catalogues, their testsContainer & model: L,
mode:thread, model: default tier (the thread re-derivesdispatch-gates --tierat its head), effort: high (seat order)Clause-②: yes (widening) — new
@object-ui/i18nkeys for the new UI strings (the thread re-judges from the diff; a spec/schema change is told to the seat before push)Metadata-protocol: none (the thread re-judges from the diff)
Responsibility:
n/a — not a defect cardThread-read: 7076513679
Premise: holds as filed (card 现状 read at main 6c7c6db; the thread re-measures first and stops on a premise that does not hold)
Serial constraints cleared: first of the pair; overlap-check before every push.
Pre-claim lane:
repo:objectstackseat 7: the maintainer's 「后续 ux 专题立卡之后都通知 7号座位」 (relayed by coordinator#1, record 7076513679) and 「ux 新进一批 p1 卡,要优先派发」 (2026-11-22T08:40Z, seat thread); coordinator#1's take request 7076651522, acknowledged 7076693653.Pre-claim deps: one branch, one PR per card, #36373 first (its panel is reused by #36372 in another thread), then #36374; 「查看明细」 stays #36256.
Prior rulings read: epic #36359 (maintainer's words, board 49; the 2026-10-09 "no orchestration handles in the runtime" ruling stands, since editing controls appear only in the edit state); the thread runs
check-prior-rulings.mjs --card 36373before code.Resume-from: none (fresh from origin/main)
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui· claimed meanwhile (pm:dispatched); rationale: area:ux · Feature · a child the coordinator filed under #36255 (dashboards and reports on the page) → p1 as set by the maintainer · size M.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Claim: PM loop round 4 (amended: file surface adds the spec i18n resolver, Metadata-protocol semantic)
Session:
session_01QsR2jTeURPvEm465RcoYECThread session:
session_01QsR2jUP9hxdL4RzdzTs9eKAccount:
zhuangjianguoBranch:
claude/project-thread-3gbdm3(the thread's container pushes only to its own branch name)Worktree:
objectstack-issue-36373Domain:
domain:uiSeat:
repo:objectstack#7Area:
f7-seat (the reports card-pair thread; enters no area)File surface: the report/dashboard widget property panel, the report page and its builder in
ui/**, the i18n catalogues, their tests; pluspackages/spec/src/system/i18n-resolver.ts(translateReportlabel/description andtranslateDashboardwidget title only: an inline locale entry that differs from the packaged base beats the bundle;translateDatasetuntouched, ADR-0149 scope)Container & model: L,
mode:thread, model: default tier (the thread re-derivesdispatch-gates --tierat its head), effort: high (seat order)Clause-②: yes (widening) — new
@object-ui/i18nkeys for the new UI strings (the thread re-judges from the diff; a spec/schema change is told to the seat before push)Metadata-protocol: semantic (the resolver precedence for an inline report/widget label map changes meaning)
Responsibility:
n/a — not a defect cardThread-read: 7076513679
Premise: holds as filed (card 现状 read at main 6c7c6db; the thread re-measures first and stops on a premise that does not hold)
Serial constraints cleared: first of the pair; overlap-check before every push.
Pre-claim lane:
repo:objectstackseat 7: the maintainer's 「后续 ux 专题立卡之后都通知 7号座位」 (relayed by coordinator#1, record 7076513679) and 「ux 新进一批 p1 卡,要优先派发」 (2026-11-22T08:40Z, seat thread); coordinator#1's take request 7076651522, acknowledged 7076693653.Pre-claim deps: one branch, one PR per card, #36373 first (its panel is reused by #36372 in another thread), then #36374; 「查看明细」 stays #36256.
Prior rulings read: epic #36359 (maintainer's words, board 49; the 2026-10-09 "no orchestration handles in the runtime" ruling stands, since editing controls appear only in the edit state); the thread runs
check-prior-rulings.mjs --card 36373before code.Resume-from: none (fresh from origin/main)
test(app-shell): move the panel tests to the business wording (#36373)
4 remaining items
test(app-shell): pay the lint and formula loads at collection in the …
fix(app-shell): name the report form's order-and-drill section by wha…
fix(app-shell): read a dimension's column through columnIdentity() fo…
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jUP9hxdL4RzdzTs9eK
os-dev-report
{ "issue": 36373, "status": "done", "branch": "claude/project-thread-3gbdm3", "pr": "https://github.com/objectstack-ai/objectstack/pull/36420", "session": "session_01QsR2jUP9hxdL4RzdzTs9eK", "premise_still_valid": true, "summary": "The report panel (runtime 编辑 and Studio) and the dashboard widget panel now name things by label. The machine name moves to a title on hover, and a measure reads LABEL · AGGREGATE in words. The terms are 数据来源 / 分组 / 指标 / 列分组 / 跟着页面顶部的筛选变, chart types show Chinese names with icons, and the data-source hint is one plain line. Filter rows are named by the filter's label, 时间, or the label of the dimension whose column the filter reads. The report form's zh-CN rows below the curated fields use the same words. The name and title boxes show the served text, and an edit writes the session language only, as { default: SOURCE, LANG: EDIT }. Supporting pieces: servedLabel.ts, ServedReportTextContext, and ServedWidgetTextContext around Studio's selection inspector. ReportView no longer flips the heading to English when the editor opens (previewWithServedText). Spec (seat option A): translateReport and translateDashboard serve the inline entry over the bundle when there is a packaged base and the entry differs from it. Docs: i18n-standard, ui/reports, ui/dashboards. Final head e2d307a1.", "tests": "At the merged head 20c4ea00, under os-verify-lock: ui vitest over 117 files gave 1141 passed and 7 skipped. That covers 4 new files (panelBusinessWording-36373 8, servedLabel 11, ReportView.headingStaysServed-36373 3, plus the spec describe of 8) and 7 moved files. Spec src/system: 76 files, 2642 passed. app-shell type-check exit 0. eslint: 0 errors. Full pnpm build: 120/120. After the CI fix at e2d307a1: column-identity ratchet plus 4 ui files gave 62/62, and app-shell type-check exit 0. Ablations ran through ablation-replace, each landing and then restored with the blob equal to HEAD. Precedence reverted to return false: 3 failed of 24 (zh entry, base tag, widget title). previewWithServedText replaced by the raw buffer: 2 failed of 3 (the context case is a separate seam).", "gates": "dispatch-gates --commands at 20c4ea00: 112 families. --ran with recorded exit codes: 112 derived, 112 run, 0 NOT-MEASURED, all exit 0. The pre-merge sweep had one real red, check:test-source-alias: edited tests reaching import('@objectstack/lint'|'formula'). It was fixed with module-top imports. Its exit-3 rows were prerequisites, cleared by fetching fixture 621a4876 and a full build. overlap-check VERDICT clean (origin/main, and #36383, which shares i18n-standard.mdx). CI at 20c4ea00: Test UI 9/16 red on core column-identity.ratchet (a new name/field dual read in dimensionLabelOf), fixed in e2d307a1 via columnIdentity(). CI at e2d307a1: 70 check-runs, 61 success and 9 skipped, none failed. mergeable_state clean.", "dogfood_battery": "n/a: no ! in the title, and Clause-② yes (widening) has no (narrowing) arm", "mcp_calls": "GitHub MCP reads only: issue_read on #36373, pull_request_read get on #28967 and #36340 (body format precedents), get_job_logs on the red Test UI job. subscribe_pr_activity on #36420 is a session subscription.", "api_writes": "git push of 67132dd7..20c4ea00 and 20c4ea00..e2d307a1 (not REST). Relay pr_create of #36420 (read-back identical 13815 bytes, assignee zhuangjianguo). Relay issue_patch of the #36420 body (read-back identical 14307 bytes). This os-dev-report via post-stamped.mjs.", "open_questions": [], "deviations": "Scope additions, all inside the panels the card names. (1) The zh-CN report form overlay in ui metadata-form-zh-cn.ts: the panel sweep found 维度/度量 in the form rows below the curated fields. Those leaves are reworded and marked ⟨36373⟩. The platform's own zh-CN metadata-forms bundle and the spec's en form text are untouched (named as a follow-up in Acceptance notes). (2) Seven existing tests moved to the new wording. objectui#12688's case now pins that the Title box reads the served title. (3) The widget section heading is 数据 / Data so it does not repeat the 数据来源 field label. Screenshots come from a Vite harness, not committed. The images are in the project folder, and the PR body describes them. The PR body opens with the attribution comment rather than the signature line, following #36340.", "security_findings": "none", "out_of_scope_findings": [ "carrier: none. The en report form rows still read the spec's English ('Dataset binding', 'Values are the dataset's measures; rows are its dimensions', and the description field's I18nLabel describe text). Rewording them means editing packages/spec/src/ui/report.form.ts and regenerating ten metadata-forms locale bundles. That is a follow-up if the seat wants English to match." ] }docs: scope the inline-entry sentence to a report with a packaged base (
fix(spec): an inline entry counts as changed, so the pair's translati…
feat(pm): first-touch-sweep lists a card whose area:* is not exactly …
feat(console): edit a dashboard on its own page, and mark the page fi…
fix(app-shell): the dashboard page's card panel reads the served titl…
fix(spec): a map-changed slot reads the pair for the requested locale…
fix(spec): a map-changed slot finds the pair's row by language, not b…
feat(app-shell): report and widget panels speak business wording, and…
fix(app-shell): the report name box and the dashboard card title box …
feat(console): the report builder — one page to build or edit a report (