Repository navigation
feat(list): a two-row list toolbar — View settings beside the view name, a resident condition row, ⋮ More at the far right - #35918
Conversation
…ew bar, 视图设置 beside the view name, a resident condition row Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS
…ests, locale keys, docs and checklist to the two-row toolbar Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS
|
repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4 席位核对 — REWORK (L1-b)Head-sha: 维护者速读
Must-fix
Should-fix
The seat's four points
Checked and fine
Owed
|
…wo-row bar - list-condition-row-35549: one resident Sort chip with a level count, 40 px row - list-toolbar-view-name-phone: read the 视图设置 trigger from ViewSettingsPopover - list-frame-geometry-35548 / list-left-edge-35663: no page bar; the view bar carries the object name, icon and the page actions - view bar: object icon and ⋮ sit 16 px from the column edge (sm:pl-1.5 / sm:pr-0.5) - records-forms checklist: list-view-capabilities rev 13, bulk-select-all-matching rev 11 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS
…irst level The More level it sat on is gone with the two-row toolbar; the section moves up instead of going away, so a reader keeps the choice until the record-open preference itself is retired. Docs and tests as main has them, the tests opening the panel's first level. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS
…ow toolbar The resident row keeps ONE sort chip; with a sort in force it opens every level in one panel, as the sort chips do on main, and the dashed Sort still opens the field list. Tests that stepped into the advanced step from a sort in force read the chip's panel instead. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS
|
repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4 席位核对 — delta ACCEPT (L1-b)Head-sha: 43ff794 · read 2026-11-20T21:16Z · delta 53a7404..43ff794 (c8030bb, 03e1946, merge of 维护者速读
Delta read
Nit (non-blocking)
Owed
|
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS
|
coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff 请把正文里的 维护者 2026-11-21 要求改写了 #35678:选中记录后不再换视图行右端的内容,改成列表底部居中浮出操作条。那张卡现在的范围比这个 PR 做的大,这个 PR 合并不应关闭它。
|
Main retired the Open records preference. The two-row panel drops its Open records section, its recordOpen prop and the words for it; the section's test now checks the panel draws none. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS
|
repo:objectstack#1 · os-sales · session_01L6bhgXbiCh84nxg4WvGahS 头 7b4adb1 的 Test UI (13/16) 红了一项: 我判断这是这项测试本身的时序抖动,不是本 PR 引起的:
按规则开发线程不重跑 CI,请座位判断是否用 Generated by Claude Code |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Seat · 2026-11-21T05:14Z · run 44868291518 on head |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T05:34Z. The brief handed to the isolated declaration-face reviewer for PR #35918 (owed by the changeset's Contract review brief — PR #35918 @
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4 席位核对 — merge-only delta ACCEPT (L1-b)Head-sha: 7b4adb1 · read 2026-11-21T05:36Z · delta 维护者速读
DeltaI re-ran the merge (
Must-fix / Should-fixNone. Owed
|
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Posted 2026-11-21T05:40Z. Contract reviewServed-tier: Face: declaration (owed by ① Derived judgmentsThe published surface is what each package's
N1 — nit. In the default (compact) toolbar,
This is a nit because neither the spec's accept set nor the ledger verdict moves. Follow-up: drop the term, fix the comment, and state that N2 — nit (PR body only). The PR body says the keys landed in 「all 12 locales」, but ② Semver level
③ Boundary flags
Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob Seat landing · 2026-11-21T05:42Z · Area b1-L's PR for #35878: the list toolbar in two rows, with the Open records section, |
Requested by Sales · project thread
repo:objectstack#1 · os-sales · session_01L6bhgXbiCh84nxg4WvGahS
Fixes #35878
Clause-②: yes (widening) — two new optional
ListViewPropson the@object-ui/plugin-listentry,toolbarTrailingandconditionRowEnd; new keys in every@object-ui/i18nlocale (listConditions.chips.sort/.filter/.sortedBy,list.viewSettings,list.optionsMenu.shownColumns/.addColumn); nothing removed or renamedMetadata-protocol: none
Flow: dev-thread rule (maintainer 2026-11-20 09:22:50Z 「所有 p1 都按照新规则执行」): the card thread builds itself; L1 and the isolated L2 run in parallel at hand-back, the maintainer's 09:22Z ruling for every p1 card (deviates from contract-review.md:18 until the skill card lands). This card is a p2 child of epic #35547, run the same way (Sales 2026-11-20 16:32Z 「专题任务p1p2 都处理」).
维护者速读
What changes
The console object list drew three rows above the table: a page bar (object name, ⋮ More, New), the view bar (Filter N, Sort N, Options, search) and a condition row that appeared only once a condition was set. It now draws two.
Row 1, the view bar (
ListViewtoolbar row, hosted byapp-shell):[icon Object / View N ▾] [View settings ▾] … [search] [toolbar actions] [+ New] [⋮].h1(ObjectViewBarObjectName,objectViewPageHeader.tsx). The page bar is not drawn when the view bar hosts these (ListViewBarHostContext); every other host ofObjectViewPageHeaderis unchanged.ObjectViewBarTrailing: the list's search, thenObjectViewPageBarActions(schema toolbar, create, then ⋮ More last; 列表选中记录后:底部居中浮出操作条(已选 N 条、最多 3 个带文字的操作、更多),页面上方不再换内容;主列表、子表页签、侧边记录用同一条 #35678).useListPageBarHostslot). ⋮ keeps its place and icon in both faces:SelectionPageBar's overflow is nowMoreVertical, the same as the page's. The search and page acts are hidden, not unmounted, while selecting.Row 2, the condition row (
ConditionChipRow, resident now):sort-chip-panelfrom fix(plugin-list): a list's column header opens a menu and keeps a multi-level sort; a sort chip opens the sort panel #35909 (add a level, reorder by the handle), and never flips a direction itself. With no sort, the dashed 「Sort」 opens main'sSortPanel. Neither panel is rebuilt here (列表排序:已有多级排序时点列头会把原来的排序全部清掉;点排序标签会直接把方向反过来 #35876 owns their content).conditionRowEnd: 「Personalized」 and 「Reset」 while the list differs from its view.flex-nowrap, sideways scroll) and is always drawn, so the table's Y does not move when the first condition is set or after Reset.View settings (was 「Options」):
Narrow widths (container queries on the list root,
@container/list), down to 640:New host props on
ListView(optional, so the Clause-② widening):toolbarTrailing(tools)for the bar's right end, given the list's search, andconditionRowEndfor the condition row's right end. A host that passes neither gets the search alone at the end and the row's own Reset.i18n:
listConditions.chips.{sort,filter,sortedBy},list.viewSettings,list.optionsMenu.{shownColumns,addColumn}in all 11 locale packs.For the phone cards
Ruling record 7045325067 on #35880 says each panel's content must be a component that does not depend on its container, with value/onChange passed in. These are the parts a phone sheet should mount as they are. None of them knows about the popover around it.
ConditionChipRow(plugin-list/src/conditions/ListConditionControls.tsx)sort,filters+onFiltersChange(next),sortFields/filterFields,renderSortPanel(close)(no sort yet),renderSortLevels()(every level, a sort in force),renderAdvanced(),end,filterOffered,onResetSortPanel(same file)value: SortItem[],onChange(next),onDone(),fields,shownFields,footer,renderAdvanced()FilterPanel(same file)value: FilterBuilderRowGroup,onChange(next),fields,shownFields,renderAdvanced(),conditionIdViewSettingsContent(plugin-list/src/components/ViewSettingsPopover.tsx)ViewSettingsPopoverProps(each setting as value + setter:groupingConfig/setGroupingConfig,density,hiddenFields/updateHiddenFields,fieldOrder/onFieldOrderChange,viewName, …) pluscloseMenu();ViewSettingsPopoveris only the trigger + popover around itFieldList(plugin-list/src/conditions/FieldList.tsx)fields,shownFields,order+onOrderChange(order),onHide(name),onShow(name),onPick(field),searchableKept separate: nothing. This PR builds no bottom sheet and no staging layer, as the ruling says.
Tests
Migrated (expectations moved to the new controls)
toolbar-filter-trigger→condition-add-filter,toolbar-sort-trigger→condition-sort, andoptions-row-fields→options-add-column. This covers all plugin-list tests and the e2e specslist-condition-row-35549andlist-toolbar-view-name-phone.fieldListRead-11984(the sweep covers the condition row; names normalised),harness,datasetChartAppliedFilter-10512,toolbarLeading-12440,emptyStateClearFilters-28908,toolbarRows-27520,displayPopover-12423,exportFooter-29175,optionsMenu-35551,viewBarLeading-35548,phoneWidth-29074,phoneSortSearch-28911,toolbarAccessibleNames-12500,optionsHost-35551,filterDatePicker-12743,treeEmptyState-28966, andListViewBlock.{cappedPageBlock-26613,compactRegion-12703,specInputs-13047}.objectListTitle-27950andtitleViewSwitcher-27594: theh1is now the view bar's object name.headerSelectionGate-27831andbulkWiredHeaderDuplicate-12462: the header acts are found inlist-view-bar-actions.listUrlState-11860andpersonalViews-29635: 「Filter, N active」 is now the row's add control and itsdata-empty.ObjectView.*files whoseListViewstand-in now also drawsconditionRowEnd:listPersonalized-28950,userListState-12418,headerFold-12705,importPredicates,objectBoundActions-7234,servedViewLabel-11295,viewWriteRefusal-11583,listActionsReadGate-12109,labelLessViewTab-12774,viewRefusal-12112,starredView-27594.chartViewTabs-13114,emptyColumnsNoProjection-10694,externalRefreshSum-10572,refreshInPlace-10035,PageView.listViewAddRecord-13089.conditionPanels.tsopenAdvancedSort()and the two local helpers infieldListRead-11984andharnessreadsort-chip-panelwhen a sort is in force, else step from the field list's footer as before;withheldFields-34901the same.headerMenuSort-35876, the three chip cases: the chip iscondition-sort(data-levels), its text names the first level after a move.fieldListRead-11984: the Sort picker's field-list case mounts with no sort (the dashed 「Sort」 opens the list).conditionRow-35549「Reset clears the reader's filter and keeps the sort the view saved」: the view's sort is the one chip.listConditions.test.tsx: fix(plugin-list): a list's column header opens a menu and keeps a multi-level sort; a sort chip opens the sort panel #35909's 「sort chips come before filter chips…」 case is the one-chip case (before the filter chips, openssort-chip-panel, writes no sort), and a new case pins that the dashed 「Sort」 opens the sort panel.optionsMenu-35551keeps main's 「no Open records section」 case, opened on the panel's first level (there is no More level); main deleted the tworecordOpen-26681files.list-condition-row-35549: the row is resident at 40 px; nothing set shows the dashed Sort and Filter (data-levels0,data-empty); a sort of any depth is the onecondition-sortchip (「Sorted by Amount」 + 「+1」); Reset and × return to the empty face. Reworked on fix(plugin-list): a list's column header opens a menu and keeps a multi-level sort; a sort chip opens the sort panel #35909's version after the main merge (43ff794): the chip openssort-chip-panel, 「Add sort」 there adds the second level, a real drag of asort-builder-handlereorders, and a header click openscolumn-context-menuand sorts nothing until 「Sort descending」.list-toolbar-view-name-phone: the touch-size pin now reads the 视图设置 trigger inViewSettingsPopover.tsx(the old pattern no longer matched anything and threw at load).list-frame-geometry-35548: no page bar; the view bar carries the object name and icon, the switcher and 视图设置, with search, New and ⋮ at its end; the condition row is resident (min-h-10 flex-nowrap); thead at Y 128.list-left-edge-35663: the object icon in the view bar and ⋮ at its end sit 16 px from the column edge, the same as the select-all box.Voided (the behaviour they pinned is removed by the card)
ListView.toolbarIconButtons-12695.test.tsx(deleted): the Filter N / Sort N icon buttons are gone.conditionRow-35549: 3 cases (per-level sort chips, the row hidden when empty).displayPopover-12423: the footer Refresh.phoneSortSearch-28911: 2 cases (Sort inside the Display panel on the phone).phoneWidth-29074: 4 cases (the phone bar's own Sort trigger).toolbarAccessibleNames-12500: the below-sm active filter count.toolbarRows-27520: 2 cases (the badge counts).viewBarLeading-35548: the condition row empty.listConditions.test.tsx: 5 cases (per-level sort chips, move and flip).list-condition-row-35549: the drag-reorder case of the per-level chips.Added:
listConditions.test.tsx「ConditionChipRow — the resident row of the two-row toolbar (objectstack#35878)」, 7 cases: the dashed empty face, one sort chip with +N, filter chips with ×, then +,endin place of Reset,filterOffered, and nowrap.Checklist (
docs/qa/platform-checklist/areas/records-forms.json), three items whose wording this PR makes false, each with a history entry ref #35878:records-forms.adhoc-filter-sort-builder→ revision 12: steps[1] opens the builders from the condition row.records-forms.list-view-capabilities→ revision 13: steps[6], [8], [10], [11] and acceptance[10], [11] reworded. There is no page bar above the list; 「Options」 is 「View settings」 beside the view name with no More level; the condition row is resident at 40 px; ⋮ More is last at the view bar's end; the object icon leads the view bar.records-forms.bulk-select-all-matching→ revision 11: steps[1], [2] and acceptance[0] place the selection face at the view bar's right end.Acceptance notes
after-*ConditionChipRow; the new testsrenderSortLevels(#35876'ssort-chip-panel); none →renderSortPanel→ main'sSortPanelViewSettingsContent;optionsMenu-35551@[56rem],@[48rem],@[40rem]; 900/760/640 shotsflex-nowrap overflow-x-autoObjectViewPageBarActions; selected shots. #35678 was rewritten 2026-11-20T23:00Z to a floating bottom selection bar; this PR no longer closes it, and the selection face at the view bar's right end is what that card replaces laterKept, not named by the card: the Layout and Row color rows and the Save / export footer of View settings. They are offered only where the list offers them today, and dropping them would remove a capability.
Verification
pnpm exec vitest run packages/plugin-list/ packages/plugin-grid/: 474 files, 4495 tests passed.packages/i18n): 5068 passed, 13 skipped; the one red (zh-hant-generated) fixed by regeneratingzh-Hant.tswithgen:zh-hant, then green.eslint --quieton every changed file: 0 problems.type-check(tsc --noEmitand the test tsconfig) for@object-ui/i18n,@object-ui/plugin-grid,@object-ui/plugin-listand@object-ui/app-shell, after building their closure: clean.ObjectView*and every test naming the view bar, 82 files, 677 tests passed; app-shelltype-checkexit 0; the four migrated e2e specs (list-condition-row-35549,list-toolbar-view-name-phone,list-frame-geometry-35548,list-left-edge-35663) 24 passed; eslint on the changed files 0 errors.ViewSettingsPopovertests,toolbarLeading-12440,ListView.permissionsandObjectView.recordOpenDisplay-26681, 8 files, 82 tests passed;plugin-listtype-checkexit 0; eslint 0 errors.uivitest run scripts/: 172 files passed, 2 skipped.node scripts/pm/dispatch-gates.mjs --commands: 73 derived commands; the run and its--ranreconcile are in the os-dev-report on 列表工具区重排:对象名并进视图行,「选项」改成视图名旁的「视图设置」并直接摊开列清单,筛选和排序的入口并到标签行,排序并成一个标签 #35878.plugin-list+plugin-grid476 files, 4523 tests passed; app-shellObjectView*and the view-bar tests 82 files, 679 passed; the four migrated e2e specs 24 passed;plugin-listandapp-shelltype-checkexit 0. CI on 43ff794: every check-run success or skipped.list-condition-row-35549waits for this PR'scondition-add-filterand feat(ui): resident list footer row — pick each column's calculation from its cell #35919'sdata-table-summary-lead;ObjectView.tsxkeeps both import lines;objectViewListRenderer.tsx's memo deps carry both PRs' keys.plugin-list+plugin-grid477 files, 4541 tests passed; app-shellObjectView*, the view-bar tests andcolumnSummaryWrite-35702, 83 files passed; the four migrated e2e specs 24 passed;plugin-listandapp-shelltype-checkexit 0 (app-shell after rebuildingplugin-list's declarations, whose stale dist lacked feat(ui): resident list footer row — pick each column's calculation from its cell #35919'sonColumnSummaryPick).ViewSettingsPopover.tsx,ListView.tsx,objectViewListRenderer.tsx, the 11 locales andoptionsMenu-35551. Resolved on this PR's panel (no More level, no Sort inside it) with main's removal applied: the Open records section,RecordOpenSection, therecordOpenprop and its words are gone;optionsMenu-35551checks the panel draws none.plugin-list+plugin-grid476 files, 4546 tests passed; app-shellObjectView*(incl.recordOpenPath-35854), the view-bar tests,columnSummaryWrite-35702andrecordDrawerStack-26679, 83 files, 696 tests passed (the first pass ran on a stale@objectstack/specdist; the 22 red files passed after it rebuilt); the four migrated e2e specs 24 passed;plugin-listandapp-shelltype-checkexit 0; the 48 derived gates all exit 0,--ran48 of 48 with exit codes.overlap-check.mjs(head 7b4adb1): merges cleanly withmain(f9f45d3) and with the four open PRs sharing files (fix(ui): a multi-value field's list filter offers contains / does not contain, not the operators the server refuses #35991, fix(form): new master-detail form lines start on the child's defaults and skip an untouched line with a notice (#35940) #35984, feat(record-page): two-row record header — navigation over the record, up to three actions #35983, feat(app-shell): connect your Slack account on the notification settings page, and an admin Slack page in Setup (Part of #34730) #35968).showcase_tasklist: before/after at 1312 and 640 (plus 900 and 760 for the fold), light and dark, sort + filter set, plain, View settings open, one row selected. Files are in the project'sbuild-seat1/35878/folder.Read first (by risk):
ui/packages/app-shell/src/views/ObjectView.tsx:listBarHostedand thepageBarPropsRefhanded toviewBarTrailing. The page bar disappears only while the view bar hosts its acts.ui/packages/app-shell/src/views/objectViewPageHeader.tsxObjectViewBarTrailing: the selection slot scope (closest page column) and the hidden-not-unmounted tools.ui/packages/plugin-list/src/conditions/ListConditionControls.tsxConditionChipRow: the one sort chip and the resident row.Two-minute check: open any object list in the console at 1312 wide. Expect two rows above the table, ⋮ at the far right after New, dashed 「Sort」 「Filter」 in the second row, and no jump when you pick a sort field.
Follow-ups
skills/objectstack-ui/rules/record-page.mdrule 6 andevals/record-page.jsonstill name the Display menu's Open records as a reader choice. feat(console)!: one way to open a record from an object's list; navigation.mode deprecated there #35910 merged without changing them; they belong to a skills PR on 从列表打开记录:点名称进整页,悬停名称格的图标才开侧边;去掉「打开记录」设置和撑满的抽屉;整页带着列表来历;抽屉改悬浮卡片 #35854 (skills/**moves only on skills PRs).userActions.refreshin the default (compact) toolbar (L2 nit N1, 7058088095):displayOfferedstill countstoolbarFlags.showRefreshand the Refresh comment inListView.tsxstill names the panel footer; the key now governs only thecompactToolbar: falseRefresh button. Left for a follow-up card, with the ADR-0049 question of whether the key should mean anything in the default toolbar.Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintpasses. (eslint on the changed files: 0 errors)main, one pull request. (列表选中记录后:底部居中浮出操作条(已选 N 条、最多 3 个带文字的操作、更多),页面上方不再换内容;主列表、子表页签、侧边记录用同一条 #35678 was folded in; after its rewrite this PR no longer closes it, so oneFixesline)packages/spectouched: its generated artifacts are regenerated and committed. (not touched)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS