Skip to content

feat(showcase): chart gallery shows only distinctly-renderable chart types - #1690

Merged
os-zhuang merged 1 commit into
mainfrom
feat-chart-gallery-renderable-types
Jun 10, 2026
Merged

feat(showcase): chart gallery shows only distinctly-renderable chart types#1690
os-zhuang merged 1 commit into
mainfrom
feat-chart-gallery-renderable-types

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

Pairs the objectui console build (objectui#1624 — dataset widgets render their true chart type) with a trimmed, honest Chart Gallery.

Changes

  • chart-gallery.dashboard.ts → 27 → 17 widgets, one per family the renderer draws distinctly: metric ×3 (count / decimal / currency — to show the format feature), then bar / column / horizontal-bar / line / area / pie / donut / funnel / scatter / radar / treemap / sankey, and table / pivot with multiple measures. Removed the families that only fall back to a near-relative (grouped/stacked/bi-polar bars, stacked-area, step-line, spline, pyramid, bubble) and the dial-less performance variants (kpi/gauge/solid-gauge/bullet, identical to metric).
  • coverage.testcovers every distinctly-renderable ChartType (explicit allowlist of the fallback-only families, documented for the follow-up ChartTypeSchema trim).
  • .objectui-sha76094e0d (vendors the true-chart-type routing).

Verification

Browser-tested on the showcase Chart Gallery with this console build:

  • pie / donut / funnel render distinctly; line / area as line/area (month buckets); sankey as a flow diagram.
  • table / pivot render real grouped tables with resolved lookup names (Contoso/Northwind), select labels, and currency format ($800,000).

turbo build 72/72, turbo test 123/123.

Recommended follow-up

Trim ChartTypeSchema (spec) to the renderable set so spec ↔ renderer ↔ showcase stay in lockstep — a breaking spec change best aligned with the next major.

🤖 Generated with Claude Code

…types
Pairs the objectui console build (objectui#1624) that routes dataset widgets to
their TRUE chart renderer with a trimmed Chart Gallery (27 → 17 widgets): one
widget per family the renderer draws distinctly. Removed the families that only
fall back to a near-relative (grouped/stacked/bi-polar bars, stacked-area,
step-line, spline, pyramid, bubble) and the dial-less performance variants
(kpi/gauge/solid-gauge/bullet, identical to `metric`) — a "sankey" widget that
draws bars is worse than not offering it.
- chart-gallery.dashboard.ts → 17 canonical widgets (metric ×3 for format
variety, then bar/column/horizontal-bar/line/area/pie/donut/funnel/scatter/
radar/treemap/sankey, table/pivot with multiple measures).
- coverage.test → "covers every distinctly-renderable ChartType" (allowlist of
the fallback-only families, documented for the follow-up `ChartTypeSchema` trim).
- .objectui-sha → 76094e0d (vendors the true-chart-type routing).
Browser-verified: pie/donut/funnel/line/area/sankey render distinctly;
table/pivot render real tables with resolved labels + currency format.
turbo build 72/72, test 123/123.
objectui@76094e0d4ed79b8732ba9879c75aa5ab8283180d
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercelBot commented Jun 10, 2026

Copy link
Copy Markdown

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

ProjectDeploymentActionsUpdated (UTC)
specReadyReadyPreview, CommentJun 10, 2026 3:17pm

Request Review

@github-actionsgithub-actionsBot added documentation Improvements or additions to documentation tests tooling size/m labels Jun 10, 2026
@os-zhuang
os-zhuang merged commit 038ecc7 into mainJun 10, 2026
12 checks passed
@os-zhuang
os-zhuang deleted the feat-chart-gallery-renderable-types branch June 10, 2026 15:17
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/mteststooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@os-zhuang