Skip to content

feat(list): a two-row list toolbar — View settings beside the view name, a resident condition row, ⋮ More at the far right - #35918

Merged
objectstack-fleet[bot] merged 10 commits into
mainfrom
claude/project-thread-2ftzuo
Nov 21, 2026
Merged

objectstack-fleet[bot] merged 10 commits into
mainfrom
claude/project-thread-2ftzuo

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Sales · project thread

repo:objectstack#1 · os-sales · session_01L6bhgXbiCh84nxg4WvGahS

Fixes #35878

Clause-②: yes (widening) — two new optional ListViewProps on the @object-ui/plugin-list entry, toolbarTrailing and conditionRowEnd; new keys in every @object-ui/i18n locale (listConditions.chips.sort / .filter / .sortedBy, list.viewSettings, list.optionsMenu.shownColumns / .addColumn); nothing removed or renamed
Metadata-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 (ListView toolbar row, hosted by app-shell):

Row 2, the condition row (ConditionChipRow, resident now):

View settings (was 「Options」):

Narrow widths (container queries on the list root, @container/list), down to 640:

  1. 「View settings」 folds to its icon.
  2. Then the word 「Personalized」 goes.
  3. Then 「Reset」 folds to its icon.

New host props on ListView (optional, so the Clause-② widening): toolbarTrailing(tools) for the bar's right end, given the list's search, and conditionRowEnd for 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.

Part Component (file) Interface
Condition row 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, onReset
Sort panel SortPanel (same file) value: SortItem[], onChange(next), onDone(), fields, shownFields, footer, renderAdvanced()
Filter panel FilterPanel (same file) value: FilterBuilderRowGroup, onChange(next), fields, shownFields, renderAdvanced(), conditionId
View settings content ViewSettingsContent (plugin-list/src/components/ViewSettingsPopover.tsx) ViewSettingsPopoverProps (each setting as value + setter: groupingConfig/setGroupingConfig, density, hiddenFields/updateHiddenFields, fieldOrder/onFieldOrderChange, viewName, …) plus closeMenu(); ViewSettingsPopover is only the trigger + popover around it
Column list FieldList (plugin-list/src/conditions/FieldList.tsx) fields, shownFields, order + onOrderChange(order), onHide(name), onShow(name), onPick(field), searchable

Kept separate: nothing. This PR builds no bottom sheet and no staging layer, as the ruling says.

Tests

Migrated (expectations moved to the new controls)
  • Test ids: toolbar-filter-trigger → condition-add-filter, toolbar-sort-trigger → condition-sort, and options-row-fields → options-add-column. This covers all plugin-list tests and the e2e specs list-condition-row-35549 and list-toolbar-view-name-phone.
  • plugin-list: 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, and ListViewBlock.{cappedPageBlock-26613,compactRegion-12703,specInputs-13047}.
  • app-shell:
    • objectListTitle-27950 and titleViewSwitcher-27594: the h1 is now the view bar's object name.
    • headerSelectionGate-27831 and bulkWiredHeaderDuplicate-12462: the header acts are found in list-view-bar-actions.
    • listUrlState-11860 and personalViews-29635: 「Filter, N active」 is now the row's add control and its data-empty.
    • Eleven ObjectView.* files whose ListView stand-in now also draws conditionRowEnd: 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.
  • After merging main with 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 (43ff794), the one chip opens 列表排序:已有多级排序时点列头会把原来的排序全部清掉;点排序标签会直接把方向反过来 #35876's panel of every level:
    • conditionPanels.ts openAdvancedSort() and the two local helpers in fieldListRead-11984 and harness read sort-chip-panel when a sort is in force, else step from the field list's footer as before; withheldFields-34901 the same.
    • headerMenuSort-35876, the three chip cases: the chip is condition-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, opens sort-chip-panel, writes no sort), and a new case pins that the dashed 「Sort」 opens the sort panel.
  • Open records: optionsMenu-35551 keeps main's 「no Open records section」 case, opened on the panel's first level (there is no More level); main deleted the two recordOpen-26681 files.
  • e2e (the specs that read class strings and test ids out of the sources):
    • list-condition-row-35549: the row is resident at 40 px; nothing set shows the dashed Sort and Filter (data-levels 0, data-empty); a sort of any depth is the one condition-sort chip (「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 opens sort-chip-panel, 「Add sort」 there adds the second level, a real drag of a sort-builder-handle reorders, and a header click opens column-context-menu and sorts nothing until 「Sort descending」.
    • list-toolbar-view-name-phone: the touch-size pin now reads the 视图设置 trigger in ViewSettingsPopover.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.
  • Cases dropped where only the removed controls were pinned:
    • 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).
    • e2e 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 +, end in 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

Card item Where
Two rows, the order in the mockup 1312 light and dark shots in after-*
Filter N / Sort N gone; chip row resident with dashed empties ConditionChipRow; the new tests
One sort chip opening the sort panel a sort in force → renderSortLevels (#35876's sort-chip-panel); none → renderSortPanel → main's SortPanel
视图设置 beside the view name, first level = content, no More, no toggles, no Refresh ViewSettingsContent; optionsMenu-35551
Fold order down to 640 (text → icon, 已个性化 hidden, 重置 → icon) container queries @[56rem], @[48rem], @[40rem]; 900/760/640 shots
Chip row does not wrap, scrolls sideways flex-nowrap overflow-x-auto
Selection: right end swaps, ⋮ stays rightmost with the same icon 1312 selected shots
Header Y unchanged after 重置 measured: the table header is at Y 128 both with and without conditions (main: 169 vs 132)
Table only, no 375 layout the phone keeps its own top bar; no phone work here
#35678's original rule (kept in its rewrite as item 6): 更多 after 新建 at the far right, same icon ObjectViewPageBarActions; 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 later

Kept, 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

Read first (by risk):

  1. ui/packages/app-shell/src/views/ObjectView.tsx: listBarHosted and the pageBarPropsRef handed to viewBarTrailing. The page bar disappears only while the view bar hosts its acts.
  2. ui/packages/app-shell/src/views/objectViewPageHeader.tsx ObjectViewBarTrailing: the selection slot scope (closest page column) and the hidden-not-unmounted tools.
  3. ui/packages/plugin-list/src/conditions/ListConditionControls.tsx ConditionChipRow: 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

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (not touched)
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes. (eslint on the changed files: 0 errors)
  • 4. One issue, one branch off an up-to-date main, one pull request. (列表选中记录后:底部居中浮出操作条(已选 N 条、最多 3 个带文字的操作、更多),页面上方不再换内容;主列表、子表页签、侧边记录用同一条 #35678 was folded in; after its rewrite this PR no longer closes it, so one Fixes line)
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (not touched)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English. (the 维护者速读 block is Chinese by the maintainer's standing rule)
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01L6bhgXbiCh84nxg4WvGahS

…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
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4

席位核对 — REWORK (L1-b)

Head-sha: 53a7404c1fb339a146cc0896581f489005127129 · read 2026-11-20T19:02Z

维护者速读

Must-fix

  1. ui/e2e/list-condition-row-35549.spec.ts is only half migrated. The trigger ids moved, but the sort test still pins the per-level chips this PR replaces with one chip (condition-sort): L329-330 sort-chip-toggle-amount (no longer drawn); the order read expects ['sort-chip-amount', 'sort-chip-stage', 'filter-chip-stage'] from [data-testid^="sort-chip-"][data-priority]; the "real drag" of sort-chip-stage onto sort-chip-amount; and the closing header click expects sort-chip-amount. Re-point them to the one chip (condition-sort, sort-chip-more for +N) and move the level reorder into the sort panel, or void them in the body with the reason.
  2. ui/e2e/list-toolbar-view-name-phone.spec.ts:118 throws at module load. The regex looks in LIST_FILE (ListView.tsx) for className={cn(TOOLBAR_TEXT_TRIGGER, PHONE_TOUCH_TARGET, … data-testid="condition-add-filter". At this head condition-add-filter exists only in conditions/ListConditionControls.tsx and ListView.tsx no longer imports TOOLBAR_TEXT_TRIGGER (git grep -c on ListView.tsx: 0), so the throw fires and the whole spec fails. Point it at the file and the classes the Filter control now uses.
  3. The checklist item records-forms.list-view-capabilities is made false and not changed. The body says "No clause changed", but at this head: steps[6] opens "the view bar's Options (选项) popover"; steps[10] reads "a 44px page bar with the object's icon and name … ⋮ … 「+ 新建」 on the right; a 40px view bar … 「筛选」「排序」「选项」 plus the search icon on the right; no condition row height while no condition is set"; steps[11] uses "选项 → 字段" and "the page bar's object icon"; acceptance[10] (clause) "page bar 44, view bar 40 …". Epic 专题:列表页重做(结构向 Twenty 对齐:框架、筛选、排序、选项、视图切换与新建、选中后的操作;外壳不动) #35547 asks each child PR to list the checklist clauses it changes in the same PR. Re-point these, bump the revision with the clause change named, and list it in the body.

Should-fix

The seat's four points

  1. No narrowing. recordOpen stays on ListViewProps with the same type, documented as accepted and drawn nowhere. The props removed from ViewSettingsPopoverProps (recordOpen, sort, showInlineEdit/inlineEdit/setInlineEdit, onRefresh/refreshing) are package-internal: plugin-list/src/index.tsx exports no ViewSettings* at base or head. So Clause-②: yes (widening) (two new optional host props, new i18n keys) is the right declaration. Removing the control is grounded: card 列表工具区重排:对象名并进视图行,「选项」改成视图名旁的「视图设置」并直接摊开列清单,筛选和排序的入口并到标签行,排序并成一个标签 #35878 「去掉「更多」这一层和里面的两个开关」, whose switches it says 从列表打开记录:点名称进整页,悬停名称格的图标才开侧边;去掉「打开记录」设置和撑满的抽屉;整页带着列表来历;抽屉改悬浮卡片 #35854 and 行内编辑:去掉开关,始终可改;单击选中、双击或回车编辑;只读格说明原因 #35684 cancel. The interim is S2.
  2. Layout, Row color and Save/export are grounded as existing content. At base the panel already had Layout, Fields, Group, Row color, Row height, Sort and More, and a footer with Restore defaults, Refresh, export, plus onSave. The card's list orders the new first level and drops More and Refresh by name. It does not remove these, and its 「不做的」 keeps other view types' content as it is (Layout is the grid ↔ kanban switch). The body names them under "Kept, not named by the card". Fine as a reading. If Sales wants the panel exactly as listed, that is a follow-up card, not a change to this PR.
  3. For the phone cards is present and names ConditionChipRow, SortPanel, FilterPanel, ViewSettingsContent (split from ViewSettingsPopover, which is now only the trigger and popover) and FieldList, each value + onChange with no container knowledge; no staging layer built (ruling 7045325067). Note for 手机端列表页:顶部一行返回加对象名,工具行一行胶囊(视图、排序、筛选、视图设置、搜索),列表保持卡片 #35883/手机端排序、筛选、切换视图的面板:几乎满屏,左上「×」放弃、右上「✓」才生效 #35884: none of these is exported from the @object-ui/plugin-list entry, so a phone host outside the package needs an export then (a widening on that PR).
  4. Overlap. Every hunk sits in this card's region (toolbar, condition row, View settings, page header) or 列表选中记录后:底部居中浮出操作条(已选 N 条、最多 3 个带文字的操作、更多),页面上方不再换内容;主列表、子表页签、侧边记录用同一条 #35678's (SelectionPageBar ⋮ icon). Real conflicts on landing:

Checked and fine

Owed

  • Every check green on the next head; L2 TIER_DEFAULT (Clause-② yes) by the seat on it. I read only the delta at the next announced head.

…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
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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 main dea68e9 with #35909) · L1 only, never an L2

维护者速读

Delta read

Nit (non-blocking)

Owed

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

请把正文里的 Fixes #35678 摘掉。2026-11-20T23:01Z

维护者 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
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgXbiCh84nxg4WvGahS

头 7b4adb1 的 Test UI (13/16) 红了一项:plugin-grid/src/__tests__/ObjectGrid.autosave-35685.test.tsx 的 「an earlier save's Undo is guarded by the newest version of its record」,第 334 行 getByText('A2') 没找到(同一分片其余 5596 项通过)。

我判断这是这项测试本身的时序抖动,不是本 PR 引起的:

按规则开发线程不重跑 CI,请座位判断是否用 rerun-failed.mjs 重跑这一次失败的分片;若再次失败,我按真实失败处理。


Generated by Claude Code

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Seat · 2026-11-21T05:14Z · run 44868291518 on head 7b4adb10: the one red job is Test UI (13/16), ObjectGrid.autosave-35685 "an earlier save's Undo…" (getByText('A2')). This PR touches only SelectionPageBar in plugin-grid, not the autosave or undo path the test drives, and the card thread ran that file five times locally at 18/18. The seat judges it a timing flake and re-runs the failed jobs once. A second failure is treated as real.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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 Clause-②: yes (widening) line). The record follows as its own comment.

Contract review brief — PR #35918 @ 7b4adb10cc628c236ec0ac32859a50f995bbe04e (card #35878)

You review at TIER_DEFAULT. Render ONE ## Contract review record on this head — its shape is
node scripts/pm/record-recognisers.mjs --template --face declaration — with a PASS or FAIL verdict, and post it as ONE comment
on the PR or its card.

Inputs — these and nothing else:
· card #35878: its body and EVERY comment (rulings and earlier records included)
· PR #35918: its body, its file list, and the net diff against main at 7b4adb10cc628c236ec0ac32859a50f995bbe04e
· the check-runs on 7b4adb10cc628c236ec0ac32859a50f995bbe04e: their conclusions ARE the gate verdicts
⛔ Not the dispatch order, ⛔ not the dispatching seat's own conclusions — this brief is adversarial by design.

⛔ READ-ONLY. No worktree, no checkout, no build, no test run, no gate re-run, no ablation: the check-runs
on the head already answered every derived gate family, and a local run costs more than it returns.
If ONE probe is unavoidable, the record's Local-runs: line says probe — REASON; otherwise none.
Scratch space is /tmp/claude-0/-home-user/3d3cbaf6-4903-5fed-92d4-c2b94a45e868/scratchpad/pr-35918/ alone; nothing there you did not write this round is read.

Judge, in the record's own sections:
① Derived judgments — every accept-set and public-surface change the diff implies, each named right or wrong.
② Semver level — the changeset (or skip-changeset) matches what the diff publishes, and the Clause-②: line.
③ Boundary flags — every dev flag and every open_questions entry answered, or escalated.
On every face, SQL push-down: a new id materialisation or in-app join where SQL could push down is a
finding unless a reason is given (AGENTS.md, Prime Directive 5: SQL first).
Sign Implemented-by: with the dev's branch and Reviewed-by: with your session id — the value is the FIRST
thing after each colon.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUmopshYqDCrYekUj4

席位核对 — merge-only delta ACCEPT (L1-b)

Head-sha: 7b4adb1 · read 2026-11-21T05:36Z · delta ed618b6d..7b4adb10 (last full ACCEPT 7050829091 @43ff7948; 43ff7948..ed618b6d = the #35919 merge, already reported)

维护者速读

Delta

I re-ran the merge (git merge-tree ed618b6d d6be99d5) and read each hunk where the resolution differs from git's automatic merge.

  • Conflicts: objectViewListRenderer.tsx, ListView.tsx, ViewSettingsPopover.tsx, the 11 locale packs, optionsMenu-35551, and two modify/delete tests (ObjectView.recordOpenDisplay-26681, ViewSettingsPopover.recordOpen-26681). Main deleted the two tests; the resolution deletes them too.
  • ViewSettingsPopover.tsx: against ed618b6d, every removed line is the Open records type, its docs, RecordOpenSection and the ToggleGroup import, and nothing is added. So the PR's first-level panel is unchanged apart from the retired section. That matches what main removed (feat(console)!: one way to open a record from an object's list; navigation.mode deprecated there #35910 deleted the same section from the More level).
  • ListView.tsx: recordOpen is gone from props, destructure and the panel call, as main did. Main's re-added cluster ViewSettingsPopover block is dropped, because this PR moved the panel beside the view name. Main's other change in that region carries over: the export error now uses className="… text-destructive". PHONE_POPOVER_GUTTER is no longer imported and has no use left in the file. Main's LIST_DEFAULT_TRANSLATIONS record-open keys are gone.
  • objectViewListRenderer.tsx: the memo deps are main's list (openInPanel, handleListTotalChange in place of recordOpen, openAsPage) plus this PR's hasViewBarTrailing, trailStore, rowEndStore. Nothing in the file still reads openAsPage or recordOpen.
  • Locales: shownColumns / addColumn are kept, recordOpenAlwaysPage is dropped, and zh-Hant is regenerated, not hand-merged.
  • optionsMenu-35551: main's "no Open records section" case is kept and opened on the first level. It still asserts that recordOpenAlwaysPage and list.recordOpen are absent from the zh pack.
  • Changeset: the Open records sentences are removed, so the text matches the merged panel.
  • The tree has no conflict markers left, and no shipped reference to ViewSettingsRecordOpen, RecordOpenSection, recordOpenAlwaysPage, list.recordOpen or a recordOpen= prop.
  • Per-file net-diff comparison (f9097340..ed618b6d against d6be99d5..7b4adb10): the only files whose size changed are the four record-open files above. ViewSettingsPopover went from 511 to 381 lines and ListView from 567 to 561, and the two retired tests left. No other file's net change moved.
  • The S2 from 7050829091 (the Open records section kept last until feat(console)!: one way to open a record from an object's list; navigation.mode deprecated there #35910) closes: feat(console)!: one way to open a record from an object's list; navigation.mode deprecated there #35910 has landed and the section is gone.

Must-fix / Should-fix

None.

Owed

  • l1-face flags one check at this head: PR-body guards (claim · duplicate · Part-of · single-writer path) = cancelled (51 success, 0 real failures). This is likely a superseded run after a body edit. The seat should confirm that a completed run of that check exists at 7b4adb10, or re-run it before landing. It is not a code finding.
  • L2 is running (per the seat); this L1 does not replace it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

Posted 2026-11-21T05:40Z.

Contract review

Served-tier: TIER_DEFAULT
Head-sha: 7b4adb10cc628c236ec0ac32859a50f995bbe04e
Local-runs: none

Face: declaration (owed by Clause-②: yes (widening) alone). The committed tree touches no packages/spec/src/** and no governed path, and there is no (narrowing) arm, so there is no ④. Inputs: card #35878 (body and all 9 comments), the PR body, its 75-file list, the net diff origin/main...7b4adb10 (merge-base d6be99d5), and the head's check-runs.

① Derived judgments

The published surface is what each package's exports map can reach. For @object-ui/plugin-list that is . only, through src/index.tsx.

  • ListViewProps gains toolbarTrailing (a function of the list's search tools, returning a node) and conditionRowEnd (a node). Right: both are optional and documented as host props, never schema keys. The prop list goes from 47 to 49 against the merge-base, and nothing is removed or retyped. ListViewHandle and LIST_DEFAULT_TRANSLATIONS are byte-identical to the merge-base. normalizeFilter* and the other entry exports are untouched. This is a widening.
  • @object-ui/i18n (./locales/*) gains six keys in each of the 11 locale packs, and none are removed: list.viewSettings, list.optionsMenu.{shownColumns,addColumn} and listConditions.chips.{sort,filter,sortedBy}. Right: this is a widening. The keys this PR stops reading (list.options, list.optionsMenu.{fields,fieldsShown,more}) stay in the packs, so nothing is narrowed.
  • Internal types change shape but are not part of the accept set. Right: none of them is reachable from the entry's type graph. ListViewProps references none of them, and index.tsx does not re-export them.
    • ViewSettingsPopoverProps loses sort, showInlineEdit, inlineEdit, setInlineEdit, onRefresh and refreshing. Nothing passed showInlineEdit or setInlineEdit at the merge-base either, so the More level was already unreachable.
    • New ViewSettingsContent.
    • ConditionChipRowProps: onSortChange becomes optional; renderSortPanel, end and filterOffered are added.
    • FieldListProps.searchable.
    • The TOOLBAR_LEADING class string.
    • plugin-grid's SelectionPageBar changes only its icon (MoreHorizontal → MoreVertical) and its size. It is not exported from the plugin-grid entry.
  • Behaviour under existing userActions keys (packages/spec/src/ui/view.zod.ts UserActionsConfigSchema). Right: each key's refusal now holds in the condition row.
    • userActions.filter: false now also withholds the row's add-filter control (filterOffered). The merge-base drew condition-add-filter unconditionally.
    • userActions.sort: false now withholds the sort chip. The merge-base drew per-level sort chips whose × and panel let the reader change a sort the key withholds. The sort still shows in the header arrows (card §一.10).
  • userActions.refresh, at its consumer. Right in direction, with one residue (finding N1). The maintainer ruled 「刷新去掉」 (card body §二.4), and the Refresh in View settings' footer is gone. The key keeps a live reader: the wide form's refresh-button (compactToolbar: false, ListView.tsx:7444). So the ledger row (packages/spec/liveness/view.json, userActions note) still holds, and nothing an author can write changed. Metadata-protocol: none stands.
  • @object-ui/app-shell changes are not published. Right: ObjectView.tsx, objectViewPageHeader.tsx, objectViewListRenderer.tsx and ListPersonalizedMarker.tsx sit in a private: true package outside the fixed group.
  • No recordOpen change in the net diff. Right (0 hits). The claim amendment's recordOpen reading (card comment 7048068258) is moot: main's feat(console)!: one way to open a record from an object's list; navigation.mode deprecated there #35910 retired the prop before the merge-base.
  • Closing keywords. Right: the PR body carries only Fixes #35878. The 列表选中记录后:底部居中浮出操作条(已选 N 条、最多 3 个带文字的操作、更多),页面上方不再换内容;主列表、子表页签、侧边记录用同一条 #35678 fold was withdrawn (card comment 7052784027).
  • Gates. Every check-run on the head concludes success or skipped. The one cancelled entry (PR-body guards 136736841169) was replaced by run 136736968888, which concluded success. Check Changeset (both runs), Type Check UI, Test UI 1–16 and the rollup, Build & E2E UI, Live E2E UI, Lint UI, Lint & Repo Gates (including PM dispatch-gates) and Governed Surface Queue Guard are all green.

N1 — nit. In the default (compact) toolbar, userActions.refresh no longer draws anything, but two leftovers in ListView.tsx still assume it does:

  • displayOffered still counts toolbarFlags.showRefresh (ListView.tsx:6835). On a list where Refresh was the only reason for the panel, View settings is still drawn, but the panel then holds only its footer.
  • The Refresh comment (ListView.tsx:7439-7443) still says 「in the Display form it sits in the panel's footer」.

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 userActions.refresh now governs only the compactToolbar: false Refresh button. Whether the key should still mean something in the default toolbar is an ADR-0049 question for a card, not for this PR.

N2 — nit (PR body only). The PR body says the keys landed in 「all 12 locales」, but ui/packages/i18n/src/locales/ holds 11 packs, and all 11 got all six keys. The changeset does not give a count.

② Semver level

  • Changeset .changeset/35878-list-toolbar-two-rows.md: patch on @object-ui/plugin-list, @object-ui/plugin-grid and @object-ui/i18n. Right:
    • These are exactly the published packages the diff moves. app-shell is private, and ui/e2e and docs/qa are not packages.
    • All three are in the fixed group.
    • Metadata-protocol: none takes patch, and so does a non-protocol widening (AGENTS.md, Post-Task Checklist step 3).
    • No major. The title has no !.
  • Clause-②: yes (widening) is right. The diff adds two optional props to an entry-reachable type and adds locale keys. It removes or renames nothing reachable from any exports entry.
  • The line sits at the start of a line in both the PR body and the changeset body, beside Metadata-protocol: none. Both agree with the claim amendment (card comment 7048068258), which replaced the claim's expected no.
  • The changeset text matches the diff: the two rows, the one sort chip with +N, the resident row, View settings with no More level and no Refresh, the fold order, and the two host props.

③ Boundary flags

Implemented-by: claude/project-thread-2ftzuo
Reviewed-by: session_01L6bhgUkbQqRUUFSiu2HGob

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

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, RecordOpenSection and its words gone after #35910. The declaration review at TIER_DEFAULT (owed by Clause-②: yes (widening)) PASSes on 7b4adb10 (this head), record 7058088095, with two nits: N2 is fixed in the body, and N1 (userActions.refresh leftovers in ListView.tsx, and what the key means in the default toolbar) is #36002. The record's escalation is answered: the Open records wording left in skills/objectstack-ui/rules/record-page.md and evals/record-page.json is #35870's (the governed follow-up of #35910), which names both files. L1-b merge-only delta ACCEPT 7058038753 on this head. check-governed-merges --pr 35918 reads NOT governed (2876 changed lines, under 3000). landing-k reads OK, K = 6, no new locale pack under a label PR, no shared book moved. On this head, 51 check-runs are success, 13 are skipped, and the one cancelled PR-body guards run was superseded by a green one; the body edit re-runs PR-body guards, and auto-merge waits for it. The seat readies this PR and arms auto-merge in the same step. The PR carries Fixes #35878.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants