Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
672e2af
wip(ui): list page bar and view switcher trigger
claude Nov 19, 2026
740044f
wip(ui): list view bar text triggers, leading state, condition row slot
claude Nov 19, 2026
afdfab5
feat(ui): declare the data-table summaryRow runtime slot
claude Nov 19, 2026
a2f41cb
wip(ui): list renderer leading state, frozen edge shadow
claude Nov 19, 2026
814d12f
wip(ui): grid density, summary row in the table
claude Nov 19, 2026
298d163
wip(ui): lookup chip, option label saturation, tabular figures
claude Nov 19, 2026
0efcf58
wip(ui): row action trigger fits the 33px row, money formulas align r…
claude Nov 19, 2026
e573bdf
test(ui): list frame geometry spec, view bar leading state and kanban…
claude Nov 19, 2026
dd2e0af
docs(qa): list frame variant on the list-view capability item; changeset
claude Nov 19, 2026
3f3abb5
fix(ui): switcher description on every face, refused view keeps the s…
claude Nov 19, 2026
73e6183
test(ui): migrate grid summary and list toolbar tests to the table su…
claude Nov 19, 2026
05a3639
test(ui): ledger the summaryRow runtime slot in the zod mirror parity…
claude Nov 19, 2026
0ab3d37
Merge origin/main into claude/project-thread-lj1d6f
claude Nov 19, 2026
063ed32
test(console): the #35446 full-page CONTROL reads the #35548 page bar…
claude Nov 19, 2026
a0dc4ce
fix(plugin-list): keep ListViewHandle's doc block on its interface
claude Nov 19, 2026
8acc219
test(app-shell): pay @objectstack/lint's load at collection in the Ob…
claude Nov 19, 2026
55a069b
test(console): migrate seven more pins to the #35548 frame (summary r…
claude Nov 19, 2026
0b42c70
test(components): pay @object-ui/react-runtime's load at collection i…
claude Nov 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .changeset/35548-list-page-frame.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
'@object-ui/app-shell': patch
'@object-ui/plugin-list': patch
'@object-ui/plugin-grid': patch
'@object-ui/components': patch
'@object-ui/types': patch
'@object-ui/fields': patch
'@object-ui/i18n': patch
---

feat(console): the list page's frame — a 44px page bar, a 40px view bar, a denser grid and per-column totals in the grid's own last row

Clause-②: no
Metadata-protocol: none

The object list page is redrawn around two bars and a denser grid (objectstack#35548, the first card of the list-page epic):

- **Page bar, 44px.** The object's icon in one colour and its name on the left; ⋮ and 「+ 新建」 on the right. The object's description, Import and Favorite moved into ⋮.
- **View bar, 40px.** The view switcher is one trigger on the left, reading the view type's icon, the view name, the record count and a caret (the count beside the name returns, after objectstack#34603 removed it). 「筛选」「排序」「选项」 are text buttons on the right beside the search icon, and open the same panels as before; below `sm` they stay icons. The kanban and every other view type draw the same two bars. An empty condition row under the bar takes no height.
- **Grid.** A 32px header and 33px default rows, 13px on the header, the cells and the bar buttons, faint row lines, no rule after the first column, and the frozen-column shadow only once the grid scrolls sideways. The row ⋮ trigger is 24px so it fits the row. Lookup values read as small chips, money and number columns (a money formula with `returnType: 'currency'` among them) align right with tabular digits, and select labels keep their colour at lower saturation.
- **Totals.** Column summaries are drawn as the table's own last row, each figure under its column (so they line up at any width and are never covered by pinned columns), led by 「计数 N」; the separate footer line and its doubled colon are gone.

`DataTableSchema` gains one host-only runtime slot, `summaryRow` (`{ lead?, cells }`), which `ObjectGrid` fills; like `rowGroups`, the zod face refuses it by name, so it is not authorable. New locale keys: `list.options`, `grid.summary.countLead`.
22 changes: 18 additions & 4 deletions docs/qa/platform-checklist/areas/records-forms.json
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@
"title": "List-view capability matrix: filter, search, sort, pagination, saved views, inline edit, export, visualization switcher, bulk/row actions, conditional formatting",
"since": "v15",
"status": "active",
"revision": 9,
"revision": 10,
"priority": "P1",
"surface": "browser",
"personas": [
Expand All @@ -641,7 +641,8 @@
"visualization-switcher",
"bulk-actions",
"row-actions",
"conditional-formatting"
"conditional-formatting",
"list-frame"
],
"steps": [
"open /_console/apps/com.example.showcase/showcase_task and screenshot the default All Tasks grid",
Expand All @@ -650,10 +651,11 @@
"open the tabular saved view (sort [{field: 'estimate_hours', order: 'desc'}] — the array form: #17053 retired the bare string clause 'estimate_hours desc' platform-wide, so the objectui#2601 string-crash fixture no longer exists on stock); confirm it renders and the request carries the sort as sort=-estimate_hours",
"page a list past page 1. No stock list holds more rows than the 50-row page (the largest seeded task and contact lists are under it), so stage one first: POST /api/v1/data/showcase_inquiry/createMany with a bare JSON array of 55 rows (name + email + message each — showcase_inquiry requires `message` too, and a name + email body answers 400 \"Message is required\", QA run #24616), then page the Inquiries list; capture `top`/`skip` on every data request; confirm no unpaged full fetch",
"in the grid saved view (inlineEdit: true), edit one cell in place; save; capture the PATCH; re-read the row via API",
"on in_progress, with the export grant from fixtures.requires[3] bound, open the toolbar's Display popover — Export sits in its footer ('Export as CSV / XLSX / JSON'), not as a separate toolbar button — and export each declared format (csv, xlsx, json); capture the requests and files. Without the grant the Export entries are absent and the route answers 403 EXPORT_NOT_PERMITTED — the opt-in working as designed, not a fail of the export variant",
"on in_progress, with the export grant from fixtures.requires[3] bound, open the view bar's Options (选项) popover — the Display popover, a text trigger since objectstack#35548 — Export sits in its footer ('Export as CSV / XLSX / JSON'), not as a separate toolbar button — and export each declared format (csv, xlsx, json); capture the requests and files. Without the grant the Export entries are absent and the route answers 403 EXPORT_NOT_PERMITTED — the opt-in working as designed, not a fail of the export variant",
"open the visualization switcher on All Tasks; enumerate the offered types; switch through each",
"on bulk_actions, select rows that are NOT done and run showcase_mark_done (per-record) — its visible gate, has(record.done) && record.done != true, judges each selected row, so a done row in the selection drops Mark Done from the bulk bar, or, over a mixed selection, the confirm reports the done rows not eligible and skipped (QA run #27438); either way the dispatch count stops matching the selection — and showcase_recalc_selection (aggregate — ONE dispatch: an api-type action, which the console sends through the action door, POST /api/v1/actions/showcase_task/showcase_recalc_selection with body {params:{_selectedIds:[…]}}; the server forwards those params flat to the action's own target /api/v1/apps/showcase/recalc in-process, buildApiActionRequest in packages/runtime/src/action-execution.ts, so the browser's network log shows the door request and no /recalc request); on legacy_row_actions confirm both named row actions resolve to live menu entries",
"on Field Zoo, confirm the conditionalFormatting row highlight applies to Specimen — Full (f_lookup set) and not Specimen — Minimal"
"on Field Zoo, confirm the conditionalFormatting row highlight applies to Specimen — Full (f_lookup set) and not Specimen — Minimal",
"at 1280×800 on a zh-CN session, read the list frame on All Tasks, then on its kanban view: a 44px page bar with the object's icon and name on the left and ⋮ (description, import, favorite) and 「+ 新建」 on the right; a 40px view bar with ONE switcher trigger reading type icon → view name → record count → caret on the left and 「筛选」「排序」「选项」 plus the search icon on the right; no condition row height while no condition is set; on the grid a 32px header and 33px rows at 13px; and, on a view whose columns declare a `summary`, each total under its own column with 「计数 N」 leftmost and no doubled colon. The kanban view draws the same two bars (objectstack#35548; the count beside the view name returns, after objectstack#34603 removed it)"
],
"acceptance": [
{
Expand Down Expand Up @@ -715,6 +717,12 @@
"oracle": "dom",
"verify": "after screenshot, open a row menu on the legacy_row_actions view; click each entry and confirm it dispatches (objectui#2960 contract)",
"evidence": "menu screenshot + dispatch traces"
},
{
"clause": "the list frame holds its geometry: page bar 44, view bar 40, header 32, rows 33, 13px on the header, the cells and the bar buttons, the first data row top at or above 168px under the 48px shell bar, the switcher read type icon → name → count → caret, every column total's right edge on its column's (±1px), no doubled colon in the summary row, and the kanban view under the same two bars",
"oracle": "dom",
"verify": "read getBoundingClientRect and the computed font size of each part at 1280×800 zh-CN (the geometry and order halves are pinned by ui/e2e/list-frame-geometry-35548.spec.ts over the real class strings; the kanban half by ui/packages/plugin-list/src/__tests__/ListView.viewBarLeading-35548.test.tsx); the summary half needs a view whose columns declare `summary`, which task.view.ts does not, so stage one in the showcase's customization pair as negative[0] does",
"evidence": "light and dark screenshots of the grid and the kanban, plus the measured heights"
}
],
"negative": [
Expand Down Expand Up @@ -792,6 +800,12 @@
"date": "2026-11-04",
"change": "steps[8], acceptance[8] (clause and verify), negative[0] and negative[1] corrected from QA run #29890 (W5-FAIL, at 589049b0; the re-point wave 4 parked until #29173 landed). The aggregate showcase_recalc_selection is sent through the action door, POST /api/v1/actions/showcase_task/showcase_recalc_selection with {params:{_selectedIds}}, since #27611, and the server forwards the params flat to /api/v1/apps/showcase/recalc in-process (buildApiActionRequest). negative[0]'s package-less overlay of showcase_task.done is refused 403 NOT_OVERRIDABLE since ADR-0146 D11, so the stage goes into com.example.showcase.custom through the ensure door; negative[1] says how to stage a tabs userFilter view. Read at base f68b47ca",
"ref": "#29906"
},
{
"revision": 10,
"date": "2026-11-19",
"change": "list-frame variant, steps[10] and its acceptance clause added, and steps[6] re-pointed: the list page's frame was redrawn (objectstack#35548, epic #35547). The toolbar's icon-only Display trigger is now the view bar's 「选项」 (Options) text trigger beside 「筛选」 and 「排序」, the view switcher carries the type icon and record count (the count objectstack#34603 had taken away), and the column totals moved into the grid's own last row. No earlier clause changed",
"ref": "#35548"
}
]
},
Expand Down
Loading
Loading