You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(examples,docs): the dashboard gallery renders working charts again — filtered-* entries leave the retired shape (#4600) (#4615)
* fix(examples,docs): the dashboard gallery renders working charts again — filtered-* entries leave the retired shape (#4600)
Implements (d1) of #4600's ruling. The 6 `filtered-*` catalog entries taught
and rendered the pre-ADR-0021 inline analytics shape, which the renderer
retired in framework#3320: 15 of the category's 28 widgets drew the "retired
data format" placeholder and 2 more drew DatasetWidget's unsupported-source
error.
- The 6 entries now bind live surfaces: inline `options.data` (static series /
`options.value` metrics) for the five inline examples, and the dataset
variant keeps its two `dataset`-bound widgets, which now render through a
gallery stub. Every `globalFilters` / `filterBindings` / `targetWidgets` /
`dateRange` declaration is unchanged — the filter pedagogy is the point of
these entries — and the #4356 pair-form options stay pair-form.
- `apps/site` gains `galleryDataSource` (canned `queryDataset` rows) and
`registerCatalogBlocks` (the dashboard + chart registrations the gallery
page never loaded). Measured: before this change every dashboard tile in the
gallery was the registry's "Unknown component type: dashboard" panel.
- The 3 teaching locations move off the retired shape and the false prose is
corrected ("Working examples", "mix freely", the metadata-check claim).
- New render pin: every entry is rendered through the real SchemaRenderer and
may show none of the three diagnostics. Red before this change (retired=15
across 5 entries), green after.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Qqyix2QcnpUC9XeYVDzx3
* fix(site): SchemaThumbnail names the layout registrar directly again (#4600)
The #3904 guard (scripts/__tests__/site-playground-layout-registration-3904.
test.ts) discovers every apps/site SchemaRenderer host and reads its imports
for `registerLayoutBlocks` by name. Routing that import through the new
`registerCatalogBlocks` module satisfied it in the module graph but not in the
guard's source-text view, so the host read as one that registers nothing — CI
red, correctly.
Each host now names both registrars, one per responsibility: layout blocks
(#3787) and the gallery's dashboard/chart blocks (#4600). registerCatalogBlocks
no longer re-exports the layout one, so the guard's discovery property stays
literally true for any host added later.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Qqyix2QcnpUC9XeYVDzx3
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments