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(专题:列表页重做,维护者直派)。⛔ 不是认领。
维护者 2026-11-19 原话:「他列表页的action,是选中记录才显示吗?」;对「悬停时行尾出现 ⋮」的回答:「悬停时行尾出现的「⋮」,占了固定的位置,也很丑」;「我还发现,他没有第几页的概念,是滚动翻页,顶部显示记录数。」
目标(图 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,销售应用「商机 / 进行中商机」。另在托管环境 1167 宽窗口实测)
- 每行末尾有固定的「操作」列,放一个「⋮」。1167 宽时它压住最后一列(「预计成交日期」显示成「2027年1月4E」)和底部合计的前半截。
- 勾选记录后,底部浮出批量操作栏,盖住最后一行。
- 行菜单里「删除」紧贴「编辑」,无分隔、样式相同。
- 分页:默认每页 50(
ui/packages/plugin-grid/src/ObjectGrid.tsx:2584-2600),页脚有页码。 - 已有的组件:
ui/packages/plugin-grid/src/components/RowActionMenu.tsx、BulkActionBar.tsx、RowContextMenu.tsx、ui/packages/plugin-grid/src/VirtualGrid.tsx。
要做的
- 取消「操作」列。行上不放任何操作控件,包括悬停时出现的「⋮」。
- 选中后页面栏换内容:勾选记录后,页面栏整条换成「对象名 → 已选 N 条」「取消」,右侧是针对所选记录的操作,露出一到两个,其余进「⋮」。
- 露出哪几个由对象元数据声明;没有声明时取现有行操作 / 批量操作的前两个。
- 选 1 条给单记录操作(如「提交审批」「生成报价单」),选多条给批量操作(如「批量更新」)。
- 取消选择后页面栏恢复「⋮」和「+ 新建」。
- 底部的批量操作栏退役。
- 右键点行弹出同一份操作菜单。菜单里「删除」放最后、加分隔线、用危险色。
- 勾选框的点击区域是整个单元格;支持 Shift 连选。
- 默认滚动加载:滚到底自动加载下一批,不显示页码;视图名旁的记录数是符合条件的总数。视图元数据声明了
pagination的仍然分页。同时保证:- 合计由服务端按全部符合条件的记录计算,不只算已加载的行。
- 勾表头全选时提示「已选当前加载的 N 条」,并可一键改为「选择全部 M 条」;批量操作的确认里写明实际条数。
- 点进记录再返回,回到原来的滚动位置。
不做的
- 不改各个操作本身的行为和权限。
- 不改记录页上的操作区。
- 应用列表页在 AI 助手面板打开时:「操作」列压住金额列,后面的列看不到也没有提示(附效果图) #35446 的其余部分(名称列冻结、其余列横向滚动)仍由该卡负责;该卡第 2 条「⋮ 改为悬停或选中时出现」由本卡取代为「取消」。
验收(1280×800 与 1167×762 各一遍)
- 页面上没有「操作」列,悬停任何一行都不出现行尾控件;最后一列和合计完整可读。
- 勾选 2 条:页面栏显示「已选 2 条」和露出的操作;底部没有浮动栏;最后一行完整可见。取消后页面栏恢复。
- 勾选 1 条与勾选 2 条露出的操作不同(HotCRM 商机上至少各有一个)。
- 右键点一行弹出操作菜单,「删除」在最后且有分隔。
- 一个超过 50 条的列表:不出现页码,滚到底继续加载;表头全选后出现「选择全部 M 条」;点进第 60 条再返回,仍停在第 60 条附近。
- 加筛选后,合计等于服务端对全部符合条件记录的合计(准备一个加载不完一屏的数据量验证)。
- 一个声明了
pagination的视图仍然分页。 - PR 正文列出迁移和作废的测试、同笔修改的验收条款。
Reader: domain:ui 车道。ui/packages/plugin-grid(ObjectGrid.tsx、components/RowActionMenu.tsx、BulkActionBar.tsx、RowContextMenu.tsx、VirtualGrid.tsx)、ui/packages/app-shell/src/views/objectViewPageHeader.tsx。页面栏的位置由子卡 1 提供;两卡可并行,后合入的一方负责对齐。
Dedupe: 操作列 取消 选中 批量、滚动加载 分页、批量操作栏 选中(objectstack,open)→ 0;相关:#35446。
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 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ
Queued by seat 5 (area:ux) on the maintainer's call (epic #35547 first). Independent of #35548 per the epic, runs beside it. Supersedes the row-end ⋮ item of #35446; its PR #35552 is in flight in area:ux, so this card runs serial behind #35552 where files overlap.
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:37Z
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/plugin-grid/src/**(ObjectGrid.tsx,VirtualGrid.tsx,components/{RowActionMenu,BulkActionBar,RowContextMenu}.tsx,objectGridInlineActionFold.ts, pagination/infinite load),ui/packages/components/src/renderers/complex/data-table.tsx,ui/packages/app-shell/src/views/objectViewPageHeader.tsxandlayout/PageHeader.tsx(selection state in the page bar only), 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/. ⛔packages/spec/**, server, REST, new endpoints; ⛔ui/packages/app-shell/src/views/ObjectView.tsxand the ux-2 boot files without the area'sNotify: serialfirst. Stop on any 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 6)
Thread-read: 7013691531
Premise: holds at
origin/maincf6bb70 —RowActionMenu.tsx,BulkActionBar.tsx,RowContextMenu.tsxunderui/packages/plugin-grid/src/components/,VirtualGrid.tsx; page size viaresolvePageSize(schema, DEFAULT_DISPLAY_PAGE_SIZE)atObjectGrid.tsx~2604. 「露出哪几个由对象元数据声明」 reads onto the existing actionorder+locations(packages/spec/src/ui/action.zod.ts~1364, ~1810:list_toolbar,list_item) — no new spec key; if the thread findsordercannot express it, stop and report (contract question to the seat). Not yet measured (thread, before code): whether list totals already come from a server aggregate over all matching rows or are summed client-side over loaded rows; if no existing read path gives the server total, stop and report — ⛔ no new endpoint.Pre-claim lane:
ui/packages/plugin-grid/**,ui/packages/app-shell/**→domain:ui, area ux-4.Pre-claim deps: none named (the epic marks it independent of #35548; the later of the two to merge aligns with the other). Hot files: open PR #35552 (ux-1, #35446) holds
ObjectGrid.tsx,objectGridInlineActionFold.ts,data-table.tsx,objectViewPageHeader.tsx,PageHeader.tsx,row-action-sticky.test.tsx→ code may start now, ⛔ no push until #35552 merges; then merge main once and run overlap-check. Sibling #35548 (this area) sharesObjectGrid.tsx/objectViewPageHeader.tsx: overlap-check before each push decides order.Prior rulings read: actions column,row actions,bulk action,bulkactionbar,infinite scroll,pagination,context menu,select all → 1 hits; none (ADR-0134 D1 SCIM pagination, unrelated); thread: none; repo: objectstack-ai/objectstack. Supersedes #35446 item 2 (row-end ⋮) per epic #35547.
Serial constraints cleared: open-PR file scan of 48 open PRs: only #35552 (above) and release PR #35129 touch the surface.
Scope: card items 1–6 (no actions column and no hover ⋮; page bar swaps to 「已选 N 条」 + exposed actions on selection, single vs bulk sets; bottom BulkActionBar retired; right-click menu with 「删除」 last, separated, danger colour; whole-cell checkbox + Shift range; infinite scroll by default with total count beside the view name, declared
paginationstill pages, server totals, 「选择全部 M 条」, scroll restore). Action behaviour/permissions and the record-page action area stay as they are.Fixes #35554.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Claim amendment to comment 7013845723 (area ux-4) · 2026-11-19T15:39Z
Branch:
claude/project-thread-03xr4w(mode:thread: the platform-assigned branch of the card thread; replaces the claim'spendingline)Thread session:
session_01Utp6CZL84qjxXbtxcXE8rWWorktree: the card thread's own checkout
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Claim amendment to comment 7013845723 (area ux-4) · 2026-11-19T15:42Z
File surface (adds):
ui/packages/plugin-list/src/ListView.tsxand its tests (the runtime list page owns paging:$top/$skipwindows, total, page, handed to ObjectGrid asmanualPagination+rowCount; infinite scroll, the total beside the view name and scroll restore live there).ObjectView.tsxstays untouched.Premise readings: the card thread's A1–A5 — totals already a server aggregate (
useWholeSetSummary); select-all-matching is an ids fan-out capped at 5000 with the count in the confirm; exposed actions expressed by the existing actionorder, no new key. Grids with no page bar (related lists, page blocks) keep the bottom bar as the fallback.Serial constraints: sibling #35548 adds
ListView.tsxto its surface too (7013990817); overlap-check before each push decides the order, the later one merges main and aligns.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
os-dev-report
{ "issue": 35554, "status": "done", "branch": "claude/project-thread-03xr4w", "pr": "https://github.com/objectstack-ai/objectstack/pull/35637", "session": "session_01Utp6CZL84qjxXbtxcXE8rW", "premise_still_valid": true, "summary": "The object list page draws no Actions column and no row-end control; ticking rows swaps the 44px page bar to 「对象名 / 已选 N 条」 + Cancel + the first two actions (one record: its row actions; several: bulk actions; Delete never exposed), the rest behind ⋮, via a selection slot exported from plugin-grid and rendered by objectViewPageHeader.tsx. The row context menu ends with Delete after a separator in the danger colour; Shift+click extends a selection. A grid view with no declared pagination loads as it scrolls (50 per window), the view switcher's count is the server total, select-all offers 「选择全部 M 条」, and coming back restores the position in one request; a declared pagination still pages. Grids outside a page bar (related lists, page blocks, record drawer) keep the Actions column and bottom bulk bar as the ruled fallback.", "tests": "After merging origin/main e01b8bed: vitest plugin-grid+plugin-list+i18n+components/renderers/complex 6641 (6628 passed, 13 skipped, 0 failed); app-shell views+layout list files 217 files 1781/1781; 194 other files pinning the changed testids or mounting ListView 4529 (4517 passed, 12 skipped, 0 failed); ui scripts/ 5094 (5092 passed, 2 skipped). New listPageBarSlot-35554.test.tsx 7/7. Playwright e2e/list-no-actions-column-35554.spec.ts 16/16 at 1280x800 and 1167x762 (light/dark screenshots). Ablations via scripts/ablation-replace.mjs, each restored to the HEAD blob with git diff HEAD empty: drawRowControls forced true -> 1 failed (no-column pin); page-bar slot forced null -> 4 failed (selection pins). Migrated: phoneCardRowActions-29150, rowContextMenu-28434, ObjectView.bulkWiredHeaderDuplicate-12462, ObjectView.inviteOutcome-27797, ObjectView.listOnlyRecordPage-33219, ListView.calendarDateWindow-12081, e2e/live action-modal, list-row-action-cel, screen-flow. Retired: none.", "gates": "Local: the 49 dispatch-gates --commands lines all exit 0 (test-source-alias fixed by a module-top '@objectstack/lint' import in two edited ObjectView tests); check:platform-checklist --changed-from origin/main OK; check:nul-bytes OK; tsc plugin-grid/plugin-list/app-shell and tsconfig.e2e.json exit 0; overlap-check --branch=HEAD VERDICT clean (main, #35634, #35622). CI on 2fba403a: 50 success, 11 skipped, 0 failed — incl. Test UI, Build & E2E UI, Live E2E UI, TypeScript Type Check, Lint & Repo Gates; mergeable_state clean. The first head dfa9840d went red in Live E2E UI (3 live specs opened the row ⋮), fixed in 2fba403a; its other red aggregates were superseded-run cancellations.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "reads only (issue_read, pull_request_read); 0 write tools", "api_writes": "2 relay writes: pr_create (#35637), issue_patch (#35637 body, CI line + live specs); plus git push x2 and this comment", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [] }Report taken 2026-11-19T20:36Z.
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Claim amendment 2 to comment 7013845723 (area ux-4) · 2026-11-19T20:42Z
File surface (adds, tests only — L1-a R1 on PR #35637, comment 7021659410):
ui/packages/app-shell/src/views/ObjectView.bulkWiredHeaderDuplicate-12462.test.tsx,ObjectView.inviteOutcome-27797.test.tsx,ObjectView.listOnlyRecordPage-33219.test.tsx(bulk bar → page bar, row ⋮ → context menu), and the existing live specsui/e2e/live/action-modal.spec.ts,ui/e2e/live/list-row-action-cel.spec.ts,ui/e2e/live/screen-flow.spec.ts(open the row menu by right-click; same menu items).ObjectView.tsxitself stays untouched.objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Close-out · 2026-11-19T21:42Z: PR #35637 merged as d96c878 (L1-a REWORK 7021659410 → delta ACCEPT 7022499607; landing 7022518980); the card closed on merge. Supersedes #35446 item 2 on the list page. Deviations recorded in the PR body: grids with no page bar (related lists, page blocks) keep the actions column + bottom bar as fallback; non-en/zh locales reuse their "on this page" wording for 「已选当前加载的」. L1 nit noted, not filed: the held-window re-read runs every window in parallel and may want a concurrency cap if a host rate limit shows it. pm:dispatched removed.
feat(plugin-grid): selected rows get one bar floating at the bottom c…