diff --git a/.changeset/38191-form-view-taxonomy-modal-size.md b/.changeset/38191-form-view-taxonomy-modal-size.md new file mode 100644 index 00000000000..d2cdc48f731 --- /dev/null +++ b/.changeset/38191-form-view-taxonomy-modal-size.md @@ -0,0 +1,10 @@ +--- +'@object-ui/types': patch +--- + +docs(types): the `ObjectFormSchema` key taxonomy lists `modalSize` as a tombstone on the spec form view + +Clause-②: no +Metadata-protocol: none + +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. diff --git a/docs/qa/platform-checklist/areas/studio-authoring.json b/docs/qa/platform-checklist/areas/studio-authoring.json index 5e6a65db0d4..e18693b1ebc 100644 --- a/docs/qa/platform-checklist/areas/studio-authoring.json +++ b/docs/qa/platform-checklist/areas/studio-authoring.json @@ -4479,7 +4479,7 @@ "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", "since": "v18", "status": "active", - "revision": 11, + "revision": 12, "priority": "P2", "surface": "mixed", "personas": [ @@ -4495,7 +4495,7 @@ "the showcase's external datasource showcase_external (examples/app-showcase/src/system/datasources/showcase-external.datasource.ts) for the datasource / external rows" ], "knownGaps": [ - "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)", + "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)", "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", "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", "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 @@ "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", "flow.nodes[].inputSchema → stored and served", "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)", - "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])", + "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])", "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)", "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", "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 @@ "date": "2026-11-26", "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", "ref": "#36798" + }, + { + "revision": 12, + "date": "2026-11-29", + "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", + "ref": "#38191" } ] }, diff --git a/ui/packages/types/src/objectql.ts b/ui/packages/types/src/objectql.ts index 71ee1e39383..0a448aa0596 100644 --- a/ui/packages/types/src/objectql.ts +++ b/ui/packages/types/src/objectql.ts @@ -1786,11 +1786,11 @@ export type SubmitBehavior = * - **[spec-aligned]** — same name & semantics as `@objectstack/spec` * `FormViewSchema` (`title`, `description`, `layout`, `columns`, `sections`, * `defaultTab`, `tabPosition`, `allowSkip`, `showStepIndicator`, - * `modalSize`, `subforms`, `submitBehavior`; `formType` ↔ spec `type`). + * `subforms`, `submitBehavior`; `formType` ↔ spec `type`). * - **[ObjectUI extension]** — serializable renderer extras with no spec * backing yet (button visibility/labels, `className`, `initialValues`, - * `drawerSide`/`drawerWidth` — tombstones on the spec form view, the React - * `ObjectForm` block's own props, + * `drawerSide`/`drawerWidth`/`modalSize` — tombstones on the spec form + * view, the React `ObjectForm` block's own props, * `fields`/`customFields`, …). Candidates for upstreaming are tracked in * #2545; until then they are sanctioned, documented extensions. * - **[runtime-only]** — non-serializable runtime concerns that never belong