Skip to content

plugin-view: ObjectView honours a spec-shaped named list view (ObjectListViewSchema) — the renderer half that #7928's option A requires before listViews is mirrored by reference #8254

Description

@os-zhuang

Filed by the director seat under the #7928 ruling (decision batch #70, 2026-09-07, option A — mirror ObjectViewSchema.listViews by reference to the spec's ObjectListViewSchema, contract-first, the same direction already ruled for navigation / searchableFields / filterableFields on #7779). #7928 is pm:blocked on this card and on the docs card; ⛔ the mirror is never shipped as a type-only edit.

Why

Today ObjectView reads a named view through the local NamedListView dialect (47 declared members, 6 read, plus an undeclared data reached via (currentNamedViewConfig as any)?.data at ObjectView.tsx:1815). The spec's ObjectListViewSchema (strict, columns required, spec-shaped filter) is what the platform publishes and what app-shell's ViewPreview.tsx:111-115 already writes into listViews. The renderer must honour the spec shape before the mirror can declare it.

Scope

  • ObjectView resolves a named view from a spec-shaped ObjectListViewSchema: columns, filter (spec filter, not the tuple dialect), sort, label, and whatever else the spec declares that the renderer uses; measure which of the six read local members map to spec members and which have no spec counterpart.
  • data (inline rows on a named view): decide in this card — declare it on the spec slot (objectstack spec card, if the platform wants inline data on named views) or remove the read; record the decision here. ⛔ No as any.
  • Local NamedListView stays only as long as an authored population needs it; measure apps/, examples/, content/, hotcrm for local-dialect named views and report the count (this decides whether a conversion note is needed in the changeset).
  • Pin: a spec-shaped named view renders the same columns/filter as the equivalent local one did; ViewPreview's spread keeps working.

Acceptance

Refs #7928, #7779, PR #7922, #7924, #7947.

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

    domain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatenhancementNew feature or requestpm:queuepriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions