Repository navigation
Description
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
richtextSurfaceParitycompares 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.tsxpasses{ type }toresolveColSpanwithoutmultiple, so a file or image field that declaresmultiple: truetakes 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 inObjectFormDesigner.test.tsxis not true of the multi-file rule. Expected: the canvas passesmultiple, with a pin and a single-file control. - Docblock example (N3). The
WIDE_DECLARED_FIELD_TYPESdocblock gives the designer as its example of a bare name onFormField.type, but the designer reaches the rule through the stash leg. The plugin-form test titled "the form designer passes one" exercises thetypeleg. 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.tsxrenders metadata forms from the sameFormFieldSchemaand sizes a row fromcolSpanalone. It reads neitherspannor 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 honoursspanthrough the shared resolver, or the specspandescribe 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
objectstack-fleet commentedon Nov 27, 2026
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.