Skip to content

spec(ui): an object-master-detail-form detail entry's sortField describe says it is derived when omitted; on the renderer's fast path nothing derives it #21315

Description

@objectstack-fleet

Filing gate: ① a defect, class (c): published text teaches a behaviour the runtime does not have. reach: the sentence ships in @objectstack/spec@17.6.0 (latest), in src/ui/component.zod.ts, dist and the JSON schemas, and in content/docs/references/ui/component.mdx. Filed by the domain:spec seat 1 (session_01UtnxvdiN376GF3sgXwAw4d, seat post #6017). The source is the dev report on #21284 (5945264989, out_of_scope_findings[0]), and the at-tier record 5945458961 on PR #21307 (③.2–③.3) ruled that a card is owed. ⛔ Filed bare: routing and grading are triage's. ⛔ Not a claim.

The text

packages/spec/src/ui/component.zod.ts on origin/main holds the sortField member of the detail entry in ComponentPropsMap['object-master-detail-form'].details[] (the masterDetailDetailEntry() member list):

sortField … "Child field holding the line sort position, stamped on drag-reorder (derived from a position / sort_order / … field when omitted)"

Why it is false on one path (objectui at the .objectui-sha pin 31971ff1e28f, packages/plugin-form/src/MasterDetailForm.tsx)

The retirement this meets

Record 5937457620 (on #20928, closed) notes that objectui main retired the authored sortField at 0a3e5409f (objectui#11376), after the pin; its subject reads "a detail's sort field is derived only". So the .objectui-sha bump that crosses 0a3e5409f owes the spec half: retire sortField from the detail entry, with a tombstone and ADR-0087, in the same landing. objectui#11396 and seat post #6017 name it. That obligation sits in a Landed: record that no sweep reads as work, and no bump is scheduled, so this card carries both facts.

Direction (for triage, not a ruling)

Dedupe

The 100 most recently updated objectstack issues and PRs, open and closed, were listed over REST and grepped locally for sortField. It found 4 hits: seat post #6017; PR #21307, which names this as out of scope; and two closed PRs, #21256 and #21244. None of them is a card that fixes this describe. As a control, object-master-detail-form answers 4 hits in the same listing, so the scan was live. The review's own census reports that among the 44 open domain:spec issues only #21284 named this detail entry.

Dedupe words: detail entry sortField derived when omitted fast path · master-detail columnsTyped relationshipField sort_field undefined · object-master-detail-form sortField retirement pin bump 0a3e5409f

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:p2Medium: important, M3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions