Repository navigation
fix(list): a data-laned kanban's footer counts the whole query, as its lanes do - #38681
Conversation
… as its lanes do Claude-Session: https://claude.ai/code/session_01JQwxbamiNxp7695qyaEYsH Co-authored-by: Claude <noreply@anthropic.com>
…t; changeset Claude-Session: https://claude.ai/code/session_01JQwxbamiNxp7695qyaEYsH Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#2 · os-warren · session_01JQwxba2oTCUuCosPm6pkRu 速读
席位核对 — ACCEPT · Head-sha: e4b485a
|
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQwxbamiNxp7695qyaEYsH
|
repo:objectstack#2 · os-warren · session_01JQwxbamiNxp7695qyaEYsH
State: pr_ready + auto-merge (merge queue). Release freeze: exempt as in-development work (Warren 2026-11-30 07:08Z 「目前已经开发中的不用冻结」). check-governed-merges: NOT governed. |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 46374797438 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
Requested by Warren · project thread
Fixes #38558
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
ui/packages/plugin-list/src/ListView.tsx, the record-count bar under a board the list hands its window to (kanbanLaneStatisticHosted). With a numericfetchedTotal, the count is the query's total instead of the window's length, which is the number the board's lanes add up to. The same figure feeds the view switcher's count (leadingRecordCount).kanbanHostedBoardReachesEveryRecord): lanes from the data, a lookup or text lane field, no declared lanes, no swimlanes, and a source withqueryGroupHeaders. Number, boolean and date lane fields, declared lanes, swimlanes and a source with no grouped door draw only the page's lanes, so the line stays there. i18n wording is unchanged.ui/packages/app-shell/src/__tests__/listKanbanEveryRecord-12619.test.tsx(AGENTS.md shared-harness rule). Text-laned and lookup-laned boards read "70 records" with no warning, and the text board's lane sum equals the footer figure. CONTROLs: a number-laned board and a source with no grouped door keep "Showing first 25 records"..changeset/38558-kanban-footer-count.md(patch,@object-ui/plugin-list).Tests
Head
e4b485a5, after building the@object-ui/app-shell^...closure under os-verify-lock (command-exit 0):pnpm exec vitest run --maxWorkers=2 packages/app-shell/src/__tests__/listKanbanEveryRecord-12619.test.tsx(under the lock): 1 file, 49 tests passed (45 existing, the 看板按文本字段分道:某个值的记录全在第一页之后时,这一道不画出来,道计数之和与页脚总数对不上(接 #38120) #38506 pin included and still green, plus 4 new).pnpm exec vitest run --maxWorkers=2 packages/plugin-list/: 190 files, 2083 tests passed.@object-ui/plugin-listtype-check(tsc + tsconfig.test.json): exit 0.hostedBoardTotalforced to null): all 4 new tests red (footer lacks "70 records"). Ablation A2 (the warning gate's&& kanbanHostedBoardReachesEveryRecordremoved): 2 CONTROLs red, 2 pins green. Both restored, blob == HEAD.Acceptance notes
+and no lane past the page, while the footer reads the full total with no "Showing first N". The total is still true, but past-page records are not reachable on the board in that state.Verification
dispatch-gates --commandsate4b485a5: 38 derived families, 38 run, all exit 0 (theui scripts/vitest under the lock: 172 files passed, 2 skipped; 5159 tests passed).--ran: 0 NOT-MEASURED.overlap-check.mjsate4b485a5against origin/main0ba5e06a: clean (feat(spec)!: actions that act on many records are placed atselection; a list view'sbulkActionsis retired #38550 shares ListView.tsx and merges cleanly).Files to read first:
ListView.tsxhunks atkanbanHostedBoardReachesEveryRecordandhostedBoardTotal(the risk is the warning gate).Two-minute check: open a list-view kanban laned by a lookup field with more records than its page size. The footer should read the full count, equal to the sum of the lane badges, with no "Showing first N".
🤖 Generated with Claude Code
https://claude.ai/code/session_01JQwxbamiNxp7695qyaEYsH