Repository navigation
feat(list): no Actions column on the list page; a selection swaps the page bar; lists load as they scroll - #35637
Conversation
Claude-Session: https://claude.ai/code/session_01Utp6CbSphdunq2aJq7ktuY Co-authored-by: Claude <noreply@anthropic.com>
…le overflows its box Claude-Session: https://claude.ai/code/session_01Utp6CbSphdunq2aJq7ktuY Co-authored-by: Claude <noreply@anthropic.com>
…e at-rest scrollbar Claude-Session: https://claude.ai/code/session_01Utp6CbSphdunq2aJq7ktuY Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Utp6CbSphdunq2aJq7ktuY Co-authored-by: Claude <noreply@anthropic.com>
…st-narrow-columns
…s actions while narrow Claude-Session: https://claude.ai/code/session_01Utp6CbSphdunq2aJq7ktuY Co-authored-by: Claude <noreply@anthropic.com>
…th control Claude-Session: https://claude.ai/code/session_01Utp6CbSphdunq2aJq7ktuY Co-authored-by: Claude <noreply@anthropic.com>
…load as they scroll The object list page's rows carry no control. Selecting rows swaps the page bar to the selection (count, Cancel, the first two actions, the rest behind a menu); the row context menu ends with Delete after a separator; Shift extends a selection; a grid view with no declared pagination loads as it scrolls, shows the server total beside the view name and comes back to the row it was left at. Grids outside a list page keep the Actions column and the bottom bulk bar. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CZL84qjxXbtxcXE8rW
…real origin An unstyled scroll box has no height bound, so the list read it as always near its end and loaded every row; the console's stylesheet is there first. Session storage, which keeps the list position, is refused on about:blank. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CZL84qjxXbtxcXE8rW
The count beside the view name is the view switcher's, so the page bar's badge stays as it was and the selection slot reports only that a selection is open. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CZL84qjxXbtxcXE8rW
…-03xr4w Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CZL84qjxXbtxcXE8rW
After the list page frame landed, the match total is the switcher's count (fed by the list through ListRecordCountContext); the fixture draws the real switcher in the view bar as the console does, and the selection face takes the 44px page bar's measure. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CZL84qjxXbtxcXE8rW
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CZL84qjxXbtxcXE8rW
The list page draws no row "⋮" any more; a row's actions are its context menu, the same items. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CZL84qjxXbtxcXE8rW
|
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU Final head for L1:
|
|
repo:objectstack#5 · os-bill · session_01Utp6CXsZsKmgG1EcKp5bY4 维护者速读
席位核对L1-a: REWORK · head M1 (must-fix): the infinite list re-reads every held window in one request, and a hosted deployment refuses it. In
Failure: a deployment sets a maximum page size of 200. A reader scrolls to row 250, which is five windows and ends in-bounds. Then they edit a record, or open one and come back. The list asks Fix, either one, with a pin:
The pin can stub a data source that refuses R1 (text only): claim amendment. The PR body names six files outside the claim surface (7013845723, amended 7014011405):
Each edit only moves the way the row menu is opened (right-click instead of ⋮) or reads the page bar instead of What holds.
Next. ux-4 pushes the M1 fix with its pin and files the R1 amendment, then asks for a delta L1. Routing after that: Clause-② no, not governed, so ux-4 lands it. No L2. |
A host caps a read's top and refuses a read over it, so a list that held several windows and re-read them as one read after a write, or on coming back to a kept position, failed to read at all there. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CZL84qjxXbtxcXE8rW
|
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU Final head for delta L1:
|
|
repo:objectstack#5 · os-bill · session_01Utp6CXsZsKmgG1EcKp5bY4 维护者速读
席位核对L1-a delta: ACCEPT, no required item · head Delta. One commit, M1: closed, by route (a).
Pin. The data source refuses any
Both assert that the largest R1: closed. Claim amendment 2, 7021689796 on #35554, names the three Nit (no action). The re-read fires every held window at once. A reader deep in a long list (say 40 windows) sends 40 parallel reads on each write-refresh. That is bounded by how far the reader scrolled and is no worse in rows than the appends were. A small concurrency cap would be a follow-up if a host's rate limit ever shows it. CI. 53 success, 15 skipped. The one Routing. Clause-② no, not governed: ux-4 lands it. No L2. |
|
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU Landing · area ux-4 · 2026-11-19T21:19Z
Head |
Requested by Bill · project thread
Fixes #35554
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Clause-②: no
Metadata-protocol: none
维护者速读
pagination的表格视图改为滚动加载(每次 50),总数显示在视图名旁(服务器总数),点进记录再返回会回到原位置;声明了pagination的视图照旧翻页。What changes
No Actions column on the list page; the selection swaps the page bar (items 1–3)
plugin-grid/src/listPageBarSlot.ts(new): a small external store. The page bar registers a slot element and the scope it speaks for (its page column); a grid whose root sits inside that scope portals its selection UI into the slot and reportsselecting. Rendered byapp-shell/src/views/objectViewPageHeader.tsx, which shows a selection face 「对象名 / 已选 N 条」 in the 44px bar while rows are ticked and hides the regularPageHeader. No change toObjectView.tsx.plugin-grid/src/components/SelectionPageBar.tsx(new): count, Cancel, the actions for the selection. One record ⇒ that row's own actions (the same plan its menu resolves); two or more ⇒ the bulk actions. The first two are buttons, in declared order (the object'slist_itemactions are sorted byorderwhen assembled; with noorder, the first two as declared), the rest behind "⋮"; Delete is never a button. With every loaded row ticked and more matching, it offers 「已选当前加载的 N 条。」 + 「选择全部 M 条」 (the existing select-all-matching fan-out and its 5000 cap).ObjectGrid.tsx: inside a page-bar scope the grid draws no_actionscolumn (objectGridActionsColumn.tsxdrawRowControls) and no bottomBulkActionBar. Fallback, as ruled: a grid in no page bar's scope (related lists, page blocks, the record drawer, any host without the Console header) keeps its Actions column and its bottom bulk bar unchanged.Context menu (item 4) —
RowActionMenu.tsx/RowContextMenu.tsx/BulkActionBar.tsx: Delete is the last item, after a separator, intext-destructive; a selection's menu closes with its destructive bulk actions the same way (orderSelectionMenuItems).Checkbox cell and Shift (item 5) —
components/.../data-table.tsx: the whole leading cell already toggled the row; Shift+click now extends from the last toggled row over the rows between (multiple selection only).Scroll loading and the count (item 6) —
plugin-list/src/ListView.tsx(paging/count plumbing only) +plugin-grid/src/objectGridInfiniteLoad.ts(new):pagination(specpaginationis optional with no default, so its presence is the declaration) draws no pager. It loads 50 rows, and the next 50 ($top=50&$skip=50) when the table's scroll box comes within 320px of its end; a box with no height (hidden, not laid out) asks for nothing.totalof matching rows (not the rows loaded): the view switcher's count from 列表框架:页面栏 + 视图栏两条、表头 32 / 行高 33、统一 13 号字、合计与列对齐(图 36) #35548, fed throughtoolbarLeading'srecordCount, which under scroll loading is the find's total.sessionStorageper list address; on return the list reads those windows back and restores the position once they are drawn.$top(OS_DATA_MAX_PAGE_SIZE) and refuses a read over it with 400MAX_RECORDS_EXCEEDED(L1 M1).paginationkeeps its pager exactly as before. Footer totals stay server-computed over every matching row.i18n — new keys in all 11 packs:
grid.selectedCount(plural family),grid.selectedAllLoaded(plural family),grid.selectAllTotal. zh-Hant regenerated from zh-Hans.Tests
New
plugin-grid/src/__tests__/listPageBarSlot-35554.test.tsx(7): no_actionscolumn in a page-bar scope + CONTROL with none; one row selected exposes the record's first two actions, the rest in ⋮, no bottom bar; two rows show the bulk actions and Cancel restores; CONTROL bottom bar without a page bar; Shift range; right-click Delete last after the separator.plugin-list/src/__tests__/ListView.infiniteRereadPageCap-35554.test.tsx(2): a data source that refuses$topover one window, as a capped host does; coming back to a kept position over 110 rows, and a refresh with three windows held, each re-read as$skip0 / 50 / 100 with$top50 and all 120 rows back.ui/e2e/list-no-actions-column-35554.spec.ts(16, Chromium): the realObjectViewPageHeader, view-bar switcher,ListView,ObjectGridand zh-Hans pack bundled from source, 120 rows paged by$skip/$top, at 1280×800 and 1167×762 — no column / no hover control and the last column fully visible; 「已选 2 条」 with nothing floating over the rows; one vs two selected expose different actions; right-click ends with separator + 「删除」; no pager, scroll loads to 100, switcher count 120, 「选择全部 120 条」; remount lands with 商机 60 in view; declaredpaginationstill pages; light/dark screenshots.Migrated (behaviour changed by this card)
plugin-grid/src/__tests__/phoneCardRowActions-29150.test.tsx,rowContextMenu-28434.test.tsx— expected item order: Delete moves from second to last.app-shell/src/views/ObjectView.bulkWiredHeaderDuplicate-12462.test.tsx— reads the selection's actions from the page bar (exposed buttons + ⋮) instead ofbulk-actions-bar; Clear → Cancel. Same assertions on which actions are carried.app-shell/src/views/ObjectView.inviteOutcome-27797.test.tsx,ObjectView.listOnlyRecordPage-33219.test.tsx— open the row's menu by right-click (the row has no ⋮ on the list page); same items asserted.plugin-list/src/__tests__/ListView.calendarDateWindow-12081.test.tsx— the paged-grid CONTROL now declarespagination: {}(a grid without it loads as it scrolls).ui/e2e/live/action-modal.spec.ts,list-row-action-cel.spec.ts,screen-flow.spec.ts(Live E2E UI) — open the row's menu by right-clicking the first row instead of its ⋮; same items asserted.Retired: none.
Acceptance notes
docs/qa/platform-checklist/areas/records-forms.json):records-forms.list-view-capabilitiesrev 11 (steps[4], acceptance[3] clause + verify: scroll loading vs a declared pager; steps[8]: bulk actions in the page bar),records-forms.bulk-select-all-matchingrev 10 (steps[0–2], acceptance[0]: the page bar's 「选择全部 M 条」 offer),records-forms.v18-semantic-defaultsrev 8 (acceptance[1]: "first window").list_itemactions first, then the built-in Edit when there is room; Delete is never exposed. Bulk exposes the first two non-destructive bulk actions.Verification
origin/main(e01b8be): plugin-grid + plugin-list + i18n + components table renderers 6641 (6628 passed, 13 skipped, 0 failed); app-shell list/page-header files 1781/1781; other packages' tests that pin the changed testids or mountListView(194 files) 4529 (4517 passed, 12 skipped, 0 failed);pnpm --dir ui exec vitest run scripts/5094 (5092 passed, 2 skipped).packages/plugin-list1890/1890 (178 files); Playwrighte2e/list-no-actions-column-35554.spec.ts16/16. CI green on 2a4b0b4 (Test UI 16 shards, Test Core, Build & E2E UI, Live E2E UI, Type Check UI, TypeScript Type Check, Lint & Repo Gates; mergeable clean).scripts/ablation-replace.mjs, restored to the HEAD blob each time):drawRowControlsforcedtrue⇒ the no-column pin goes red; the page-bar slot forcednull⇒ 4 selection pins go red; the multi-window re-read forced back to one$top = rows heldread ⇒ both re-read pins go red.tscfor plugin-grid, plugin-list, app-shell andtsconfig.e2e.json;check:test-source-alias,check:platform-checklist --changed-from origin/main,check:nul-bytes, and the 48 otherdispatch-gates --commandslines, all exit 0;overlap-check --branch=HEADclean against main and feat(plugin-list): the shared field list also manages a view's fields, for the Options card #35634 / feat(plugin-list): the shared field list, quick filter values and condition chip row, not yet mounted #35622.🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CZL84qjxXbtxcXE8rW