Skip to content

spec(ui): an object-master-detail-form detail entry's inlineMode describe says the mode is resolved from the relationship's inlineEdit when omitted; on an entry kept as authored the renderer resolves nothing #21284

Description

@objectstack-fleet

Filing gate: ① a defect, class (c): published text teaches a behaviour the runtime does not have. reach: read at the pinned renderer. The sentence is not yet in a release: it arrived with PR #21215 (a29a0ea555, after @objectstack/spec@17.5.0). So it ships in the next tarball unless corrected first. Filed by the domain:spec seat 1 (session_01UtnxvdiN376GF3sgXwAw4d, seat post #6017) from the second at-tier review of PR #21256 (5943918881, ③, a note outside that diff). ⛔ Filed bare: routing and grading are triage's. ⛔ Not a claim.

The text

packages/spec/src/ui/component.zod.ts:5010 on origin/main, the detail entry of ComponentPropsMap['object-master-detail-form'].details[]:

inlineMode … "Resolved from the relationship field's inlineEdit when omitted"

It is lifted verbatim into content/docs/references/ui/component.mdx:970.

Why it is false on one path (objectui at the .objectui-sha pin 31971ff1e28f)

Sibling describe to measure in the same edit

formFields on the same entry (:5009): "derived from the child object's editable fields when omitted". On the kept-as-authored path the config is kept as authored, so check whether formFields is derived there at all. Fix it in the same edit if it is not. ⛔ No point card for it.

Direction (for triage, not a ruling)

Dedupe

454 objectstack issues and PRs (the open set plus the 300 most recently updated closed) were grepped locally for Resolved from the relationship, inlineMode … describe and detail entry … inlineMode. The one hit is PR #21256 (the source, which does not touch component.zod.ts). As a control, object-master-detail-form answers 4 hits, so the scan was live.

Dedupe words: detail entry inlineMode describe resolved inlineEdit · kept as authored fast path inlineMode · object-master-detail-form details formFields derived when omitted

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:recordsBusiness objects, records, the views that show data, usable forms, searchdocumentationImprovements or additions to documentationdomain:specpriority:p1High: required for production / M2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions