Skip to content

spec: the span: 'auto' describe names json/file/subform as wide widgets, and "take the whole row" is false at the intermediate tier at the pin #18516

Description

@os-warren

Class (b): shipped .describe() prose contradicts the renderer it describes. Same defect class as #17670, different sentence — this one was never in that card's scope, so it is filed rather than folded in.

The claim

packages/spec/src/ui/view.zod.ts, the span describe, 'auto' clause (unchanged by PR #18492): wide widgets "like textarea/richtext/json/file/subform take the whole row".

Two separate falsifications, both measured

Measured by the at-tier contract reviewer of PR #18492 (record: #18492 (comment), flag F3) against the renderer executed at the .objectui-sha pin 53ded82bf7 and at objectui main 542718f457:

  1. json, file and subform are in no wide path at all. WIDE_FIELD_TYPES is 10 entries — textarea/markdown/html/grid/richtext, bare and field:-prefixed — at the pin and at main. No other full-row path names them in plugin-form/src or the form renderer (grep 0 hits; lit control col-span-full = 1 hit, section dividers only). So three of the five names in the list are wrong, and two of the five real wide types (markdown, html, grid) are not named.
  2. "take the whole row" is false at the intermediate tier at the pin. A wide widget in a 3-column grid emits @2xl:col-span-3 at the pin, which is 1 of 2 cells at the @md tier — the same widest-tier-only behaviour [finding] The colSpan / span: 'full' claim #17328 measured false is still on the tree in five more carriers — including the spec .describe() that generates the public reference docs #17670 is removing for span: 'full'. The reviewer's probe row: textarea auto in a 3-column grid at the pin → @2xl:col-span-3, 1/2 at @md.

Population, if it is fixed

1 describe string → src 1, dist 30, json-schema 12, generated content/docs/references/ui/view.mdx 2.

Notes for whoever takes it

Dedupe words: WIDE_FIELD_TYPES, isWideFieldType, take the whole row, span: 'auto', textarea richtext subform describe.


Generated by Claude Code

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions