Skip to content

fix(spec): align reportForm with the 9.0 dataset-bound ReportSchema (ADR-0021)#1730

Merged
os-zhuang merged 1 commit into
mainfrom
chore-spec-report-form-dataset
Jun 11, 2026
Merged

fix(spec): align reportForm with the 9.0 dataset-bound ReportSchema (ADR-0021)#1730
os-zhuang merged 1 commit into
mainfrom
chore-spec-report-form-dataset

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Summary

reportForm (the canonical Report authoring FormView) still declared the pre-9.0 query-form fields — objectName / columns / groupingsDown / groupingsAcross / filter — that the ADR-0021 single-form cutover removed from ReportSchema. Spec-driven editors (e.g. objectui's ReportDefaultInspector, which renders reportForm verbatim) therefore offered controls whose output the 9.0 schema strips at parse time, and filter had been renamed runtimeFilter.

This aligns the form with the schema:

  • Basics: drops objectName
  • Dataset binding (new, hidden for joined): dataset with a new ref:dataset widget hint (mirroring the existing ref:object convention), plus values / rows as string-tags
  • Filter & chart: filterruntimeFilter (json widget)
  • Joined blocks / Advanced: unchanged
  • Removes the now-dead Columns / Groupings sections

Changeset: patch on @objectstack/spec (fixed group).

Test plan

  • pnpm build in packages/spec
  • pnpm test in packages/spec — 6527 passed

Downstream: objectui will consume this via its dataset-native report editor (PR to follow there).

🤖 Generated with Claude Code

…ADR-0021)

The authoring form still declared the pre-9.0 query-form fields
(objectName / columns / groupingsDown / groupingsAcross / filter) that the
single-form cutover removed from ReportSchema — so spec-driven editors
rendered controls whose output the schema strips at parse time (and
`filter` had been renamed `runtimeFilter`).

Declare the dataset-bound shape instead: a Dataset binding section with
`dataset` (new `ref:dataset` widget hint) + `values` / `rows` string-tag
selectors, `runtimeFilter` under Filter & chart, and joined blocks
unchanged.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 11, 2026 1:52pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation protocol:ui size/s tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant