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
立卡门类别:④ 协调节点的子单,承父单 #35547(列表专题,维护者直派)。⛔ 不是认领。优先级 p1(维护者 2026-11-22:「这几张卡都 p1」)。
本卡属于「运行界面的设计模式」这套方案,总说明和全部效果图在 #36359。
维护者说过的(2026-11-22)
- 「重新评估我们的看板、报表的设计页面,对照 attio,以及是否建议调整到前端允许系统管理员甚至业务用户更方便的修改」
- 问「业务用户、系统管理员,在哪里设计视图、设计看板」,听完回答(只在视图本身的「视图设置」)后:「同意」
效果图(设计板图 49 的图一)
现状(主干 6c7c6db250,本机环境 HotCRM 6.5.0「商机 › 销售流水线」,浏览器实测)
- 看板上点「视图设置」,出来的是表格那一套:显示的列、分组、行高、恢复默认。
- 「分组」显示的是「无」,而看板正按「阶段」分着列。运行界面里改不了分列字段。
- 「行高:紧凑」在看板上没有意义。
- 没有「显示哪几列」;列头只有名称、数量、合计,没有菜单。
- 这些在 Studio 里能改,但 Studio 的看板设置重复两段,下面一段是整段英文的规格说明。
Attio(同日实测):看板的视图设置六项全是看板自己的(按什么分列、显示哪几列、显示字段名、隐藏空字段、显示哪些字段、添加字段);列头有「+」和菜单(折叠、隐藏)。
要做的
「视图设置」在看板上显示这些项(不再显示表格的「显示的列」「分组」「行高」)
- 分列字段:显示当前字段名,点开可以换。只列单选、状态、勾选、人员、关联记录这几类(和 列表加分组时立刻按第一列(通常是名称)分组:每条记录自成一组;改成先让人选字段、选了才分组,只列单选/状态/勾选/人员/关联记录 #36204 的分组字段范围一致)。
- 显示哪几列:列出分列字段的全部取值,勾选要显示的,拖动排顺序。旁边写「5 / 7」。
- 卡片上显示的字段:列出当前显示的字段,拖动排序,点右边的圆点隐藏;底部「+ 添加字段」。
- 三个开关:显示字段名;隐藏空字段;卡片底部的小图标(评论数、附件数、在这一列停了多少天,有什么显示什么)。
- 每列底部的统计:现在固定是金额合计。改成可选:不显示、计数、某个数字字段的合计或平均。和列表底部统计是同一套选项。
列头
- 每列右上角加「+」(在这一列新建,新记录的分列字段已填好)和「⋯」(折叠这一列、隐藏这一列)。空列里也有一行「+ 新建」。
- 折叠是每个人自己的,只记在浏览器里;隐藏等同于在「显示哪几列」里取消勾选。
保存
- 以上除折叠外都是视图的设置,遵守列表的草稿规则(在列表上的改动都改成临时的(排序、筛选、分组、列的显示和顺序):立即生效但不保存,出现「放弃」和「保存」;列宽、行高、标签页顺序只记在浏览器里;退掉服务端的个人列表偏好 #35955):改了立即生效但不保存,右上角出现「放弃」「保存」。
不做的
- 不在看板上给分列字段加选项(「加一个阶段」)。等维护者定。
- 不改卡片的版式和拖动卡片的行为。
- 不改 Studio 里的看板设置。
- 不改手机上的看板。
验收
- 「销售流水线」点「视图设置」:看到分列字段(阶段)、显示哪几列、卡片字段、三个开关、列底统计;没有「行高」。
- 把分列字段换成「商机负责人」:看板按负责人分列,出现「放弃」「保存」,没有写请求;点「放弃」回到按阶段。
- 「显示哪几列」取消勾选「成交」:这一列消失;把「谈判」拖到第一位:列顺序跟着变。
- 关掉「显示字段名」:卡片上只剩值;打开「隐藏空字段」:没值的字段不占行。
- 列底统计换成「计数」:每列底部显示条数。
- 在「提案」列点「+」:新建表单里阶段已是「提案」。
- 折叠一列后刷新:还是折叠的;换一个浏览器:没有折叠。
- 自建应用的一个看板视图同样试一次。
- PR 正文附视图设置和列菜单的截图。
协调席自己加的(不是维护者原话)
- 图一里的各项是协调席照 Attio 列的,维护者说的是「同意」在视图设置里设计看板。
- 「卡片底部的小图标」这个开关和具体显示什么。
- 第 7 项折叠只记在浏览器里。
- 分列字段的类型范围沿用 列表加分组时立刻按第一列(通常是名称)分组:每条记录自成一组;改成先让人选字段、选了才分组,只列单选/状态/勾选/人员/关联记录 #36204。
没有核对的
- 「在这一列停了多少天」的数据现在有没有,没有查;没有的话这个小图标先不显示,请席位在 PR 里说明。
- 换分列字段后,原来「显示哪几列」的设置怎么处理(建议重置为全部显示),没有想透。
- HotCRM 这个看板是应用包带的只读视图,草稿之后能不能「保存」取决于 在列表上的改动都改成临时的(排序、筛选、分组、列的显示和顺序):立即生效但不保存,出现「放弃」和「保存」;列宽、行高、标签页顺序只记在浏览器里;退掉服务端的个人列表偏好 #35955 第二步。
Reader: domain:ui 车道。ui/packages/plugin-kanban、ui/packages/plugin-list(视图设置面板)。
Dedupe: 看板 视图设置 分列(objectstack,open)→ 0。相关:#35955、#36204、#35702。
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:23Z
维护者 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_01QsR2jRKaa4gJCNNF5QMd8tAccount:
zhuangjianguoBranch:
claude/project-thread-klklkh(the thread's container pushes only to its own branch name)Worktree:
objectstack-issue-36370Domain:
domain:uiSeat:
repo:objectstack#7Area:
f7-seat (single-card thread; enters no area)File surface:
ui/packages/plugin-kanban/**, the view-settings panel where it branches per view type, their tests; the #35955 draft store is reused, not forked; shared view-settings / plugin-grid files coordinated with area f7-list through the seatContainer & 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: 7076489214
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: builds on #35955's draft store; overlap-check before every push.
Pre-claim lane:
repo:objectstackseat 7: the maintainer's 「后续 ux 专题立卡之后都通知 7号座位」 (relayed by coordinator#1, record 7076489214) and 「ux 新进一批 p1 卡,要优先派发」 (2026-11-22T08:40Z, seat thread); coordinator#1's take request 7076645894, acknowledged 7076693653.Pre-claim deps: #35955 (draft rules, area f7-list, in build) supplies the draft store; #36204 (merged) fixes the column-field range.
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 36370before code.Resume-from: none (fresh from origin/main)
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 topic #35547 (列表) → p1 as set by the maintainer (「这几张卡都 p1」) · size M.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.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jRKaa4gJCNNF5QMd8t
os-dev-report
{ "issue": 36370, "status": "done", "branch": "claude/project-thread-klklkh", "pr": "https://github.com/objectstack-ai/objectstack/pull/36411", "head": "e94bb551", "session": "session_01QsR2jRKaa4gJCNNF5QMd8t", "premise_still_valid": true, "premise_note": "Measured at 3faabd26: ViewSettingsPopover had no board branch (Shown columns, Group, Row height on a board); lane header had name, count and the summarizeField total only; collapse only for authored collapsed lanes. Also found: kanbanViewOptions never relayed kanban.lanes, so #28211's lane order never took effect on the Console.", "summary": "Board 视图设置 (plugin-list ViewSettingsPopover kanban branch built by ListView): lane field (#36204 range), shown lanes N / M (hide, show at end, reorder, keep last), card fields (reorder, hide, add), showFieldLabels and hideEmptyFields toggles, lane-foot statistic (none/count/sum/avg); the table rows are gone on a board. Lane header 「+」 (onEdit seeded record, plus a 「+ 新建」 row on an empty lane) and 「⋯」 (collapse per browser under objectui:kanban-lanes-collapsed:<object>:<view>, hide = untick) via a package-private KanbanLaneMenu context on ObjectKanban's new laneMenu prop. Everything but collapse is a list-draft part (ListDraft.kanban, changed keys only) laid over the view's block and written by Save via layListStateOverView. Spec widening as the final commits: KanbanConfig summary, showFieldLabels, hideEmptyFields (optional, no defaults).", "files_changed": [ "ui/packages/plugin-kanban/src/KanbanLaneMenu.ts", "ui/packages/plugin-kanban/src/KanbanCardDisplay.ts", "ui/packages/plugin-kanban/src/KanbanColumnSummary.ts", "ui/packages/plugin-kanban/src/KanbanImpl.tsx", "ui/packages/plugin-kanban/src/ObjectKanban.tsx", "ui/packages/plugin-kanban/src/index.tsx", "ui/packages/plugin-kanban/src/ObjectKanban.laneMenu-36370.test.tsx", "ui/packages/plugin-kanban/src/ObjectKanban.laneStatistic-36370.test.tsx", "ui/packages/plugin-list/src/ListView.tsx", "ui/packages/plugin-list/src/components/ViewSettingsPopover.tsx", "ui/packages/plugin-list/src/conditions/FieldList.tsx", "ui/packages/plugin-list/src/__tests__/ViewSettingsPopover.kanban-36370.test.tsx", "ui/packages/app-shell/src/views/listDraftStore.ts", "ui/packages/app-shell/src/views/objectViewListRenderer.tsx", "ui/packages/app-shell/src/views/objectViewOptions.ts", "ui/packages/app-shell/src/views/ObjectView.tsx", "ui/packages/app-shell/src/views/personalViews.ts", "ui/packages/app-shell/src/views/objectViewListUrlState.ts", "ui/packages/app-shell/src/views/ListDraftActions.tsx", "ui/packages/app-shell/src/views/kanbanDraft-36370.test.ts", "ui/packages/i18n/src/locales/{ar,de,en,es,fr,ja,ko,pt-BR,ru,zh-Hans,zh-Hant}.ts", "packages/spec/src/ui/view.zod.ts", "packages/spec/authorable-surface/ui.json", "packages/spec/liveness/view.json", "content/docs/references/{ui/view,api/protocol,data/object}.mdx", ".changeset/36370-kanban-view-settings.md" ], "line_budget": "2080 changed lines (+2041 / -39, 38 files), under 3000", "tests": "New: laneMenu-36370 4/4, laneStatistic-36370 6/6, ViewSettingsPopover.kanban-36370 6/6, kanbanDraft-36370 7/7. Suites: plugin-kanban 83 files 545 tests, plugin-list 185/2017, @object-ui/types 389/10501, @object-ui/i18n 106/1978, ui/scripts 174/5127, spec src/ui/view* 37/1505, app-shell 392 files naming kanban/list draft/personal views/relay in 8 locked batches green (after fixing listKanbanEveryRecord-12619: heading disclosure now only on a collapsed or authored-collapsible lane; DataPillar-27644 red once under OOM load, green alone). Type-check plugin-kanban, plugin-list, i18n, app-shell exit 0 under the verify lock.", "gates": "dispatch-gates --ran on e94bb551: 118 derived, 117 run exit 0, 1 NOT-MEASURED (check:dual-build-cjs-loads exit 3, prerequisite; green in CI). overlap-check clean vs main 4e55e4eb and 15 open PRs (incl. #36343). Body gates: changeset-no-major, adr-0087, closing-keyword-parity, partof-closing-keyword exit 0. PR check-runs on e94bb551: 70, all success or skipped.", "dogfood_battery": "n/a: no ! in the PR title and no (narrowing) arm", "deviations": [ "Metadata-protocol declared `added`, not `changed`: AGENTS.md's closed set is added|narrowed|semantic|none and a new key is `added`.", "Skills-docs: follow-up owed — skills/** edits belong to domain:skills PRs; skills/objectstack-ui/rules/list-views.md teaches summarizeField and none of the three new keys.", "Card footer icons toggle left out (seat ruling): no per-card comment/attachment count, no stage-entered timestamp.", "Screenshots from a temporary Console Vite entry rendering ListView over a mock data source (removed before commit), in /mnt/project-files/issue-36370/, not on GitHub. Live Sales pipeline, Discard/Save against a backend and a self-built app NOT MEASURED; the draft/Save path is pinned by kanbanDraft-36370.", "plugin-view ObjectView#generateViewSchema does not relay the three new keys (Console path is ListView); stated in the PR.", "No main merge: overlap-check clean and main's spec change touches other hunks." ], "mcp_calls": "reads only: pull_request_read x2 (get, get_check_runs); no MCP writes", "api_writes": "1: fleet-write relay pr_create -> PR 36411 (assignee zhuangjianguo); plus this post-stamped comment", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "follow-up · card footer icons toggle (#36370 item) needs per-card comment/attachment counts and a stage-entered timestamp · carrier: seat files", "follow-up · skills/objectstack-ui/rules/list-views.md board example: teach summary, showFieldLabels, hideEmptyFields · carrier: seat files (domain:skills)", "observation · plugin-view ObjectView#generateViewSchema relays no kanban summary/showFieldLabels/hideEmptyFields · carrier: none, stated in the PR" ] }feat(pm): first-touch-sweep lists a card whose area:* is not exactly …
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jRKaa4gJCNNF5QMd8t
os-dev-report
Rework of PR #36411 after L1-e REWORK (e94bb55) and the schema-face L2 FAIL (7078301353).
{ "issue": 36370, "status": "done", "branch": "claude/project-thread-klklkh", "pr": "https://github.com/objectstack-ai/objectstack/pull/36411", "head": "e472ce52d7", "previous_head": "e94bb551", "session": "session_01QsR2jRKaa4gJCNNF5QMd8t", "premise_still_valid": true, "rework": { "M1": "KanbanConfig.summary takes its own KanbanLaneSummarySchema: a discriminated union of none, count and sum with a required non-empty field (exports KanbanLaneSummary, KanbanLaneSummaryParsed). ColumnSummaryConfig no longer reaches the board.", "S1": "plugin-view ObjectView#generateViewSchema relays summary, showFieldLabels and hideEmptyFields, each only when declared; pinned in ObjectView.harness.test.tsx; the liveness kanban row names both producers. This is the relay #36426 asks for; it holds no claim naming this branch, so the body does not close it and the seat closes it.", "S2": "packages/lint validate-list-view-field-refs walks kanban.summary.field (error, the columns[].summary.field level) and refuses a sum over a field the aggregate table's sum row refuses, under list-view-summary-field-type-refused at kanban.summary; os explain names the position.", "S3": "count and sum only. A windowed lane's sum reads 「合计 · 金额 · 仅已加载的卡片」 (data-kanban-lane-statistic-partial) instead of a '+'. The body says avg, min and max wait for a server lane read.", "collapse_key": "<user id>:<object>:<view>, the view from ListView's new laneCollapseKey (Console passes the view id), else schema.id, else '-'.", "ruling_A": "Lane field picker offers select and radio only; the body names #36430 for lookup, user, master_detail and tree lanes, and says an authored lookup groupByField draws wrong today.", "ruling_B": "#28211 lanes meaning kept; 「隐藏这一列」 carries 「这一列的卡片会移到「未分类」」 and the lanes level says the same.", "nit_auto_lane_field": "nextKanbanDraft compares with kanbanViewOptions(viewDef, objectDef).", "nit_idless_key": "collapse key no longer shares '-' for a view the host names; ListView reads no schema.name (the relay census forbids it)." }, "live_run_findings_fixed": [ "「另存为我的视图」 dropped the board part: ObjectView#handleSaveAsMyView laid only the row colour. Fixed and pinned in ObjectView.kanbanSaveAs-36370.test.tsx (red without the fix).", "The statistic offered a sum of percent fields: the picker now asks the aggregate table's sum row (no percent, formula or yes / no field), the same verdict as lint. Pinned in ListView.kanbanSettings-36370.test.tsx." ], "live_run": "CRM example (objectstack dev, Console zh, CNY), pipeline board, code of 451b4edc: settings rows (no table rows), lane field picker 阶段 / 审批状态, statistic 无 / 计数 / 合计 · 金额 / 合计 · 产品合计; on the package view hide 输单 + labels off + 计数 apply with no write, 放弃 restores with no write, Save offers 另存为我的视图 alone; save-as writes one POST sys_personal_view and the new view holds after reload; on that own view 合计 · 金额 saved by 保存到这个视图 (one PATCH sys_personal_view) holds after reload; 「⋯」 collapse stored under objectui:kanban-lanes-collapsed:<user>:crm_opportunity:<view> holds after reload, heading reopens; 「+」 opens 新建商机 with 阶段 = 方案报价. Screenshots in the project folder issue-36370/. NOT MEASURED live: the partial-sum wording (CRM lanes not windowed; unit-pinned), the Studio preview relay (unit-pinned), save to a shared view as an administrator.", "line_budget": "2916 changed lines (+2857 / -59, 54 files) vs main, under 3000", "tests": "New or extended: spec kanban-config-lane-summary 4, lint +4 cases (198 in the file), plugin-view harness +1, plugin-list ListView.kanbanSettings-36370 3, app-shell ObjectView.kanbanSaveAs-36370 1, laneStatistic-36370 partial case. Suites: plugin-kanban 83/546, plugin-list 186/2027, plugin-view 66/730, i18n 106/1978, lint 225/9431, spec 964/29475, app-shell files naming kanban, draft, personal views or the relay; i18n + plugin-kanban rerun after the last main merge 189/2524. Fixed on the way: de quote-pair pin 124 -> 126 (two new 「Nicht kategorisiert」 spans), InterfaceListPage relay census (ListView no longer reads schema.name). Type-check plugin-kanban, plugin-list, plugin-view, i18n, app-shell, lint exit 0.", "ci": "PR check-runs on e472ce52: 67 runs, every one success or skipped except `Type Check · workspace`, cancelled at 15:08Z by a runner shutdown signal after 119/135 turbo tasks passed (log: \"The runner has received a shutdown signal\"), which reds the `TypeScript Type Check` roll-up. Infra, not this diff: needs a re-run (seat). Local type-check of every package this PR moves exits 0. e472ce52 over dcfee103 drops two unused test imports that reddened Lint UI.", "gates": "dispatch-gates --ran on 451b4edc: 121 derived, 121 run, 0 NOT-MEASURED (two reds fixed first: check:variant-docs, new variant-docs row; check:spec-parsed-alias, KanbanLaneSummaryParsed). dcfee103 is a main merge with regenerated references and strictness ledger only (check:generated green); e472ce52 drops two unused imports from ObjectView.kanbanSaveAs-36370.test.tsx (eslint clean on every file this PR moves). overlap-check vs main clean; #36437 meets it on the de quote-pair pin count, which the second to land resolves. Body gates exit 0.", "deviations": [ "Average, minimum and maximum left out until a server lane read (L2 S3).", "Lookup, user, master_detail and tree lane fields left out: #36430.", "Card footer icons toggle left out: #36423. Skills teaching: #36422." ], "mcp_calls": "reads only; no MCP writes", "api_writes": "fleet-write relay issue_patch of the PR body (read back identical); this post-stamped comment", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jRKaa4gJCNNF5QMd8t
os-dev-report
Final head for #36411 is 7258985, which supersedes e472ce5 in report 7081675245. The seat could not re-run the cancelled lane, so I synced main as a local merge. The os-regen driver deferred
content/docs/references/data/object.mdx, which got a 2-line regen, andcheck:generatedis green after it. 7258985 has 70 check-runs: 61 success and 9 skipped.mergeable_stateisclean.overlap-checkagainst main bb89b2d is clean. After the merge, the kanban, list, save-as, draft, de-quote and relay-census tests pass (89 files, 590 tests).objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC
Seat rulings on record (2026-11-22T17:16Z). These were given in the card thread and not on GitHub. They are copied here so that PR #36411's body quotes have a source. The delta contract review 7082698044 asked for this.
Merge origin/main into the action layout branch (#36366)
fix(spec)!: retire columnState from the stored view row (objectstack-…
feat(kanban): the board's own view settings, lane header create and m…
github-actions commentedon Nov 26, 2026
os-closed-card-sweep — machine-findable marker for this generated comment.
Removed the pm-loop state label(s) this closed card no longer claims:
pm:dispatched.73f2cf4aab, merged intomain.enhancement,priority:p1,domain:ui,area:ux— ownership, priority and outcome are not state claims.A state label claims work is in flight. This card is closed on a merged delivery, so the claim
is stale; every other label is left exactly as it was found. Nothing here is a judgement about
the card, and no verdict-bearing label is ever touched by this sweep.
posted by half-state-patrol run 45733194792 · trigger
workflow_dispatchGenerated by Claude Code