From the viewschema liveness audit (objectstack-ai/framework#1890, recommendation #3). Two spec↔renderer key-drift problems:
1. bulkActions → batchActions (silent no-op)
ListView internally remaps the spec's bulkActions to ObjectGrid's real key batchActions. So it works through ListView, but a direct object-grid caller using bulkActions silently no-ops (bulk actions just disappear, no error).
2. ObjectView form-adapter reads keys not in FormViewSchema
ObjectView's form adapter (plugin-view/ObjectView.tsx ~buildFormSchema) reads keys that don't exist in FormViewSchema: layout, showSubmit, submitText, customFields, title, initialValues, className — renderer-invented surface with no spec backing.
Fix
Normalize at one boundary:
- Reconcile
bulkActions/batchActions to a single spec key (and make object-grid accept it directly, or drop the alias).
- Reconcile the
ObjectView form-adapter keys against FormViewSchema (add to spec, or stop reading them).
Pure technical debt; no user-facing behaviour change when done right. Refs objectstack-ai/framework#1890.
From the viewschema liveness audit (objectstack-ai/framework#1890, recommendation #3). Two spec↔renderer key-drift problems:
1.
bulkActions→batchActions(silent no-op)ListViewinternally remaps the spec'sbulkActionsto ObjectGrid's real keybatchActions. So it works through ListView, but a directobject-gridcaller usingbulkActionssilently no-ops (bulk actions just disappear, no error).2.
ObjectViewform-adapter reads keys not inFormViewSchemaObjectView's form adapter (plugin-view/ObjectView.tsx~buildFormSchema) reads keys that don't exist inFormViewSchema:layout,showSubmit,submitText,customFields,title,initialValues,className— renderer-invented surface with no spec backing.Fix
Normalize at one boundary:
bulkActions/batchActionsto a single spec key (and makeobject-gridaccept it directly, or drop the alias).ObjectViewform-adapter keys againstFormViewSchema(add to spec, or stop reading them).Pure technical debt; no user-facing behaviour change when done right. Refs objectstack-ai/framework#1890.