You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- plugin-form/plugin-detail grouping now adapts @objectstack/spec's
deriveFieldGroupLayout (ADR-0085 §5) — one derivation for forms,
modals and detail pages; canonical collapse enum honoured with
deprecated collapsible/collapsed/defaultExpanded read for pre-11.7
metadata.
- detectStatusField reads the top-level stageField role; false now
suppresses the record:path stepper (was wired to the removed
detail.stageField, so spec-authored false fell through to the
heuristic — dogfood-confirmed gap).
- Default grid columns / cards / highlight strip / child previews /
interface pages read highlightFields with compactLayout fallback.
- Dead reads removed: objectDef.views.* and the ADR-0085-removed
detail.* hint block. detail.renderViaSchema survives only as the
legacy-renderer kill-switch (removed with that path in a follow-up).
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Consume the ADR-0085 object semantic roles from `@objectstack/spec@11.7.0`, retiring the per-surface hint dialects:
9
+
10
+
-**Single-source fieldGroups derivation**: `plugin-form`'s `deriveFieldGroupSections` and `plugin-detail`'s `deriveFieldGroupDetailSections` are now thin adapters over the spec's `deriveFieldGroupLayout` (ADR-0085 §5) — forms, modals and detail pages render the SAME grouping from one implementation. The canonical `collapse: 'none' | 'expanded' | 'collapsed'` enum is honoured everywhere (deprecated `collapsible`/`collapsed` and `defaultExpanded` spellings still read for pre-11.7 metadata).
11
+
-**`stageField` semantic role**: the detail stepper reads the top-level `stageField`; `stageField: false` now actually suppresses stage detection (previously the `false` handling was wired to the removed `detail.stageField` key, so spec-authored `false` fell through to the name heuristic).
12
+
-**`highlightFields` rename**: default grid columns, card compact views, the detail highlight strip, child-record preview fields and interface-page default columns read the object's `highlightFields` (deprecated `compactLayout` spelling read as fallback for pre-11.7 metadata).
13
+
-**Removed dead reads**: the never-spec-writable `objectDef.views.*` UI hints and the ADR-0085-removed `detail.*` block (`sections`, `sectionGroups`, `highlightFields`, `stageField`, `useFieldGroups`, `showReferenceRail`, `hideReferenceRail`, `hideRelatedTab`, `relatedLayout`) are no longer consulted. Per-page customization goes through an assigned Page schema (`record:reference_rail` remains available there as a renderer capability). `detail.renderViaSchema` survives only as the legacy-renderer kill-switch and is removed together with that path.
0 commit comments