Repository navigation
Description
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff
立卡门类别:④ 协调节点的子单,承父单 #35547(专题:列表页重做,维护者直派)。⛔ 不是认领。
维护者 2026-11-19 原话:「如果不改外壳,完全按照他的风格改列表,你画个效果图,」;看过图 36 后:「先只改列表」。「你看一下他列表视图有图标代表类型,还有记录数显示在下拉左侧」。
目标(图 36)与参照
参照对象是 Twenty(AGPL,本机运行的 f9056c83):只参照结构、步骤和尺寸,⛔ 不抄它的代码。截图 800×500,取自 1280×800 视口;「我们」的截图取自本机最新控制台(origin/main 7ece0204a6,HotCRM,zh-CN),2026-11-19。
现状(实测环境:本机控制台 origin/main 7ece0204a6 + HotCRM,zh-CN,视口 1280×800,2026-11-19,销售应用「商机 / 进行中商机」。另在托管环境 os-4e4qa4.objectos.app 量过同一组数)
| 现在 | 目标 | |
|---|---|---|
| 列表上方(顶栏之下) | 标题行 52 + 工具行 48 | 页面栏 44 + 视图栏 40 |
| 表头高 / 行高 | 48 / 41 | 32 / 33 |
| 第一行数据顶边 | 196 | ≤ 168 |
| 一屏可见数据行 | 约 14 | ≥ 18 |
| 字号 | 表头 14、单元格 13、标题 18、按钮 14 | 全部 13 |
| 线 | 行线 1px 明显;首列右侧 2px 竖线 | 行线接近背景色;无竖线 |
| 页脚 | 一行文字「金额: 合计:2,037,500.00 · 预期收入: 合计:…」,双冒号,不与列对齐 | 每列在自己列下显示 |
代码读数:行高档位 ui/packages/plugin-grid/src/ObjectGrid.tsx:1781(rowHeightMode);列表页头分在 ui/packages/app-shell/src/views/objectViewPageHeader.tsx、objectViewTitleSwitcher.tsx、objectViewHeaderToolbar.ts;共用页头 ui/packages/app-shell/src/layout/PageHeader.tsx。
要做的
- 页面栏(高 44):左边对象图标和对象名;右边「⋮」和「+ 新建」。对象说明文字不再常驻,和导入、导出一起进「⋮」。
- 视图栏(高 40):左边依次是视图类型图标、视图名、记录数、下拉箭头(整体是视图切换的触发处,下拉内容见子卡 5);右边三个文字按钮「筛选」「排序」「选项」和搜索图标(各自的面板见子卡 2、3、4,本卡只负责位置和触发)。
- 条件行的位置:视图栏下方预留一行,有筛选或排序时出现,没有时不占高度(内容见子卡 2、3)。
- 密度和样式:表头 32、默认行高 33;表头、单元格、两条栏的按钮统一 13 号字;行线调到接近背景色;去掉首列右侧竖线,冻结列只在横向滚动后显示阴影;两条栏里的按钮高 24–28。
- 单元格的呈现:关联字段的值显示成小标签(首字母或图标 + 名称);金额、数字列右对齐、等宽数字;选项标签保留颜色、降低饱和度。
- 合计行:每个有统计的列在自己列下显示(如「合计 ¥2,037,500」),最左是「计数 N」;修掉双冒号;任何宽度下不被固定列遮住。
- 看板、日历等其他视图类型共用这两条栏,内容区不改。
不做的
- 外壳(顶栏、左侧栏);记录抽屉打开时的列表宽度;768px 以下的手机列表。
- 筛选、排序、选项、视图下拉各自面板里的内容(子卡 2–5);操作列和选中后的操作(子卡 6)。
- 金额小数位、表头里重复的「(%)」属于 HotCRM 字段设置。
验收(1280×800,zh-CN,浅色和深色各一遍)
- 第一行数据顶边 ≤ 168px;数据不少于 18 条时一屏至少 18 行。
- 表头计算高度 32、数据行 33;表头、单元格、两条栏按钮字号都是 13px。
- 视图切换处从左到右:类型图标、视图名、记录数、下拉箭头。
- 每个统计值的右边缘与对应列的右边缘对齐(误差 ≤ 1px);页脚文字里没有相叠的冒号。
- 看板视图下两条栏与表格视图一致。
- PR 正文列出迁移和作废的测试、同笔修改的验收条款。
Reader: domain:ui 车道。ui/packages/plugin-grid/src/ObjectGrid.tsx、ui/packages/app-shell/src/views/objectView*.ts(x)、ui/packages/app-shell/src/layout/PageHeader.tsx。
Dedupe: 列表页 行高 表头、list density row height header toolbar merge(objectstack,open)→ 0。



Activity
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ
Queued by seat 5 (area:ux) on the maintainer's call: this epic goes first in area:ux, ahead of #35534 and #35457.
Order: #35548 (frame) first; #35554 in parallel with it (independent per this card's table); after #35548 lands: #35549 → #35550 (shared field list, serial) and, in parallel where files do not overlap, #35551 and #35553.
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Claim: area ux-4 round 1 · epic #35547 (the maintainer, verbatim, 2026-11-19 project chat: 「列表页重做专题 优先」「能开新的区处理吗」) · 2026-11-19T15:36Z
Area: ux-4
Session:
session_01Utp6Cb8qTxAVaE2QKwquQUAccount:
os-billBranch: pending — mode:thread: the card thread pushes only the branch the platform assigns it; the area posts a
Branch:amendment here when the thread opensWorktree: the card thread's own checkout
Domain:
domain:uiSeat:
repo:objectstack#5File surface:
ui/packages/app-shell/src/views/objectView{PageHeader,TitleSwitcher,HeaderChrome,Chrome,ToolbarAffordances}.tsx,objectViewHeaderToolbar.ts,ui/packages/app-shell/src/layout/PageHeader.tsx(list-page side only),ui/packages/plugin-grid/src/**(density, header/row height, lines, frozen-column shadow, summary row, cell presentation),ui/packages/components/src/renderers/complex/data-table.tsx, grid cell renderers the grid already takes (name each in the report), new i18n keys only inui/packages/i18n/src/locales/*.ts,docs/qa/platform-checklist/areas/*.jsonlist-page items, their tests, new e2e specs underui/e2e/named for the card, root.changeset/. ⛔ui/packages/app-shell/src/views/ObjectView.tsxand the other ux-2 boot files: stop and report first (the area sendsNotify: serial). Stop on any other breach and report.Container & model:
L,mode:thread,model: default,effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card (maintainer-ordered redesign, epic #35547 sub-card 1)
Thread-read: 7013664773
Premise: holds at
origin/maincf6bb70 — row-height modes atui/packages/plugin-grid/src/ObjectGrid.tsx~1779 (rowHeightCellClass,h-9floor); list header split acrossui/packages/app-shell/src/views/objectViewPageHeader.tsx,objectViewTitleSwitcher.tsx,objectViewHeaderToolbar.ts, sharedlayout/PageHeader.tsx. The card's pixel readings (52+48 bars, 48/41 rows, footer double colon) were measured on HotCRM at 7ece020; the thread re-measures onorigin/mainbefore code.Pre-claim lane:
ui/packages/app-shell/**,ui/packages/plugin-grid/**,ui/packages/components/**→domain:ui, area ux-4.Pre-claim deps: none named on the card (sub-card 1 goes first). Hot files: open PR #35552 (ux-1, #35446) holds
PageHeader.tsx,objectViewPageHeader.tsx,data-table.tsx,ObjectGrid.tsx,objectGridInlineActionFold.ts→ the thread may write code now, ⛔ no push until #35552 merges; then merge main once and run overlap-check.Prior rulings read: row height,density,page header,toolbar,summary row,aggregate footer,rowheight,list header → 0 hits; none; thread: none; repo: objectstack-ai/objectstack. Surface ruling grep (
--paths) pins under plugin-grid / app-shell views: the thread reads each pin test it changes and lists migrated/retired tests in the PR body.Serial constraints cleared: open-PR file scan of 48 open PRs: only #35552 (above) and release PR #35129 (CHANGELOG/package.json) touch the surface.
Scope: card items 1–7 (two bars 44/40, condition row reserved, header 32 / row 33 / 13px, faint row lines, no first-column rule, frozen shadow only after horizontal scroll, lookup chips, right-aligned tabular numbers, per-column totals with 「计数 N」, kanban etc. share the bars). Filter/sort/options/view-switcher panel contents (#35549–#35553) and the actions column (#35554) stay out; single-colour object icon (epic comment 7013154559).
Fixes #35548.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Claim amendment to comment 7013831044 (area ux-4) · 2026-11-19T15:39Z
Branch:
claude/project-thread-lj1d6f(mode:thread: the platform-assigned branch of the card thread; replaces the claim'spendingline)Thread session:
session_01Utp6CaSbGkUBKAq6TqjQqhWorktree: the card thread's own checkout
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Claim amendment to comment 7013831044 (area ux-4) · 2026-11-19T15:41Z
File surface (adds):
ui/packages/plugin-list/src/{ListView.tsx,listToolbarRow.ts}and their tests (the view bar and the footer row live there, not in app-shell);ui/packages/app-shell/src/views/objectViewListRenderer.tsx;ui/packages/app-shell/src/views/ObjectView.tsxlimited to the two title-switcher hand-over lines (phoneTitle,titleSwitcher), withNotify: serialsent to area ux-2 through the seat.Premise readings: the card thread's A1–A3 (A2: view bar = ListView toolbar row; A3: footer joins
${header}: ${label}with zh pattern{{label}}:{{value}}→ double colon, no column alignment). A4 measured on the showcase/CRM example (HotCRM not reachable from the thread), 1280×800 zh-CN.Serial constraints cleared: open-PR scan of the added files: no open PR touches them.
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Claim amendment 2 to comment 7013831044 (area ux-4) · 2026-11-19T15:45Z
File surface (adds):
ui/packages/plugin-list/src/components/ViewSettingsPopover.tsx(+ tests) — the trigger only, turning the icon-only Display trigger into the 「选项」 text button; panel contents stay with #35551.ui/packages/types/src/data-display.ts,ui/packages/types/src/zod/data-display.zod.ts,ui/packages/types/src/__tests__/data-table-declared-keys-6882.test.ts— one host-only runtime slot onDataTableSchema(a summary row drawn as a row of the grid's own table, so per-column totals align under horizontal scroll), refused by name in the zod face likerowGroups/renderCellEditor; not authorable, notpackages/spec.Notify: serialto area ux-2 (holdsui/packages/types/**) through the seat.Serial constraints cleared: open-PR scan of the added files: no open PR touches them.
Prior rulings read: the view switcher's header comment records #34603 (closed, 「列表:去掉视图切换器旁边的记录数」); this card restores the count on the maintainer's later word 「记录数显示在下拉左侧」 (#35548 body). The PR body cites both.
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui· dispatched; rationale: area:ux · Feature, a child of topic #35547 (the list-page redo the maintainer ordered: 「这个要重新立专题了」) → p1 as the maintainer set it.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Claim amendment 3 to comment 7013831044 (area ux-4) · 2026-11-19T17:07Z
File surface (final list below, adds
ui/packages/fields/src/index.tsxas a grid cell renderer the grid already takes, andui/packages/types/src/__tests__/zod-mirror-parity.test.ts). Slot map for the sibling builders after the epic split (ux-1: #35549+#35550, ux-3: #35551+#35553, ux-4: #35554); they build against these and push after this card lands.Branch
claude/project-thread-lj1d6f, head 063ed32 (not pushed yet at writing; line numbers are on that head). Paths below are underui/packages/unless they start withui/ordocs/.Slots
data-testid="list-view-switcher", :318 icon, :322 label, :323 count (max-sm:hidden), :328 caret, :334 menuObjectViewTitleSwitcher(propsObjectViewTitleSwitcherProps:84, incl.description= triggertitle); built byuseObjectViewTitleSwitcher:436ListRecordCountContext(:68, value{count, layout})toolbarLeadingfn), :1132createLeadStore/ViewBarLeadtoolbarLeading(plugin-list/src/ListView.tsx:462) may be a function ofListToolbarLeadingState(:2064{recordCount, layout}), called at :6620; drawn in wrapper :6893data-testid="list-toolbar-leading"recordCount(:6615, board count on kanban) andlayout(currentView)phoneTitlenode againtoolbar-filter-trigger, panelPopoverContent:7102–:7119TOOLBAR_TEXT_TRIGGER(plugin-list/src/listToolbarRow.ts:63) +PHONE_TOUCH_TARGEThasFilters/shownFilterCountfor active state and aria-labeltoolbar-sort-trigger, panel :7207–:7209TOOLBAR_TEXT_TRIGGERcurrentSort.length; hidden below sm when sort lives in Options (sortInDisplay)<ViewSettingsPopover …>; trigger plugin-list/src/components/ViewSettingsPopover.tsx:563/:574toolbar-display-trigger(label now 「选项」/Options, keylist.options), panelPopoverContent:592–:824ViewSettingsPopover(:512)search-icon-button, popover :7564search-popover; phone field :7594phone-searchsearchTermdata-slot="list-condition-row"/data-testid="list-condition-row"empty:hidden flex flex-wrap items-center gap-1.5 border-b px-4 py-1.5→ zero height while empty[data-slot="list-condition-row"])user-filters); moving them into the row is #35549/#35550's call<PageHeader posture="list">,actionsfragment :101–:167: schema toolbarListHeaderActionBar:111, ⋮object-view-more-actions:123 (description :133, Import :148, Favorite :158),createButton:166 lastPageHeaderactions/foldedActions/compactBelow(app-shell/src/layout/PageHeader.tsx:139/:155/:166;data-posture="list")actionsfragment, before ⋮, or swap the fragment while rows are selectedrefused-view-bar)summaryRow?: DataTableSummaryRow, filled at plugin-grid/src/ObjectGrid.tsx:2829DataTableSchema.summaryRow(host-only; zod refuses it by name){ lead?, cells: Record<accessorKey, ReactNode> }; lead 「计数 N」 keygrid.summary.countLeadChanged files (vs merge-base with origin/main)
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
os-dev-report
{ "issue": 35548, "status": "done", "branch": "claude/project-thread-lj1d6f", "pr": "https://github.com/objectstack-ai/objectstack/pull/35615", "session": "session_01Utp6CaSbGkUBKAq6TqjQqh", "premise_still_valid": true, "summary": "The list page now has a 44px page bar (icon and name; the description, Import and Favorite in its ⋮; New last) and one 40px view bar for every view type: the switcher reads type icon, name, count, caret, with Filter/Sort/Options text triggers and search on the right, and an empty condition row of zero height. The grid has a 32px header, 33px rows, 13px type, faint lines, a scroll-only frozen shadow, lookup chips, right-aligned tabular money (formula currency included) and desaturated select labels. Per-column totals are the table's own last row through the host-only runtime slot DataTableSchema.summaryRow, led by Count N with no doubled colon.", "tests": "Vitest over the affected set under os-verify-lock (post-merge e35cf035): Test Files 402 passed (402), Tests 5946 passed | 13 skipped. Fixture e2e (list-frame-geometry-35548, list-toolbar-view-name-phone, list-header-narrow-35446, list-narrow-pinned-columns-35446, related-list-pinned-actions-width): 29 passed. Geometry spec ablations A (row ⋮ h-8), B (header density dropped), C (summary cell px-4), D (right arm text-left) each go red. Type-check passes for types, i18n, fields, components, plugin-grid, plugin-list and app-shell. After the two gate fixes: check-doc-example-types.test.ts 55/55, and the 11 edited ObjectView test files 78/78.", "gates": "dispatch-gates --commands (49 commands, head 063ed329): 47 exit 0. Two exit 1, both fixed and re-run green: `pnpm --dir ui exec vitest run scripts/` (the doc-example ledger row 'ListViewHandle #1' lost its block when ListToolbarLeadingState was inserted between the doc and the interface; fixed in a0dc4ceb, 55/55), and `pnpm check:test-source-alias` (the 11 edited ObjectView tests reach a dynamic import('@objectstack/lint'), so each now imports it at module top; fixed in 8acc2192, exit 0). `pnpm check:platform-checklist`: OK. overlap-check --branch=HEAD: clean against origin/main and #35565. CI check-runs not yet concluded at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "reads only (pull_request_read); no write tool", "api_writes": "1 — relay pr_create (fleet-write run 44579994403) plus this report through post-stamped.mjs", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: #35554 · no dedicated page-bar selection slot was built; slots.md names where one goes (PageHeader actions fragment, before ⋮) · noted, not filed" ] }Report taken 2026-11-19T17:43Z.
Generated by Claude Code
test(console): migrate seven more pins to the #35548 frame (summary r…
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Close-out · 2026-11-19T18:57Z: PR #35615 merged as e01b8be (L1-a ACCEPT 7018345565; seat type-surface look clear, no L2 owed; landing 7018367238); the card closed on merge. The view-bar slot map for #35549–#35553 is claim amendment 7016246316. Deviations recorded in the PR body (Export in 「选项」 footer, view description as switcher tooltip, refused view keeps its switcher bar, count hidden below sm). The row ⋮ goes with #35554. pm:dispatched removed.
fix(list): the phone view pill gives the name the room the pills leav…
feat(list): a line between columns, 36px default rows and header, and…
feat(console): the list page's top reads object row, view bar, condit…