Skip to content

Commit 3fbcce2

Browse files
docs(qa): modalSize leaves the view.form failing row; @object-ui/types taxonomy lists it as a tombstone (#38632)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9JeHmqv6CKCkW8ewrPBLekk)_ Fixes #38191 Clause-②: no Metadata-protocol: none ## 维护者速读 - 用户无感:只改内部测试清单的文字和一个类型包的说明注释,界面与行为都不变。 - 为什么做:表单视图的「弹窗尺寸」键已在上一轮退役,清单和注释还把它当作现役键,本次跟上。 - 出错会怎样:最坏是测试员按旧文字打分时多记或少记一行,纯文字改动,可直接撤回。 - 要你做什么:无。 ## What changes - `docs/qa/platform-checklist/areas/studio-authoring.json`, item `studio-authoring.no-entry-property-matrix`: the `view.form` row and `fixtures.knownGaps[0]` no longer list `modalSize` as a stored-and-inert failing row. PR #38168 retired it, so the row now records `modalSize → refused at parse (retired in @objectstack/spec 19.0.0, ADR-0049: no form view opens in a dialog)`, the convention `drawerSide` / `drawerWidth` already follow, and `knownGaps[0]` records why it left the matrix (its `retiredKey` tombstone in `packages/spec/src/ui/view.zod.ts`, the `form-view-modal-size-removed` conversion). `subforms` stays a failing row. `revision` 11 to 12, with history entry 12 appended; history entries 6 and 11 are untouched. - `ui/packages/types/src/objectql.ts`: the `ObjectFormSchema` key-taxonomy comment moves `modalSize` from the spec-aligned bullet to the ObjectUI-extension bullet, beside `drawerSide` / `drawerWidth` (tombstones on the spec form view, the React `ObjectForm` block's own props). The `ObjectForm` prop and the key union entry are untouched. No type changes. - `.changeset/38191-form-view-taxonomy-modal-size.md`: `@object-ui/types` patch. The comment is JSDoc on an exported interface and ships in the package: after a build, `dist/objectql.d.ts` carries the new bullet text. Read first, by risk: 1. `studio-authoring.json`, the `view.form` row string: the `subforms` clause was narrowed from the joint `subforms and modalSize` clause; check its acceptance scoring sentence still reads right on its own. 2. `studio-authoring.json`, `fixtures.knownGaps[0]`: the new "Out of the matrix since PR #38168" sentence. 3. `objectql.ts`, the taxonomy comment above `ObjectFormSchema`. ## Tests <details><summary>Local readings at a723679</summary> - `node scripts/check-platform-checklist.mjs --changed-from origin/main`: exit 0 ("0 anchored files in the change set — nothing judged"). - `pnpm check:platform-checklist` (full gate, revision equals last history entry): exit 0. - `@object-ui/types`: `pnpm --filter @object-ui/types build` (tsc, vite, dist completeness) exit 0 ("dist completeness: 1 package(s) complete"); the package has no `typecheck` script, `Type Check UI` is CI's. `pnpm --dir ui exec vitest run packages/types/`: Test Files 390 passed (390), Tests 10526 passed (10526). - Derived gate list (`dispatch-gates.mjs --commands`, 40 commands) plus `check:changeset-fixed`: every command exit 0 locally (`check:doc-formula-expressions` first exited 3, its prerequisite build missing, and exited 0 after building `@objectstack/formula` and `@objectstack/lint`); `pnpm --dir ui exec vitest run scripts/` reported 1 failing file, `unit-registry-absence-collision.test.ts`, failing on "Failed to resolve entry for package @objectstack/client" because that package's dist is not built in this fresh worktree (the diff touches no import). Left to CI's Test UI. </details> ## Acceptance notes - No ablation: the diff is checklist text, a source comment and a changeset; no tested behaviour changes. - Neither edited file names `modalSize` as a live form-view key. The remaining mentions are history entries 6 and 11 (append-only), new history entry 12, and the React block's own `modalSize` prop and key-union entry in `objectql.ts`, which stay. ## Verification Two-minute check: `git grep -n modalSize -- docs/qa/platform-checklist/areas/studio-authoring.json`. Expected: in the `view.form` row and `knownGaps[0]` it appears only as refused at parse or out of the matrix, and otherwise only in history entries. --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmSwS4mQyXWrddL4r6B)_ <!-- signed: repo:objectstack#3 · os-steve · session_01ADHkmSwS4mQyXWrddL4r6B --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent e15a732 commit 3fbcce2

3 files changed

Lines changed: 22 additions & 6 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@object-ui/types': patch
3+
---
4+
5+
docs(types): the `ObjectFormSchema` key taxonomy lists `modalSize` as a tombstone on the spec form view
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
The key taxonomy in the `ObjectFormSchema` doc comment, which ships in the package's `.d.ts`, listed `modalSize` among the keys that share a name and meaning with the spec `FormViewSchema`. `@objectstack/spec` 19.0.0 retires `modalSize` from the form view (ADR-0049), so the comment now lists it under the ObjectUI extensions, beside `drawerSide` and `drawerWidth`: a tombstone on the spec form view that the React `ObjectForm` block keeps as its own prop. No type changes.

‎docs/qa/platform-checklist/areas/studio-authoring.json‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4479,7 +4479,7 @@
44794479
"title": "Authorable keys Studio has no control for still work when another door writes them: per metadata type, each key written into a package draft through the metadata API is stored, served after publish and takes its runtime effect",
44804480
"since": "v18",
44814481
"status": "active",
4482-
"revision": 11,
4482+
"revision": 12,
44834483
"priority": "P2",
44844484
"surface": "mixed",
44854485
"personas": [
@@ -4495,7 +4495,7 @@
44954495
"the showcase's external datasource showcase_external (examples/app-showcase/src/system/datasources/showcase-external.datasource.ts) for the datasource / external rows"
44964496
],
44974497
"knownGaps": [
4498-
"ROWS THAT FAIL TODAY (QA run #26715, at 3fcafcd3) — score each fail citing its record: the form-view keys subforms and modalSize, which no surface reads from a form view since #36425 (PR #36543; a source read at base 5dbcc02b, no run yet: the named-form page FormPage.tsx names neither key, recordFormSubforms in ui/packages/app-shell/src/utils/recordFormNavigation.ts takes child collections from the object alone, and modalSize's liveness re-audit is #36544). The form-view key defaults left this list with the same change: the record form, where it did not apply, no longer loads a form view, and the named-form page applies it on a create. Out of the matrix since QA run #29672 (at 3482f3d8d2, re-read at 339f63da30): drawerSide and drawerWidth are refused at parse, so they are no longer a stored-and-inert row (their retiredKey tombstones in packages/spec/src/ui/view.zod.ts, and form-view-drawer-keys-removed in packages/spec/src/conversions/registry.ts); layout, defaultTab and tabPosition have a Studio control, since the form-view inspector renders the form variant's spec schema through SchemaForm (ui/packages/app-shell/src/views/metadata-admin/inspectors/ViewVariantInspector.tsx), so step 4 moves them out. layout:'horizontal' not drawn on the Studio canvas was #29676, fixed by #29759 (7ba8b11f52). Fixed since the run, so no longer fails: a list view locked by sharing.lockedBy alone, which now shows its lock indicator (#29312, merged 2026-11-02); field deleteBehavior 'restrict' under a master_detail parent (#26718; since out of the matrix: the field inspector offers a deleteBehavior control on lookup, user and master_detail fields, offeredDeleteBehaviors in ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.tsx, so step 4 moved it out, QA run #33861), an object bound to an unknown datasource (#26912), a chart list view on another object's dataset (#26719). Measured rendering by QA run #27441 at c4c515ad, so no longer a failing row: the form-view `buttons` key (the authored submit label shown, cancel hidden; ObjectForm folds buttons.submit and buttons.cancel onto its flat renderer props, ui/packages/plugin-form/src/ObjectForm.tsx)",
4498+
"ROWS THAT FAIL TODAY (QA run #26715, at 3fcafcd3) — score each fail citing its record: the form-view key subforms, which no surface reads from a form view since #36425 (PR #36543; a source read at base 5dbcc02b, no run yet: the named-form page FormPage.tsx does not name it, and recordFormSubforms in ui/packages/app-shell/src/utils/recordFormNavigation.ts takes child collections from the object alone). Out of the matrix since PR #38168 (a source read at base eec2bc3e, no run yet): modalSize is refused at parse, retired in @objectstack/spec 19.0.0 (its retiredKey tombstone in packages/spec/src/ui/view.zod.ts, and form-view-modal-size-removed in packages/spec/src/conversions/registry.ts), so it is no longer a stored-and-inert row. The form-view key defaults left this list with the same change: the record form, where it did not apply, no longer loads a form view, and the named-form page applies it on a create. Out of the matrix since QA run #29672 (at 3482f3d8d2, re-read at 339f63da30): drawerSide and drawerWidth are refused at parse, so they are no longer a stored-and-inert row (their retiredKey tombstones in packages/spec/src/ui/view.zod.ts, and form-view-drawer-keys-removed in packages/spec/src/conversions/registry.ts); layout, defaultTab and tabPosition have a Studio control, since the form-view inspector renders the form variant's spec schema through SchemaForm (ui/packages/app-shell/src/views/metadata-admin/inspectors/ViewVariantInspector.tsx), so step 4 moves them out. layout:'horizontal' not drawn on the Studio canvas was #29676, fixed by #29759 (7ba8b11f52). Fixed since the run, so no longer fails: a list view locked by sharing.lockedBy alone, which now shows its lock indicator (#29312, merged 2026-11-02); field deleteBehavior 'restrict' under a master_detail parent (#26718; since out of the matrix: the field inspector offers a deleteBehavior control on lookup, user and master_detail fields, offeredDeleteBehaviors in ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector.tsx, so step 4 moved it out, QA run #33861), an object bound to an unknown datasource (#26912), a chart list view on another object's dataset (#26719). Measured rendering by QA run #27441 at c4c515ad, so no longer a failing row: the form-view `buttons` key (the authored submit label shown, cancel hidden; ObjectForm folds buttons.submit and buttons.cancel onto its flat renderer props, ui/packages/plugin-form/src/ObjectForm.tsx)",
44994499
"NOT JUDGEABLE HERE: mailAssociation (needs a mailbox with inbound ingest), ackPlaintextMasking (its only reader is a build-time warning), lifecycle.ttl (the sweep is hourly — drive it only with time to wait for the next sweep), dimensions (inconclusive at 3fcafcd3). Record them not-run with this line cited",
45004500
"app / menu-entry keys are studio-authoring.app-and-nav-properties, page slots and variables studio-authoring.authored-page-slots-and-variables, the widget types studio-authoring.dashboard-widget-and-filter-types — not repeated here",
45014501
"one runner's budget does not reach the matrix: QA run #31486 (owed:weekly, at 0647dabb) drove 9 rows (managedBy, ownership, systemFields, autonumber format, storage notNull, internal, maskingRule, flow successMessage, flow requiredPermissions) and reached no other, so acceptance[0]–[2] scored partial. The item needs a runner of its own, or a split of the matrix into items; the split is owed and not made here"
@@ -4563,7 +4563,7 @@
45634563
"flow.errorHandling { strategy, maxRetries } → maxRetries 2 yields three failed attempts, each its own failed run in GET /api/v1/automation/NAME/runs (retryExecution in packages/services/service-automation/src/engine.ts starts each attempt as a new run), not three attempts inside one run",
45644564
"flow.nodes[].inputSchema → stored and served",
45654565
"view.list: searchableFields, userFilters, resizable, compactToolbar, selection, pagination, rowHeight, grouping, rowColor, hiddenFields, fieldOrder, rowActions, bulkActions, conditionalFormatting, inlineEdit, exportOptions (needs an export grant), appearance, addRecord, showRecordCount, allowPrinting, emptyState → each renders as its key describes; probe compactToolbar, showRecordCount and resizable at the value opposite to what the list does with the key unset, since at that default a stored key renders exactly like no key and proves nothing (gap-view card, 3fcafcd3)",
4566-
"view.form (read on the named-form page: publish the scratch form view and open /forms/NAME, adding ?recordId=ID for an edit; since #36425 the record create and edit surfaces load no form view, so nothing drawn there is this row's observable): submitBehavior, allowSkip, showStepIndicator, buttons → render as described (ui/apps/console/src/components/FormPage.tsx reads each; buttons measured rendering, knownGaps[0]); defaults → prefills a create and never an edit (FormPage.tsx readPrefill); groups → the legacy alias of sections, folded onto `sections` at parse (packages/spec/src/ui/view.zod.ts#FormViewSchema), so the draft read carries the sections, which counts as written, and the page draws them; subforms and modalSize → stored and served, with no reader on a form view since #36425: the named-form page reads neither, and the record form takes its child collections from the object's field groups and sizes its own dialog, so each is a FAIL of acceptance[1] and [2] scored against knownGaps[0] (modalSize's ledger re-audit is #36544), never a tick on the stored value; splitDirection / splitSize / splitResizable → refused at parse (retired in @objectstack/spec 18.3.0 with the split form, ADR-0050); drawerSide / drawerWidth → refused at parse (retired in @objectstack/spec 18.3.0, ADR-0049: no form view opens in a drawer). layout, defaultTab and tabPosition are not rows: Studio offers a control for each (step 4, knownGaps[0])",
4566+
"view.form (read on the named-form page: publish the scratch form view and open /forms/NAME, adding ?recordId=ID for an edit; since #36425 the record create and edit surfaces load no form view, so nothing drawn there is this row's observable): submitBehavior, allowSkip, showStepIndicator, buttons → render as described (ui/apps/console/src/components/FormPage.tsx reads each; buttons measured rendering, knownGaps[0]); defaults → prefills a create and never an edit (FormPage.tsx readPrefill); groups → the legacy alias of sections, folded onto `sections` at parse (packages/spec/src/ui/view.zod.ts#FormViewSchema), so the draft read carries the sections, which counts as written, and the page draws them; subforms → stored and served, with no reader on a form view since #36425: the named-form page does not read it, and the record form takes its child collections from the object's field groups, so it is a FAIL of acceptance[1] and [2] scored against knownGaps[0], never a tick on the stored value; splitDirection / splitSize / splitResizable → refused at parse (retired in @objectstack/spec 18.3.0 with the split form, ADR-0050); drawerSide / drawerWidth → refused at parse (retired in @objectstack/spec 18.3.0, ADR-0049: no form view opens in a drawer); modalSize → refused at parse (retired in @objectstack/spec 19.0.0, ADR-0049: no form view opens in a dialog). layout, defaultTab and tabPosition are not rows: Studio offers a control for each (step 4, knownGaps[0])",
45674567
"dashboard.requiredPermissions → a viewer without the capability is refused the dashboard. Its steps[0] stored-check runs as a holder of the capability: an admin who does not hold it is refused the draft and the live read alike (403)",
45684568
"dataset (Studio's New dataset, ui/packages/app-shell/src/views/studio-design/datasetCreate.tsx DatasetCreateEntry, writes only a name, an object, the seed's count measure, group-by dimensions and sum measures, so it offers no control for the keys below): include, dimensions with nullLabel, measures count / sum / avg / filtered / ratio, currency format → a report bound to it shows the null bucket labelled and each measure's value",
45694569
"permission.description / isDefault / allowExport / rowLevelSecurity[].positions → the Setup list shows the description; isDefault raises a suggestion; allowExport → export 200 with it, 403 EXPORT_NOT_PERMITTED without; positions limit the policy to holders of the position"
@@ -4637,6 +4637,12 @@
46374637
"date": "2026-11-26",
46384638
"change": "the view.form row is re-audited after #36425 (PR #36543) and its STALE marker of PR #36793 removed. Its observable is the named-form page (/forms/NAME), the one console surface that still loads a form view: submitBehavior, allowSkip, showStepIndicator, buttons and defaults are read there, groups is folded onto sections at parse, and subforms and modalSize have no form-view reader left, so they move into fixtures.knownGaps[0] as failing rows and defaults moves out of it. A source read, not a run: FormPage.tsx, recordFormNavigation.ts, MetadataProvider.tsx, view.zod.ts and packages/spec/liveness/view.json, at base 5dbcc02b. The clauses are unchanged",
46394639
"ref": "#36798"
4640+
},
4641+
{
4642+
"revision": 12,
4643+
"date": "2026-11-29",
4644+
"change": "the view.form row and fixtures.knownGaps[0] no longer name modalSize as a failing row: PR #38168 retired it, so it is refused at parse (retired in @objectstack/spec 19.0.0, ADR-0049; its retiredKey tombstone in packages/spec/src/ui/view.zod.ts, and form-view-modal-size-removed in packages/spec/src/conversions/registry.ts), the convention drawerSide and drawerWidth already follow. subforms stays a failing row. A source read at base eec2bc3e, no run yet",
4645+
"ref": "#38191"
46404646
}
46414647
]
46424648
},

‎ui/packages/types/src/objectql.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,11 +1786,11 @@ export type SubmitBehavior =
17861786
* - **[spec-aligned]** — same name & semantics as `@objectstack/spec`
17871787
* `FormViewSchema` (`title`, `description`, `layout`, `columns`, `sections`,
17881788
* `defaultTab`, `tabPosition`, `allowSkip`, `showStepIndicator`,
1789-
* `modalSize`, `subforms`, `submitBehavior`; `formType` ↔ spec `type`).
1789+
* `subforms`, `submitBehavior`; `formType` ↔ spec `type`).
17901790
* - **[ObjectUI extension]** — serializable renderer extras with no spec
17911791
* backing yet (button visibility/labels, `className`, `initialValues`,
1792-
* `drawerSide`/`drawerWidth` — tombstones on the spec form view, the React
1793-
* `ObjectForm` block's own props,
1792+
* `drawerSide`/`drawerWidth`/`modalSize` — tombstones on the spec form
1793+
* view, the React `ObjectForm` block's own props,
17941794
* `fields`/`customFields`, …). Candidates for upstreaming are tracked in
17951795
* #2545; until then they are sanctioned, documented extensions.
17961796
* - **[runtime-only]** — non-serializable runtime concerns that never belong

0 commit comments

Comments
 (0)