Skip to content

feat(spec): dashboard widget can bind to a dataset (ADR-0021 B-P1)#1648

Merged
os-zhuang merged 1 commit into
mainfrom
claude/dashboard-binds-dataset
Jun 7, 2026
Merged

feat(spec): dashboard widget can bind to a dataset (ADR-0021 B-P1)#1648
os-zhuang merged 1 commit into
mainfrom
claude/dashboard-binds-dataset

Conversation

@os-zhuang
Copy link
Copy Markdown
Contributor

Additive dual-form DashboardWidgetSchema: a widget may bind a dataset + dimensions + values instead of inline object query; superRefine enforces values when dataset set. Completes the symmetric half of B-P1 (report + dashboard both consume the governed dataset). Bumps .objectui-sha to matching objectui commit (#1576). Tests: dashboard.test +3. Verified live in Studio.

🤖 Generated with Claude Code

…al-form)

Additive dual-form for DashboardWidgetSchema: a widget may bind a semantic-layer
`dataset` and select `dimensions` + `values` (measure names) by name, instead of
the inline `object`+`categoryField`+`valueField`+`aggregate` query. A superRefine
requires `values` when `dataset` is set. Existing inline widgets are unchanged.

Completes the symmetric half of B-P1 (report + dashboard now both consume the
governed dataset). Bumps .objectui-sha to the matching objectui commit
(DatasetWidget renders dataset-bound widgets via queryDataset).

Tests: dashboard.test +3 (dataset-bound valid; missing values rejected; legacy
inline still valid).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@os-zhuang os-zhuang merged commit e000978 into main Jun 7, 2026
2 checks passed
@os-zhuang os-zhuang deleted the claude/dashboard-binds-dataset branch June 7, 2026 11:24
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 7, 2026

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

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 7, 2026 11:24am

Request Review

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants