Repository navigation
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpriority:p1High: required for production / M2
Description
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
立卡门类别:④ 协调节点的子单,承父单 #36255(专题:仪表盘和报表的使用体验,维护者直派)。⛔ 不是认领。优先级 p1(维护者 2026-11-22:「这几张卡都 p1」)。
本卡属于「运行界面的设计模式」这套方案,总说明和全部效果图在 #36359。 本卡对应本专题候选清单的第 6 项和第 8 项。
维护者说过的(2026-11-22)
- 「然后完整的测试 attio 的 reports 和 dashboard,对照我们的功能提出优化改进意见」
- 「先具体详细设计你的方案,和我沟通,包括界面设计」;看过图三后对这一张没有提修改意见,随后说「你先立已经决定的卡」
效果图(设计板图 49 的图三)
现状(主干 6c7c6db250,本机环境 HotCRM 6.5.0,浏览器实测)
- 报表页右上角有「编辑」,点了从右边出一个编辑面板,左边是现有的报表。面板里项很多,用词是内部名(另卡处理)。
- 没有新建报表时用的页面。
- 报表页上没有时间范围的快捷切换。
Attio(同日实测):搭建页右边五项。选完数据来源就按默认值出图。缺必填项时,图的位置写一句(「至少选两个阶段」)并自动打开那一项的下拉。时间类报表图上方有一排:7 天、1 月、3 月、6 月、12 月、全部,对比,按月按周。
要做的
- 一个页面管新建和编辑:新建报表、点现有报表的「编辑」,进的都是这个搭建页。左边是图的实时预览,右边是设置。
- 页头:左边「×」关闭、报表名称(可直接改)、一句说明(可直接改);右边「放弃」「保存」。
- 右边五项,从上到下:
- 报表类型:这一批只有「现状分析」一种,下拉先留着。
- 数据来源:从现有的数据集里选(显示名称)。下面「+ 筛选」。
- 指标:选字段和算法,默认「记录数」。
- 分组:选一个字段。下面「+ 再分一层」。
- 图表:柱状图、折线图、环形图、数字、表格;下面是这种图自己的开关(显示数值、显示数量为 0 的分组、目标线)。
- 立刻出图:选完数据来源,按默认值(记录数、不分组、数字)马上画出来。每改一项,图跟着变。没有「生成」按钮。
- 缺什么提示什么:还缺必填项时,图的位置显示一句话说明缺什么(「选一个数据来源」「选一个分组字段」),并自动打开那一项的下拉。
- 时间切换:指标或分组里有日期字段时,图上方出现一排快捷时间(近 7 天、1 个月、3 个月、12 个月、全部)和「和上一期对比」。
- 图下面:「计算值」可以展开成一张数字表;「查看明细」打开明细弹窗(仪表盘和报表「查看明细」改成居中弹窗:所有图表都能点,弹窗里是带条件的标准列表(现在是右侧抽屉,全部字段、不能排序) #36256);「下载」。
- 保存:系统管理员保存后对所有人生效,不用发布应用包。
不做的
- 不做漏斗、阶段停留、阶段变化这三类报表(本专题候选第 5 项)。
- 不做业务用户的个人报表(等维护者定)。这一批只有系统管理员能进搭建页。
- 不做直接选对象作为数据来源(要负责数据的席位先评估)。这一批数据来源只能选现有的数据集。
- 不做新建报表的入口(在 专题:运行界面的设计模式(管理员在界面上直接改菜单和页头按钮;看板、仪表盘、报表的设计入口都在页面上,不再去 Studio) #36359 的「在添加菜单项里新建」那张卡)。
验收
- 打开「各阶段商机」点「编辑」:进搭建页,左边是现在的图,右边五项已按现有设置填好。
- 把分组从「阶段」换成「商机负责人」:图立刻变;点「放弃」回到原样。
- 把图表从柱状图换成环形图再换成表格:都能画出来。
- 新建一张报表(从 专题:运行界面的设计模式(管理员在界面上直接改菜单和页头按钮;看板、仪表盘、报表的设计入口都在页面上,不再去 Studio) #36359 的入口,或直接打开搭建页的新建地址):一开始图的位置写「选一个数据来源」,数据来源的下拉自动开着;选了以后立刻出一个数字。
- 分组选一个日期字段:图上方出现时间切换;点「3 个月」,图只画近三个月。
- 点「计算值」:图下面出现数字表,和图一致。
- 保存后普通成员打开这张报表:看到新的样子。
- 界面上没有内部名(配合「编辑面板换成业务用词」那张卡)。
- PR 正文附搭建页、缺项提示、时间切换三张截图。
依赖
- 本专题的「编辑面板换成业务用词」那张卡(可以先后做,用词以那张卡为准)。
协调席自己加的(不是维护者原话)
- 图三的各项是协调席照 Attio 列的。
- 默认值(记录数、不分组、数字)。
- 「这一批只有系统管理员能进」「数据来源只能选现有的数据集」。
- 第 6 项时间切换的五档。
没有核对的
- 现在报表的「编辑」点保存后是直接生效还是进草稿,没有点过保存。
- 现有的数据集能不能支持「不分组只出一个数字」这种默认图,没有试。
- 「和上一期对比」现在的引擎支不支持(Chart compare-to (previous period) leaves {current_iso_week} unshifted, so the comparison series filters the same week #35395 是相关的缺陷),没有查。
Reader: domain:ui 车道。ui/packages/plugin-report。
Metadata
Metadata
Assignees
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpriority:p1High: required for production / M2

Activity
objectstack-fleet commentedon Nov 22, 2026
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
通知记录 · 2026-11-22T08:26Z
维护者 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
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; 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
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-36374Domain:
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: 7076522033
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: after #36373; overlap-check before every push.
Pre-claim lane:
repo:objectstackseat 7: the maintainer's 「后续 ux 专题立卡之后都通知 7号座位」 (relayed by coordinator#1, record 7076522033) 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 36374before code.Resume-from: none (fresh from origin/main)
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
State fix · 2026-11-22T08:51Z:
pm:queuewas added by triage while the seat claim above was landing; this card ispm:dispatchedunder that claim, so the stalepm:queueis removed.2 remaining items
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Release: seat 7 clocks out 2026-11-23T03:58Z on the maintainer's word (Steedos 2026-11-23T03:54Z, 「你可以走下班流程了」). This card was claimed at 7076755916 and never started: the maintainer ruled 2026-11-22T13:52Z, verbatim 「还没开工的不应该开工啊」, and at 2026-11-22T14:49Z that seat 2 takes the unstarted area:ux cards. Back to the queue, unclaimed, for seat 2's pick. No branch, no pushed work.
Resume-from: none
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim: PM loop round 3 · 2026-11-23T06:18Z
Session:
session_01JQwxbZeHNsF3RWcWpj7rGjThread session:
session_01JQwxbXq2Dxb31zZNmSqCtzAccount:
os-warrenBranch: the card thread's own branch, named at its first push; the seat amends this claim then
Worktree:
objectstack-issue-36374Domain:
domain:uiSeat:
repo:objectstack#1Area: card thread
#36374(w3-T2)Dispatch: the maintainer's ruling in this seat's project thread, 2026-11-23 06:15Z (decision card 「只接 p1,体验类也接」) and 06:16Z verbatim 「ux 直接 p1 和 专题卡」: this seat takes area:ux p1 cards and ux epic children. Released to the queue by seat 7 at 03:59Z, then handed to this seat by seat 2 (7092376997).
File surface:
ui/packages/plugin-report*/**,ui/packages/plugin-dashboard/**and the report spec they read; one changeset per moved package (stop on breach; explain in the report)Container & model:
M,mode:thread,model: opus — dispatch-gates --tier: no path-derived mandate, default tier (M, design judgement); the thread's first report states the served tier,effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — a feature card
Thread-read: 7091180783
Premise: holds as filed; seat 7 released it unstarted with no branch (03:59Z); the card thread re-measures the builder on current main before code
Serial constraints cleared: no open PR names #36374; #36364's new-report half waits on this card (seat ruling 7090058961)
objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj
Claim amendment · 2026-11-23T06:21Z — completes claim 7093219907; the seat widens the surface on the card thread's premise reading.
Branch:
claude/project-thread-bkjintFile surface: the builder component in
ui/packages/plugin-report*/**(reusable by #36364); its hosting inui/packages/app-shell(ReportView Edit, ReportConfigPanel / RuntimeDraftBar, the new-report route inconsole/AppContent.tsx, the save call); the i18n catalogues; one changeset per moved package. Save follows epic #36510's maintainer rule (save once, live at once) throughsaveAndPublishRuntimeMetadata. Item 3 picks among the dataset's declared measures and item 6 reusesReportDateRange; both narrowings are recorded in the PR body.objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#1 · os-warren · session_01JQwxbXq2Dxb31zZNmSqCtz
os-dev-report
{ "issue": 36374, "status": "done", "branch": "claude/project-thread-bkjint", "pr": "https://github.com/objectstack-ai/objectstack/pull/36644", "session": "session_01JQwxbXq2Dxb31zZNmSqCtz", "premise_still_valid": true, "summary": "The report builder (ReportBuilder, @object-ui/plugin-report): the report drawn live on the left, report type / data source / measure / grouping / chart on the right; picking a data source draws the count measure as one number; a missing piece is said where the chart would be and its picker opens by itself. The console opens it from the report page's Edit for dataset-bound reports (joined and pre-dataset reports keep the inspector panel) and at reports/new for a new report, admin only. Save stages and publishes in one press through saveAndPublishRuntimeMetadata, per the maintainer's ruling on epic #36510; a pending draft by someone else writes nothing and the builder says so. Narrowings (measures from the dataset, period chip reused, filter / zero-groups / compare not built, #36364's door not built) are listed in the PR's acceptance notes.", "tests": "vitest (ui): reportBuilder-36374 (19), ReportView* incl. saveRefusal-11583 and authoredEditBuffer-35008, reportBuilderArrival-36374, writeRefusalCensus-11583: Test Files 11 passed (11), Tests 63 passed (63). Regression test for the measure picker opening on a just-picked data source fails without the fix (1 failed | 18 passed) and passes with it (19 passed). @object-ui/i18n suite passes after gen:zh-hant. Browser run on the showcase app (admin, zh-Hans, head 6fea0ab67): five states captured.", "gates": "pnpm --filter @object-ui/app-shell type-check → exit 0 (both programs); plugin-report type-check → exit 0; eslint on changed files → 0 errors; scripts/pm/overlap-check.mjs --branch=HEAD → VERDICT clean exit 0. PR check-runs on 6fea0ab67 were in progress at writing; Governed Surface Queue Guard success.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0 GitHub MCP calls (subscribe_pr_activity is the harness's, not GitHub's)", "api_writes": "3 — POST /repos/objectstack-ai/objectstack/pulls; POST /issues/36644/assignees; POST /pulls/36644/requested_reviewers (422: author cannot be requested)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }feat(app-shell): report and widget panels speak business wording, and…
feat(console): create a dashboard from the design mode's Add menu item (
feat(console): the report builder — one page to build or edit a report (