Repository navigation
fix(plugin-list): Refresh alone no longer draws the Display entry in the default list toolbar - #36339
Conversation
…the default toolbar The default (Display) toolbar has no Refresh, so userActions.refresh is dropped from displayOffered; the Refresh comment and the spec describe say the key governs only the wide toolbar's Refresh. Claude-Session: https://claude.ai/code/session_01FEkQ5oY5WCqqqBMtn9qt7m Co-authored-by: Claude <noreply@anthropic.com>
…cribe; add the changeset Claude-Session: https://claude.ai/code/session_01FEkQ5oY5WCqqqBMtn9qt7m Co-authored-by: Claude <noreply@anthropic.com>
…escribe Claude-Session: https://claude.ai/code/session_01FEkQ5oY5WCqqqBMtn9qt7m Co-authored-by: Claude <noreply@anthropic.com>
… for the refresh hint Claude-Session: https://claude.ai/code/session_01FEkQ5oY5WCqqqBMtn9qt7m Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift Check1 anchor(s) derived from 2 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 174 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin b5cd3a0bd1ac6dad896ab6813122bb124de67c24 && git checkout b5cd3a0bd1ac6dad896ab6813122bb124de67c24
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 3f7fdd002130a34ce24f735733c2642538914af9 75244b315e1d79c1455fbd2d343e00be5fbcbf8b && git checkout -B drift-repro 3f7fdd002130a34ce24f735733c2642538914af9 && git merge --no-ff 75244b315e1d79c1455fbd2d343e00be5fbcbf8b
node scripts/docs-audit/affected-docs.mjs --json 3f7fdd002130a34ce24f735733c2642538914af9 |
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC Contract-review-claim: session_01QsR2jTeURPvEm465RcoYEC · head 75244b3 · 2026-11-22T07:46Z |
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jS7jCv5PH4ytECQWqf L1 ACCEPT · head 维护者速读
席位核对
|
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC Contract reviewServed-tier: Read for this record: card #36002 (body and all seven comments: triage, both claims and the amended claim, both dev reports, the handover), PR #36339 (body, 8-file list, net diff against merge-base ① Derived judgments
② Semver levelThe changeset names
③ Boundary flags
④ Design judgment
No must-fix, no should-fix. Nits:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC Landing (seat 7, 2026-11-22T07:51Z): head |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 45000194636 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
Requested by Leehom · project thread
Fixes #36002
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
ui/packages/plugin-list/src/ListView.tsx:displayOfferedno longer ORstoolbarFlags.showRefresh. The default (Display) toolbar has no Refresh since the two-row toolbar landed, neither on the bar nor in the panel (viewSettingsElementis handed no refresh prop), so the key was the only reason a non-grid view with every other Display control off drew a Display entry that opened onto just the footer. The stale Refresh comment ("in the Display form it sits in the panel's footer") now says Refresh is wide-form only.packages/spec/src/ui/view.zod.ts: theuserActions.refreshdescribe says the toggle governs only the wide toolbar's Refresh (compactToolbar: false) and changes nothing in the default toolbar. Description text only: key, type and default unchanged; no retirement (card item 2, first branch, per the claim).packages/spec/src/ui/view.form.ts: the form hint foruserActions.refreshmirrors the new describe. Required, not chosen:src/ui/view-form-composite-children.test.tspins everyuserActionshint equal to the schema description it replaces, and went red without it.content/docs/references/ui/{view,page}.mdx(check:generated --fix, which named onlycheck:docsstale) andpackages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts(node scripts/check-i18n-bundles.mjs --write --filter=platform-objects; the other ten locales keep their hand-written translations, no source-hash entries exist for this leaf).ListView.refreshOnlyDisplay-36002in the sharedListView.harness.test.tsx(the harness rule: a ListView pin that needs novi.mockjoins that file). A kanban view with Group, Row height and Hide fields off andrefreshat its default draws notoolbar-display-trigger; CONTROLS:compactToolbar: falsestill drawsrefresh-button, and the same view with Row height on draws the Display entry..changeset/36002-refresh-display-panel.md: patch for@object-ui/plugin-list,@objectstack/spec,@objectstack/platform-objects.Read first, by risk:
ui/packages/plugin-list/src/ListView.tsx, thedisplayOfferedhunk: the one behaviour change.packages/spec/src/ui/view.zod.ts, therefreshdescribe: a published-schema text face (contract review on record before landing).ui/packages/plugin-list/src/__tests__/ListView.harness.test.tsx, the new block at the end.Tests
Final head:
75244b315e1d79c1455fbd2d343e00be5fbcbf8b(declared by the resuming thread; no commit added after the handover).75244b31: all 70 check-runs completed, eachsuccessorskipped(Test Core 10/10 shards, Test UI 16/16 shards, Type Check UI, Lint UI, Build & E2E UI, Live E2E UI, Lint & Repo Gates, TypeScript Type Check, Check Changeset, Spec property liveness, Governed Surface Queue Guard, PR-body guards).Local readings (all under scripts/pm/os-verify-lock.sh)
75244b31, after building the@objectstack/platform-objects...and@object-ui/plugin-list^...closures (VERDICT command-exit 0):pnpm --filter @objectstack/spec testTest Files 869 passed (869), Tests 27877 passed, 1 todo (27878);pnpm --filter @objectstack/platform-objects testTest Files 125 passed (125), Tests 2126 passed (2126); harness fileListView.harness.test.tsxTest Files 1 passed (1), Tests 127 passed (127). Each VERDICT command-exit 0.ListView.harness.test.tsx: Test Files 1 passed (1), Tests 127 passed (127) at fa1bd43 (the fix commit).pnpm --filter @object-ui/plugin-list test: Test Files 183 passed (183), Tests 1998 passed (1998) at d6ea716 (later commits touch noui/file).pnpm --filter @object-ui/plugin-list type-check: exit 0 at d6ea716.pnpm --filter @objectstack/spec typecheck: exit 0 at d6ea716.pnpm --filter @objectstack/spec testat d6ea716: 1 failed (view-form-composite-children.test.ts, the hint pin), fixed by e680c59; that file then 20 passed (20).pnpm --dir ui exec vitest run scripts/: 172 passed, 2 skipped (174 files) at d6ea716.Ablation (one-shot, not kept)
Committed fix first, then
node scripts/ablation-replace.mjsput|| toolbarFlags.showRefreshback intodisplayOffered(anchor x1 -> x0, blob d73fea0c8c70 -> bdd2b94ef1ae). With-t refreshOnlyDisplay-36002: the pin went red (the default toolbar draws no Display entry when Refresh was its only optionfailed), both CONTROLS stayed green; 1 failed / 2 passed. Restore: blob == HEAD (d73fea0c8c70),git diff HEADempty; re-run 3 passed. The test imports../ListView(source), so no dist rebuild was in the path.Acceptance notes
currentView === 'grid', its columns).userActions.refreshgoverns the default toolbar: zero hits inskills/**,content/docs/**(outsidereferences/andreleases/) andui/**/*.md; control termuserActions.editInlinehitscontent/docs/frontend/plugins/plugin-view.mdx. No stale text to name.userActions.refreshform hint still carry only the first sentence (still true, now less precise than English). Translation is a translator's edit, outside this card.compactToolbar("Collapse Group/Color/Density/Hide-fields into a single View settings popover") does not say that collapsing is the renderer default (schema.compactToolbar !== false) nor that Refresh is dropped; observation only.packages/spec/src/ui/view.form.tsand the regenerateden.metadata-forms.generated.ts, both forced by the hint pin above; the seat amends the claim.node scripts/pm/overlap-check.mjsre-run at75244b31: VERDICT clean againstorigin/mainb3bcfef and feat(console): Change Owner on the record page, the list selection bar and the edit form (#35403) #36343 (sharesListView.tsx), merges cleanly. Earlier run: clean against fix(list): "Add group field" asks which field, and offers only fields that can group (#36204) #36223 (since merged).Verification
Two-minute check:
cd ui && pnpm exec vitest run packages/plugin-list/src/__tests__/ListView.harness.test.tsx -t refreshOnlyDisplay-36002shows 3 passed. In the Console, a kanban list view withuserActions: { group: false, rowHeight: false, hideFields: false }shows no Display button beside the view name; setcompactToolbar: falseand the Refresh button appears on the bar.Gates
node scripts/pm/dispatch-gates.mjs --commandson the final diff: 119 commands; all run locally;--ranreconciliation "119 derived famil(ies) accounted for — 119 run, 0 NOT-MEASURED".node scripts/check-plugin-teardown-shape.mjs --self-test(shallow clone cannot reach its pinned fixture commit),pnpm check:dual-build-cjs-loads(whole-tree dist absent),pnpm check:type-check-debt(re-measure needs the whole build),pnpm --filter @objectstack/spec run check:skill-examples(client-react dist absent).pnpm --filter @objectstack/spec check:generated: all 14 generated artifacts up to date;node scripts/check-i18n-bundles.mjs: OK, all bundles in sync.node scripts/pm/dispatch-gates.mjs --tierre-derived at75244b31by the resuming thread: no path-derived mandate (default tier).🤖 Generated with Claude Code