Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/dashboard-chartconfig-liveness-row-re-anchored.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@objectstack/spec": patch
---

docs(spec): the `dashboard.widgets[].chartConfig` liveness row is re-anchored to the current objectui pin — 12 of 14 keys reach the renderer, not 9 (#17385)

`packages/spec/liveness/dashboard.json` ships inside this package, so its rows are part of what an author reads. The `widgets.children.chartConfig` row was measured on 2026-08-09 against `objectui @230ffd875` and both halves of that reading are now superseded — re-measured by hand against this checkout's own `.objectui-sha` pin `53ded82bf7a4`.

**The citation moved repos-internally.** `chartConfigPresentation` was lifted out of `plugin-dashboard` into `@object-ui/core`'s `chart-presentation` module, so the old pointer at `packages/plugin-dashboard/src/DatasetWidget.tsx:380-429` — still byte-exact at the commit it names — lands on the re-export block at that range in the pinned tree, while the nine `if`s it describes are in another package. A foreign path is counted and never resolved by `check:liveness`, deliberately, so nothing mechanical could have caught this: only a hand re-measurement does.

**The count changed.** `xAxis` / `yAxis` / `series` were recorded as unforwarded on the grounds that they are derived from the dataset selection. They are forwarded today: the dataset keeps series MEMBERSHIP and the column each binding reads (`ChartSeries.name` and `ChartAxis.field`, dropped on the way through) while every other key on those objects merges onto the derived binding with the explicit binding winning. `type` and `aria` remain the two keys that do not reach this face.

Evidence text only — no verdict moves, no schema key changes, and the row still carries no per-key `children`. The per-key drill, the `type` / `aria` dispositions and the authored-versus-derived precedence the protocol does not yet state stay open on #17385.
6 changes: 3 additions & 3 deletions packages/spec/liveness/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
},
"chartConfig": {
"status": "live",
"verifiedAt": "2026-08-09",
"verifiedAt": "2026-09-10",
"evidenceScope": "cross-repo",
"evidence": "objectui @230ffd875: packages/plugin-dashboard/src/DatasetWidget.tsx:380-429 — chartConfigPresentation lowers NINE of the declared keys, one `if` per key (:390 showLegend, :391 showDataLabels, :393 title, :395 subtitle, :397 description, :401 height, :403 annotations, :405 interaction, :419 and :425 colors, split into the positional palette and categoryColors); objectui: packages/plugin-dashboard/src/DatasetWidget.tsx:1091 calls it and :1118 spreads the result onto the chart schema handed to the renderer; objectui: packages/plugin-dashboard/src/__tests__/DatasetWidget.chartConfig.dom.test.tsx pins the DOM effect of each forwarded key",
"note": "chart presentation config on the dataset-bound chart path — read PER KEY, not forwarded as a bag. Of the 14 keys ChartConfigSchema declares, 9 reach the renderer (above) and 5 do not: xAxis/yAxis/series are derived from the dataset selection, so an authored value would shadow the derived binding; type is answered by the widget's own `type` through CHART_TYPE_MAP; aria has no reader on this path (AdvancedChartImpl has no `aria` prop and the ARIA injection reads the flat ariaLabel/ariaDescribedBy/role). This entry previously read 'chart-config bag forwarded to the chart renderer', which was never measured: at that time exactly one key (showLegend, #3135) was lowered, and the overstatement mis-steered the #5022 measurement for half its length. #5175 measured the real 1-of-14 state, #7016 forwarded the keys the chart block actually delivers, and the narrowing half for the 5 unforwarded keys is still open on #5175 — do not read this row as classifying them."
"evidence": "objectui @53ded82bf: packages/core/src/utils/chart-presentation.ts#chartConfigPresentation lowers the NINE chrome keys onto the chart schema, one guard per key — showLegend, showDataLabels, title, subtitle, description, height, annotations, interaction, and colors split two ways into the positional palette and categoryColors; objectui @53ded82bf: packages/core/src/utils/chart-presentation.ts#mergeAuthoredPresentation merges the authored xAxis / yAxis / series PRESENTATION onto the bindings the dataset selection derived, through #mergeAuthoredSeries and #axisPresentation, dropping only the two binding keys ChartSeries.name and ChartAxis.field so that membership stays with the dataset; objectui @53ded82bf: packages/plugin-dashboard/src/DatasetWidget.tsx:1415 calls mergeAuthoredPresentation, :1483 calls chartConfigPresentation and :1529 spreads both results onto the chart schema handed to the renderer; objectui @53ded82bf: packages/plugin-dashboard/src/__tests__/DatasetWidget.chartConfig.dom.test.tsx pins the DOM effect of each forwarded chrome key; objectui @53ded82bf: packages/plugin-dashboard/src/__tests__/DatasetWidget.comboPresentation.test.tsx pins the series and axis merge in the DOM",
"note": "chart presentation config on the dataset-bound chart path — read PER KEY, not forwarded as a bag. RE-MEASURED 2026-09-10 against this checkout's own `.objectui-sha` pin 53ded82bf7a4, and the previous reading is superseded in two independent ways. FIRST, THE CITATION MOVED REPOS-INTERNALLY: `chartConfigPresentation` was lifted out of `plugin-dashboard` into `@object-ui/core`'s `chart-presentation` module by objectui#4877, so the old pointer `objectui @230ffd875: packages/plugin-dashboard/src/DatasetWidget.tsx:380-429` — still byte-exact at the commit it names, every one of its ten sub-line citations included — lands on the RE-EXPORT block at that same range in the pinned tree, and the nine `if`s it describes are in another package. Note what could not have caught this: a foreign path is counted and never resolved by this gate, on purpose, so an objectui citation cannot rot the way a repo-local one does — only a hand re-measurement finds it, and this row is the second in this file to be re-anchored that way. SECOND, THE COUNT CHANGED: 12 of the 14 keys `ChartConfigSchema` declares now reach the renderer on this face, not 9. `xAxis` / `yAxis` / `series` were recorded here as unforwarded on the stated grounds that they are derived from the dataset selection and an authored value would shadow the derived binding. objectui#4229 ruled that belief half right and shipped the split it implies: the dataset owns series MEMBERSHIP and the column each binding reads — concretely `ChartSeries.name` and `ChartAxis.field`, which are dropped on the way through — while every other key on those same objects is the author's and merges onto the derived binding by name/key match with the explicit binding winning. So those three keys are LIVE on this face today. The two that still do not reach it are `type` and `aria`. `type` is deliberate: the widget's own `type` picks the chart family through CHART_TYPE_MAP and objectui pins that nothing outranks it, so a dashboard author's `chartConfig.type` parses and does nothing while the same key is live on the react tier, published as a flat `dataProps` entry by `ui/react-blocks.ts`. `aria` has no reader on either face: the chart implementation declares no `aria` prop, the renderer's ARIA injection reads the flat `ariaLabel` / `ariaDescribedBy` / `role`, and the react block's `dataProps` omits it. ⛔ Do not read this row as a per-key classification: `chartConfig` still carries no `children`, and the walk drills exactly ONE level, so a `children` map written at this coordinate would sit at depth two where the gate never looks — the drill question, the `type` / `aria` dispositions and the authored-versus-derived precedence the protocol still does not state are all open on #17385. HISTORY, kept because it is why this row is read carefully: the entry once read 'chart-config bag forwarded to the chart renderer', which was never measured — at that time exactly one key, `showLegend` via #3135, was lowered, and the overstatement mis-steered the #5022 measurement for half its length. #5175 measured the real 1-of-14 state and #7016 forwarded the keys the chart block measurably delivers."
},
"colorVariant": {
"status": "live",
Expand Down
Loading