Repository navigation
docs(spec): the compactToolbar describe and the userActions liveness note say which toolbar draws Refresh - #36872
Conversation
… say which toolbar draws Refresh The compactToolbar describe (and its form hint, pinned equal) now states the renderer default (compact unless false) and that the compact toolbar draws no Refresh, so userActions.refresh governs only the wide toolbar; pull-to-refresh is unaffected. The userActions liveness note gives the refresh sub-key its wide-toolbar scope and the current reader line. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB
…dle, add the changeset Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB
📓 Docs Drift CheckThis PR changes 2 package(s): 1 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
What this run could not see
Coarse fallback — 175 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 fe3fb6c5a44d6bf46024fd3d8a1864a8995b5553 && git checkout fe3fb6c5a44d6bf46024fd3d8a1864a8995b5553
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 76bff41f451d3fa3d475384d8483905f49f6607f ca02fd3f89afbb29c51208859b7183818b5e5314 && git checkout -B drift-repro 76bff41f451d3fa3d475384d8483905f49f6607f && git merge --no-ff ca02fd3f89afbb29c51208859b7183818b5e5314
node scripts/docs-audit/affected-docs.mjs --json 76bff41f451d3fa3d475384d8483905f49f6607f
|
|
repo:objectstack#3 · os-support-ai · session_01WGufziwMkZG34d69p8BHb4 Contract-review-claim: session_01WGufziwMkZG34d69p8BHb4 · head ca02fd3 · 2026-11-24T06:34Z |
|
repo:objectstack#3 · os-support-ai · session_01WGufziwMkZG34d69p8BHb4 席位核对 — ACCEPT · repo:objectstack#3 · head ca02fd3 · 2026-11-24T06:35ZL1: ACCEPT Checklist
FindingsMust-fix: none. Should-fix: none.
Landing notesThe area lands once this ACCEPT and a PASS contract-review record on this head are both in place. |
|
repo:objectstack#3 · os-support-ai · session_01WGufziwMkZG34d69p8BHb4 Contract reviewServed-tier: Inputs read: card #36353 with all five comments (triage 7076775316, unblock 7101079773, claim 7122783775, dev report 7123443977, claim amendment 7123463265), PR #36872 body, its 8-file list and the net diff against ① Derived judgments
② Semver levelClause-②: no. Correct: no accept set narrows or widens and no published type changes shape. The changeset is ③ Boundary flags
④ Design judgment
The new text also agrees with its sibling on Other readers of
No must-fix, no should-fix. Nits, none of which changes correctness or the contract on this head:
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-support-ai · session_01WGufziH9MVhWYLVCiw5eXB Landing · 2026-11-24T06:39Z · ACCEPT 7124101951 (L1-b) at head ca02fd3
State: ready + auto-merge (area ux-D, not governed, ≤3000 lines). |
…bjectstack-ai#36881) <!-- claude-projects-attribution: {"github_login":"os-support-ai"} --> _Requested by **Yibo Wang** · [project thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBDErTg6aA1Xze24mDcUfseY)_ Part of objectstack-ai#36860 This is part (a) of the card's two-PR split, which the seat chose when the whole change measured about 3,530 changed lines: the spec declaration, the serving, the header translation, the extractor support and the console precedence, proven end to end on `hook`. Part (b) follows from `main` once this merges and closes the card: the other 26 types, their 52 new header leaves in the 11 `metadata-forms` bundles, the 9 console declarations moved into spec and the duplicate `object` registration resolved. Clause-②: yes (widening) Metadata-protocol: added Skills-docs: none — the served `list` is Studio display data that only the spec registry declares; a metadata author cannot write it, and no skill under `skills/**` teaches Studio list columns (`skills/objectstack-ui/SKILL.md` names `entries[].schema` only, unchanged) ## 维护者速读 - 工作室里「钩子」列表的列改由平台规范统一声明,列头随界面语言显示,其他元数据列表暂时不变。 - 属于工作室元数据列表标准化:列定义从控制台代码搬进规范,命令行和 AI 客户端读同一份。 - 只有看钩子列表的管理员会看到列变化;出错时退回原来的默认列,合并后可直接撤回。 - 无。 ## What changes - **Spec (`@objectstack/spec`).** `MetadataListViewSchema` is a list layout bound to the type's own schema (`data: { provider: 'schema', schemaId }`) with `columns`. Each `MetadataListColumnSchema` is `ListColumnSchema` narrowed to `field` / `label` / `type`. `field` is a schema key or a dotted path into it, and `type` is a `MetadataListCellTypeSchema` renderer: `text`, `badge`, `boolean`, `count`, `list` or `summary`. `defineList({ schemaId, columns })` builds one and refuses anything else. `METADATA_LIST_REGISTRY` (`system`) sits beside `METADATA_FORM_REGISTRY` and declares `hook` here. `resolveMetadataListLabels` translates a list's headers through `metadataForms.<type>.fields.<field>.label`. - **Serve (`@objectstack/metadata-protocol`, `@objectstack/rest`).** `getMetaTypes()` serves the registry entry as `list` beside `form`, and `GetMetaTypesResponseSchema` declares it. `translateMetaTypesResponse` localizes the headers with the bundle and locale it already uses for `form`. A type with no entry carries no `list` key. - **i18n (`@objectstack/lint`).** `walkMetadataForms` emits the form field slot for each column path the type's form does not already label, with the header as the English source. `scripts/check-i18n-bundles.mjs` names the registry module as a bundle trigger. Every `hook` header reuses a form label, so no bundle changes. - **Console (`@object-ui/app-shell`).** `ResourceListPage` reads the served columns first (`servedListColumns.tsx`). If the type serves none, it uses the console's `listColumns`, then the default name / label / description. A served header is shown as served. A key the stored row omits shows the schema default at that path. `listCells` overrides a served column's cell and `listExtraColumns` appends server-stamped values that are not schema keys. `builtinComponents.tsx` and `anchors.ts` are not touched here; their 9 declarations move in part (b). ## Tests - `packages/spec/src/system/metadata-list-zod-reconciliation.test.ts`: every column resolves to a declared, writable, non-retired, non-overlay key of its type's schema. No column is duplicated, and each header equals the form field label or the humanized path. Each refusal has a "gate can fail" pin: an undeclared key, an `_` overlay key, a retired key, an undeclared nested key, and `defineList` refusing `currency`, an empty column list and `width`. - `packages/metadata-protocol/src/protocol.meta-types-list-layout-36860.test.ts`: every registry type is served with its own frozen layout. The control is a type with no entry, which carries no `list` key. - `packages/rest/src/meta-types-list-headers.test.ts`: zh-CN headers are translated through the form field slot, dotted path included, and only the header is rewritten. The controls are the en headers, a type serving no list, and no in-place mutation across requests. Ablation: replacing the translate call with `next.list = entry.list` reds the zh-CN case (1 failed, 2 passed), restored by `trap`. - `ui/.../servedListColumns.test.tsx` covers the renderers, path and default readers and the precedence helpers. `ui/.../ResourceListPage.servedListColumns-36860.test.tsx` mounts the page and checks served headers in order, each renderer, schema defaults for absent keys, a dotted path, the default list as control, a `listCells` override and a `listExtraColumns` column. ## Acceptance notes - First batch: this PR declares `hook` only, by the seat's split. The keys of all 27 types were checked against their schemas, and the dropped or corrected keys are in the card's thread. They land with part (b). - `GetMetaTypesResponseSchema` declares `list` but still not `schema` / `form` (pre-existing gap, not widened here). - The runtime dispatcher's `/metadata/types` path does not translate `form` today, and `list` follows it (pre-existing, unchanged). - No plugin registrar for list layouts, per the seat route (7122844515). - Overlap: `node scripts/pm/overlap-check.mjs` reads clean against `main` and the three open PRs sharing files (objectstack-ai#36872, objectstack-ai#36869, objectstack-ai#36857). ## Verification Read first, by risk: 1. `ui/packages/app-shell/src/views/metadata-admin/ResourceListPage.tsx`: the precedence expression and `localizeColumnLabel` skipping a served header. 2. `packages/lint/src/i18n-walk.ts`: the column step in `walkMetadataForms`. It decides which bundle leaves part (b) adds. 3. `packages/spec/src/ui/view.zod.ts`: the `pick`/`extend` narrowing behind `defineList`. Two-minute check: `pnpm --filter @objectstack/rest exec vitest run src/meta-types-list-headers.test.ts`. Expect 3 passed, with the zh-CN case reading `['名称', '事件', '最大重试次数']`. <details><summary>Gates on 597f70e</summary> - `node scripts/pm/dispatch-gates.mjs --ran`: 145 derived, 145 run, 0 NOT-MEASURED, 0 UNRUN. Two findings were fixed in this PR: `check:test-source-alias` (module-top `@objectstack/objectql` import in the new rest test) and `check:engine-double-contract` (ledger rewritten with `--write` for the new metadata-protocol test). Three gates first exited 3 on prerequisites and were re-run green: the plugin-teardown self-test after fetching its pinned fixture commit, and `check:skill-examples` and `check:dual-build-cjs-loads` after building the packages that had no dist. - `pnpm --filter @objectstack/spec check:generated`: all 14 artifacts up to date. `check:authorable-surface`, `check:llms-txt`, `check:spec-parsed-alias`, `check-i18n-bundles` (no bundle changes), `check:i18n`, `check:i18n-walk-parity`, `check-changeset-no-major`, `check-empty-changeset` and `check-changeset-fixed` pass. `check:i18n-coverage` passes after building `service-print`. - `check-governed-merges --branch HEAD`: not governed, 1,309 changed lines. - `tsc --noEmit` is clean for `@objectstack/metadata-protocol`, `@objectstack/rest` and `@objectstack/lint`. `@object-ui/app-shell` type-check was not measured locally because the ui workspace deps have no dist; the only error in the changed files is the shared unresolved `@object-ui/components` import. CI's type-check lane is the verdict. - Tests: spec `src/system` + `src/api/protocol` 2,941 passed; app-shell `metadata-admin` list and directory pages 221 passed (15 files); `@objectstack/lint` i18n 27; metadata-protocol meta-types 67; rest list headers 3 + schema titles 3. </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01WGufzg7mFFG5b13DcQ93kf <!-- signed: repo:objectstack#3 · os-support-ai · session_01WGufzg7mFFG5b13DcQ93kf --> --------- Co-authored-by: Claude <noreply@anthropic.com>
…tstack-ai#36883) <!-- claude-projects-attribution: {"github_login":"os-support-ai"} --> _Requested by **Yibo Wang** · [project thread](https://claude.ai/code/project/chan_01BVUyyPie8gHwoPM18iABwB?thread=cmsg_01BVUyyPie8gHwoPM18iABwBP9pYn3ZkhGT2R2hstwEY6w)_ Fixes objectstack-ai#36816 Clause-②: no Metadata-protocol: none repo:objectstack#3 · os-support-ai · session_01WGufzh1FMUQYf1PcEunaaK ## 维护者速读 - 在工作室打开仪表盘设置面板的搭建者,看到的九条字段提示(名称、显示名称、列数、间距、自动刷新、页眉、组件、日期范围、全局筛选)从开发术语改成了业务说法,英文、中文和其余八种语言同步更新。 - 属于"报表与仪表盘面板说业务话"这项体验工作,是已完成的报表面板改写的仪表盘姊妹篇,替用工作室搭仪表盘的业务管理员解决看不懂开发术语的问题。 - 只改了提示文字,不改任何可保存的设置;出错最多是某句提示读起来别扭,直接撤回即可。 - 无 ## What changes The dashboard authoring form (`packages/spec/src/ui/dashboard.form.ts`) supplies the hints the Studio dashboard settings panel draws. The route is the one the seat set for the report panel: English wording at the producer first, no `en` overlay, and no rename of a section title whose key is slugged from its label. Nine hints are rewritten in business terms, with no CSS units, casing jargon or "config". | Row | Before | After | |:---|:---|:---| | Name | snake_case unique identifier | A unique internal name for this dashboard: lowercase letters, numbers and underscores, starting with a letter (for example sales_overview). | | Label | Display name | The title people see for this dashboard. | | Columns | Grid columns (default 12) | How many columns the widgets are laid out on, from 1 to 24. Leave it empty and the dashboard picks a width that fits its widgets. | | Gap | Space between widgets, in steps of 0.25rem (4 = 1rem) | How much space to leave between widgets. Larger numbers spread them further apart; leave it empty for the standard spacing. | | Refresh Interval Seconds | Auto-refresh (seconds) | How often the dashboard reloads its data, in seconds. Leave it empty or enter 0 to turn automatic reloading off. | | Header | Dashboard header config (title, subtitle, actions) | What shows at the top of the dashboard: its title, its description and action buttons. | | Widgets | Dashboard widgets with position and sizing | The charts, numbers and tables on this dashboard, and where each one sits. | | Date Range | Default date range selector | The period the dashboard opens with, and whether viewers may pick their own dates. | | Global Filters | Filters applied to all widgets | Filters viewers can use to narrow every widget at once, or only the widgets you choose. | The Columns and Gap rows describe what the dashboard renderer really does with an empty value. An unset `columns` is inferred from the widgets' widths (4 or 12), not fixed at 12. An unset gap falls back to the standard 4. - **Translations.** `node scripts/check-i18n-bundles.mjs --write` rewrote the `en` leaves and kept every translated value (merge mode). The nine leaves were then re-translated by hand in all ten translated locales: zh-CN, zh-Hant, ja-JP, ko, es-ES, fr, de, pt-BR, ru and ar. This follows the repository's usual rule for changed source text (the last source-hint change, 9742142, re-translated every locale too). No `*.source-hashes.generated.ts` moved: these leaves had no provenance entry. - **Console zh-CN overlay** (`ui/packages/app-shell/src/views/metadata-admin/metadata-form-i18n.ts`, claim amendment 7124829549). The curated dashboard inspector renders Chinese from this overlay, not from the platform bundle. Its nine dashboard hints now carry the platform's new zh-CN wording; before, they still read "snake_case 唯一标识" and "栅格列数(默认 12)". The comment over the gap row is rewritten to match. - **The console's "Tailwind units" control** (`metadata-form-i18n.test.ts`) read the producer's English gap hint and asserted it still held developer units, so that its zh leg would mean something. It was built to go red once the spec spoke plainly. Its English leg is now a fixed literal (the pre-rewrite hint). It then holds both the producer's English and the zh overlay free of the vocabulary, and a new case sweeps every dashboard hint in both languages. The `columns` zh pin moved with its row. - **Pin.** `packages/spec/src/ui/dashboard-form-business-wording-36816.test.ts` names the nine rewritten rows. Each must declare a hint free of developer vocabulary, and a sweep holds every hint in the form to the same rule. A control proves the vocabulary test fires on the old hints. It pins the kind of text, not a sentence. Unchanged on purpose: section titles and descriptions; field and repeater-row labels (each row label must equal its schema `title`); the three header-child hints, which already read as a builder would say them; and the `DashboardSchema` `.describe()` prose, which is author documentation outside the panel. The widget panel (studio `engine.inspector.widget.*`) is out of scope. Left over (slugged section keys): none — no section title was renamed. **Contract review.** This PR moves non-test `packages/spec/src` text, so it owes an **L2 contract review** before landing. ## Tests <details><summary>spec, platform-objects and console readers: green at 5af304e</summary> - spec: `pnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 src/ui/ src/kernel/repeater-item-titles.test.ts src/system/i18n-resolver.test.ts`: Test Files 191 passed (191), Tests 7185 passed (7185). The new pin alone, verbose: 11 passed (11). - spec `typecheck` plus `check:generated`: exit 0, "All 14 generated artifacts are up to date" (measured at 2969e9a; the merge of main touched no spec file of this diff). - platform-objects: Test Files 125 passed (125), Tests 2126 passed (2126). - ui, from `ui/`: metadata-form-i18n, dashboard-schema, DashboardDefaultInspector*, p1-spec-alignment and `packages/app-shell/src/preview`: Test Files 56 passed (56), Tests 447 passed (447). Before the console change, the old control failed as predicted: 1 failed / 78 passed. - Ablation of the spec pin through `scripts/ablation-replace.mjs`, putting the old gap hint back (anchor x1 to x0): Tests 2 failed / 9 passed. Restored blob equals HEAD's. - Ablation of the console sweep, putting "snake_case 唯一标识" back into the overlay (anchor x1 to x0): Tests 1 failed / 22 passed. Restored blob equals HEAD's. - eslint on the two console files: exit 0. Every run above exited 0 under the verify lock, except the two ablation legs, which were meant to fail. </details> ## Acceptance notes - `ui/packages/plugin-dashboard/src/DashboardRenderer.tsx:409` reads `schema.gap || 4`. An authored gap of 0, which `DashboardSchema.gap` allows (`.min(0)`), would therefore render as 4 (1rem). This is read from the code, not measured through a public door. The new Gap hint deliberately does not promise that 0 means no space. - `DashboardSchema.columns` says "(default 12)", but the renderer infers 4 or 12 from the widgets' widths when columns is unset (`DashboardRenderer.tsx:391-406`). The new Columns hint describes the inferred behaviour; the describe prose is unchanged. - The old developer phrasing remains in the `DashboardSchema` `.describe()` prose (`dashboard.zod.ts` gap and header) and in its mirror in `packages/cli/src/commands/explain.ts:293`. That is author documentation, outside the panel and outside this card's surface. - Open PRs objectstack-ai#36879, objectstack-ai#36872 and objectstack-ai#36802 regenerate the same platform bundles. The files are `merge=os-regen`, so whichever lands second regenerates; `overlap-check` reports a clean merge with all three today. ## Verification First read, by risk: `packages/platform-objects/src/apps/translations/*.metadata-forms.generated.ts` (the ten hand-translated sets of nine leaves); `ui/packages/app-shell/src/views/metadata-admin/metadata-form-i18n.test.ts` (the reworked control and the new sweep); `packages/spec/src/ui/dashboard.form.ts` (the nine hints). Two-minute check: open a dashboard in Studio with the console in English and open its settings. The Layout rows should read "How many columns the widgets are laid out on…", "How much space to leave between widgets…" and "How often the dashboard reloads its data…". Switch to Chinese and the same rows read 组件排布所用的列数… / 组件之间留出的空间… / 仪表盘重新加载数据的频率(秒)…. --- _Generated by [Claude Code](https://claude.ai/code/session_01WGufzh1FMUQYf1PcEunaaK)_ <!-- signed: repo:objectstack#3 · os-support-ai · session_01WGufzh1FMUQYf1PcEunaaK --> --------- Co-authored-by: Claude <noreply@anthropic.com>
…uage (objectstack-ai#37523) <!-- claude-projects-attribution: {"github_login":"os-bill"} --> _Requested by **Bill** · [project thread](https://claude.ai/code/project/chan_016iMXWSZDzqWRWvWzdNo8wg?thread=cmsg_016iMXWSZDzqWRWvWzdNo8wgVAALzqi1uN3mNQFkgfPALM)_ Fixes objectstack-ai#36874 ## 维护者速读 - Studio 里「紧凑工具栏」的说明,十种语言和控制台中文现在和英文一致:补上了「紧凑工具栏没有刷新按钮,`userActions.refresh` 只管宽工具栏」这几句,弹出框用界面上的叫法「视图设置」。 - 顺手改了两处说错的文档(类型注释和列表插件 README 里的面板内容与刷新按钮),以及 liveness 账本里过时的行号。 - 只改文字,不改任何键或行为;出错只是提示措辞不对,可直接撤回。 - 无。 ## What changes - **Ten locale packs** (`packages/platform-objects/src/apps/translations/{ar,de,es-ES,fr,ja-JP,ko,pt-BR,ru,zh-CN,zh-Hant}.metadata-forms.generated.ts`, the `compactToolbar.helpText` leaf only): each now carries the whole English hint, not just its old first sentence. The popover is named with each locale's own label for the "View settings" button (`list.viewSettings` in `@object-ui/i18n`: 视图设置, 檢視設定, ビュー設定, 보기 설정, Ansichtseinstellungen, Paramètres de la vue, Ajustes de vista, Configurações da visualização, Настройки представления, إعدادات العرض). ko and es use the UI's own words for refresh (새로고침) and pull to refresh (Tirar para actualizar). - **Console zh-CN overlay** (`ui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts`, the `compactToolbar` entry): same text as the zh-CN pack. - **English source unchanged**: the scope comment asked for the UI's word for the popover. The UI shows "View settings" (`list.viewSettings` on the trigger, `ViewSettingsPopover.tsx:1256`; the phone sheet, `ListView.tsx:7791`; the title switcher) and nothing reads `list.display`, so the `view.zod.ts` describe and the `view.form.ts` helpText already use the UI's word and stay as on `main` (seat ruling in L1 7190902038). - **N1**: the `compactToolbar` jsdoc in `ui/packages/types/src/objectql.ts` and `ui/packages/plugin-list/README.md` describe the View settings popover as it is: the view's name, its columns, and Layout, Group, Row height and Row color where the host offers them, with Save (when wired), Restore defaults and Export in its footer. No Refresh, Row numbers or Edit inline there; Refresh is drawn only at `ListView.tsx:8171` behind `!compactToolbar`. - **Liveness**: the `userActions` note in `packages/spec/liveness/view.json` cites `ListView.tsx:2682-2736` for `toolbarFlags`, `:2717` for `showRefresh` and `:8171` for the button, measured at 54ea3c8. ## Why PR objectstack-ai#36872 reworded the English hint; the translations and the zh-CN overlay kept only its old first sentence, so non-English builders were told less than the English says. The scope comment on the card added the wording and line-number fixes. ## Verification - `pnpm check:i18n` EXIT=0; `pnpm check:i18n-stale-fill` EXIT=0; `pnpm check:i18n-walk-parity` EXIT=0. - `pnpm --filter @objectstack/spec check:generated` EXIT=0 (all artifacts current, incl. `check:liveness`, `check:docs`). Rework round 1 (head `f4ae8eda41`): same gates re-run, all EXIT=0. - `check:i18n-coverage` could not measure locally (exit 3: `examples/app-showcase` needs `@objectstack/service-print` built); left to CI. This PR adds no key. - `overlap-check --branch=HEAD`: clean against main and 6 open PRs. Clause-②: no Metadata-protocol: none ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. - [x] 2. Every name I added uses the casing for its kind. - [x] 3. No formatter ran; `pnpm lint` passes. - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. - [x] 6. `packages/spec` touched: its generated artifacts are regenerated and committed. - [x] 7. No hand edits to `content/docs/references/`, `packages/*/CHANGELOG.md` or `content/docs/releases/`. - [x] 8. Title, body and comments are in English. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Utp6CaA9KCLA988RAhFACC <!-- signed: repo:objectstack#5 · os-bill · session_01Utp6CaA9KCLA988RAhFACC --> --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Yibo Wang · project thread
Fixes #36353
Clause-②: no
Metadata-protocol: none
repo:objectstack#3 · os-support-ai · session_01WGufziH9MVhWYLVCiw5eXB
维护者速读
What changes
packages/spec/src/ui/view.zod.ts, thecompactToolbardescribe: the first sentence is kept and two are added. It now says the compact toolbar is on by default (omitted ortrue;falsedraws the wide toolbar, one button per control) and that the compact toolbar draws no Refresh button, souserActions.refreshgoverns only the wide toolbar; pull-to-refresh is unaffected by either key. The wording follows theuserActions.refreshdescribe that fix(plugin-list): Refresh alone no longer draws the Display entry in the default list toolbar #36339 landed ("Governs only the wide toolbar's Refresh button (compactToolbar: false): the default toolbar has no Refresh, so the toggle changes nothing there.").packages/spec/src/ui/view.form.ts: the view form'scompactToolbarhint mirrors the new describe. The hint == describe pin (src/ui/view-form-composite-children.test.ts, "top-level rows that gained a hint carry their schema description") requires it.packages/spec/liveness/view.json, theuserActionsnote: theuserActions.refreshsentence now says it drives only the wide toolbar's Refresh button and names the reader by line:showRefreshatui/packages/plugin-list/src/ListView.tsx:2710, the button at:8125behind!compactToolbar, measured at5c2e34cdb. The verdict stayslive.content/docs/references/{ui/view,data/object,api/protocol}.mdx(check:generated --fix, which found onlycheck:docsstale) andpackages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts(node scripts/check-i18n-bundles.mjs --write --filter=platform-objects; translated locales keep their wording)..changeset/36353-compact-toolbar-refresh-describe.md: patch for@objectstack/specand@objectstack/platform-objects.Description text only.
compactToolbarstaysz.boolean().optional()anduserActions.refreshis not touched, so no key, type, default or optionality changes and the accept set is the same.What the new sentences rest on, read on
origin/main5c2e34cdb(ui/packages/plugin-list/src/ListView.tsx):compactToolbar: schema.compactToolbar !== false(:2718). The plugin-list registry input already says "On by default;falsedraws one toolbar button per control" (ui/packages/plugin-list/src/index.tsx:236).toolbarFlags.showRefresh && !toolbarFlags.compactToolbar(:8125,data-testid="refresh-button").ViewSettingsPopovergets no refresh prop (theviewSettingsElementat:7548), andcomponents/ViewSettingsPopover.tsxhas norefreshhit at all.usePullToRefresh({ onRefresh: handlePullRefresh, enabled: !!dataSource && !!schema.objectName })(:3680), attached unconditionally to the list root (ref={pullRef},:7637). It reads neithercompactToolbarnoruserActions.refresh.Prior rulings:
check-prior-rulings --pathsover both files lists 146 hit lines. The ones near the edited lines (view.zod.ts:3710ruling 6095014058 letter A onsharing,:3733#15184 ruling B on composition order,:1935/:1946thehideFields/editInlinedefaults; view.json:236,:250,:254) are about other keys, and none governscompactToolbaror the refresh scope. No ADR namescompactToolbar. The scope sentence restates what #36339's describe already says (contract review record 7076152814, N2 and N3), and no ruling is reversed.Read first, by risk:
packages/spec/src/ui/view.zod.ts, thecompactToolbarline: this is the published schema text, and the contract review reads it.packages/spec/liveness/view.json, theuserActionsnote: the line numbers it cites.Tests
Final head:
ca02fd3f8. Every local reading below was taken against that head's tree.Local readings (builds and tests under scripts/pm/os-verify-lock.sh)
pnpm --filter @objectstack/spec build: VERDICT command-exit 0.pnpm --filter @objectstack/spec check:generated --fix: rebuilt the package first, and regenerated onlycheck:docs(content/docs/references/**), the one artifact it found stale. A re-run ofcheck:generatedthen exited 0.pnpm --filter @objectstack/spec test: Test Files 885 passed (885), Tests 28146 passed, 1 todo (28147), exit 0.pnpm --filter @objectstack/spec typecheck: exit 0.pnpm --filter @objectstack/platform-objects test: Test Files 125 passed (125), Tests 2126 passed (2126), exit 0.typecheck: exit 0.src/ui/view-form-composite-children.test.ts: Test Files 1 passed (1), Tests 20 passed (20), VERDICT command-exit 0. Withview-form-pagination.test.tsandview.test.ts: 3 files, 573 tests passed.node scripts/check-i18n-bundles.mjs: before the regeneration, "platform-objects: 1 bundle(s) drifted from the schema". After--write --filter=platform-objects: "OK (10 package(s), all bundles in sync)". This ran after the build of the@objectstack/cli+@objectstack/platform-objectsclosure (VERDICT command-exit 0).No ablation and no reverse verification: the diff changes description text, a ledger note and generated output, and no tested behaviour.
Acceptance notes
ListView.tsxonmain; form hint, regenerated docs and the hint == describe pin in step): done; see the three readings above. The pin passes.:2710reader,:8125button).ListView.tsx:374 toolbarFlags, an older objectui line, for the wholeuserActionsrow. Only the refresh sentence is in this card's scope. Today the memo is atui/packages/plugin-list/src/ListView.tsx:2700-2729.compactToolbarhints (andui/packages/app-shell/src/views/metadata-admin/metadata-form-zh-cn.ts:440) carry only the first sentence. They are still true, just less precise than English. Translating them is a translator's edit, as with fix(plugin-list): Refresh alone no longer draws the Display entry in the default list toolbar #36339'srefreshhint.node scripts/pm/overlap-check.mjsreports a textual conflict with feat(spec)!: retire the boolean arm of a relationship field's inlineEdit, which read as absent once a parent field group decides the placement #36802 in the generatedcontent/docs/references/data/object.mdxonly. That file is routedmerge=os-regen(.gitattributes:159), so whichever PR lands second regenerates it withcheck:generated --fix. It merges cleanly againstorigin/main, feat(kanban): a lane's sum, avg, min and max cover every record of the lane, computed in the query #36857 (which sharesview.zod.ts) and feat(i18n): a design-mode menu rename outside the source language is stored as that language's translation #36858.Verification
Two-minute check:
pnpm --filter @objectstack/spec exec vitest run src/ui/view-form-composite-children.test.tsshows 20 passed.grep -n "compactToolbar: z" packages/spec/src/ui/view.zod.tsshows the new describe afterz.boolean().optional().Gates
node scripts/pm/dispatch-gates.mjs --commandson the final diff named 112 commands, and all of them ran locally. The--ranreconciliation reads "112 derived famil(ies) accounted for, 112 run, 0 NOT-MEASURED".node scripts/check-plugin-teardown-shape.mjs --self-test, because the shallow clone cannot reach its pinned fixture commit;pnpm check:dual-build-cjs-loads, because the whole-tree dist is absent;pnpm --filter @objectstack/spec run check:skill-examples, because some workspace dists are absent.pnpm check:platform-checklist, "ABSENT SYMBOLpackages/metadata-core/src/anonymous-form-intake.ts#anonymousFormExplicitWithdrawals" indocs/qa/platform-checklist/areas/access-security.json. This diff touches neither file. The symbol is absent from that source at the base5c2e34cdband at the currentorigin/maind9c799c10, so it is red independently of this PR, and it is reported to the seat.pnpm --filter @objectstack/spec check:generated: exit 0.node scripts/check-i18n-bundles.mjs: exit 0.node scripts/pm/overlap-check.mjs: see Acceptance notes.node scripts/check-dev-prereqs.mjs(a local-only family): exit 1, "the workspace is not built" (44 of 108 package dists absent in this container). This describes the machine and says nothing about the diff.node scripts/pm/dispatch-gates.mjs --tier: no path-derived mandate.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01WGufziH9MVhWYLVCiw5eXB