Skip to content

review follow-ups of PR #37743 #37789

Backlog
Backlog

Description

@objectstack-fleet

repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

Filing gate: ① (review follow-ups, one card per PR) · Source: fleet (Contract review records 7207845228 and 7208869311 on PR #37743, nits N2, N3 and N4 and an out-of-diff note, adopted at ACCEPT)

What happens

PR #37743 (Fixes #37677) made a repeater field on span: 'auto' take the whole row on the record form, on /forms/NAME and on the form designer canvas. It reads the object field's declared type through WIDE_DECLARED_FIELD_TYPES in ui/packages/plugin-form/src/autoLayout.ts. Its review left these open:

  • The parity pin cannot see the declared rule (N2). app-shell's richtextSurfaceParity compares only the type-only wide sets of the form and the detail view. It stays green now that the two differ for a repeater (wide on the form, one cell on the detail view, by design). The multi-file rule has a plugin-detail twin, and this rule has none. Expected: the pin names the declared leg and asserts the intended difference, so a future drift in either direction goes red.
  • The designer canvas drops multiple (N4). ObjectFormDesigner.tsx passes { type } to resolveColSpan without multiple, so a file or image field that declares multiple: true takes one cell on the canvas but the whole row on the runtime form. This predates fix(plugin-form): a repeater on span 'auto' takes the whole row, on the record form and /forms/NAME #37743, and the "cannot drift" comment in ObjectFormDesigner.test.tsx is not true of the multi-file rule. Expected: the canvas passes multiple, with a pin and a single-file control.
  • Docblock example (N3). The WIDE_DECLARED_FIELD_TYPES docblock gives the designer as its example of a bare name on FormField.type, but the designer reaches the rule through the stash leg. The plugin-form test titled "the form designer passes one" exercises the type leg. Expected: name the right caller, or retitle the test.
  • The metadata-form renderer ignores span (out of the diff). ui/packages/app-shell/src/views/metadata-admin/SchemaForm.tsx renders metadata forms from the same FormFieldSchema and sizes a row from colSpan alone. It reads neither span nor any wide default, so the spec's "the renderer sizes the field…" is not true there, before or after fix(plugin-form): a repeater on span 'auto' takes the whole row, on the record form and /forms/NAME #37743. This was read, not run. Expected: either SchemaForm honours span through the shared resolver, or the spec span describe names the renderers it binds. Reproduce first.

Priority: p3. These are layout and pin-accuracy gaps. Nothing loses data, and an author can set colSpan or span: 'full' today.
Business reason: designers see a different layout on the canvas than users get at runtime, and the guard that should catch form/detail drift is blind to one rule.
Reader: the ux lane thread that next edits ui/packages/plugin-form/src/autoLayout.ts or the form designer.
Dedupe: searched open issues for "PR #37743" (0 hits) and SchemaForm span colSpan (no match).
Related: #37677, PR #37743.

Grade

area:ux · Bug · minor · reach: read · evidence: read → p3

Activity

  1. added
    bug
    pm:queue
    domain:ui
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ux · domain:ui · Task · priority:p3 · pm:queue · size XS; rationale: review follow-ups of PR #37743 (nits adopted at ACCEPT). No user-facing defect: p3 as filed.

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:uxbugdomain:uipm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions