Measured while working objectui#7696 (origin/main = a915064). Filed separately, unlabelled, not folded into that card's branch.
The measurement
@object-ui/core exports one dimension-label net (loadDimensionFieldMeta → resolveDimensionFieldMeta → deriveDimensionLabelMaps / localizeFieldOptions → relabelDimensions, objectui#4030 / PR #4324, widened by objectui#4330 / PR #4388). Enumerating the analytics chart producers rather than grepping for the seam's spelling — every non-test call site of buildChartSeries — gives exactly three, and all three relabel their rows immediately before charting:
| producer |
relabels? |
packages/plugin-dashboard/src/DatasetWidget.tsx:1407 |
yes — relabelDimensions at :1388 |
packages/plugin-report/src/DatasetReportRenderer.tsx:1026 |
yes — relabelDimensions at :1027 |
packages/plugin-charts/src/ObjectChart.tsx:891 |
yes — relabelDimensions at :892 |
There is a fourth analytics chart on a different construction, and it is outside that list because it never calls buildChartSeries:
packages/app-shell/src/views/metadata-admin/previews/DatasetPreview.tsx hands state.rows as they arrived straight to ChartRenderer:
<ChartRenderer
schema={{
data: state.rows as Array<Record<string, unknown>>,
xAxisKey: dimensionNames[0],
...
state already carries object and the preview already resolves measure labels through headerLabel, so the two inputs the net needs (the dataset's base object, the dimension names) are both in hand — nothing structural is missing, the call simply is not made. Nothing in the file declares the omission deliberate.
Why it is worth a card
Not claimed
- Whether the preview should localize is a call for the maintainer: "show the query result verbatim" is a defensible reading of a preview, and the two other previews were not audited. This card records the measured divergence, not a ruling.
- No behaviour was changed anywhere for this. objectui#7696's branch does not touch this file.
Refs objectui#4030, PR #4324, objectui#4330, PR #4388, objectui#4053, objectui#4263, objectui#4906.
Measured while working objectui#7696 (
origin/main=a915064). Filed separately, unlabelled, not folded into that card's branch.The measurement
@object-ui/coreexports one dimension-label net (loadDimensionFieldMeta→resolveDimensionFieldMeta→deriveDimensionLabelMaps/localizeFieldOptions→relabelDimensions, objectui#4030 / PR #4324, widened by objectui#4330 / PR #4388). Enumerating the analytics chart producers rather than grepping for the seam's spelling — every non-test call site ofbuildChartSeries— gives exactly three, and all three relabel their rows immediately before charting:packages/plugin-dashboard/src/DatasetWidget.tsx:1407relabelDimensionsat:1388packages/plugin-report/src/DatasetReportRenderer.tsx:1026relabelDimensionsat:1027packages/plugin-charts/src/ObjectChart.tsx:891relabelDimensionsat:892There is a fourth analytics chart on a different construction, and it is outside that list because it never calls
buildChartSeries:packages/app-shell/src/views/metadata-admin/previews/DatasetPreview.tsxhandsstate.rowsas they arrived straight toChartRenderer:statealready carriesobjectand the preview already resolves measure labels throughheaderLabel, so the two inputs the net needs (the dataset's base object, the dimension names) are both in hand — nothing structural is missing, the call simply is not made. Nothing in the file declares the omission deliberate.Why it is worth a card
crm_account.industry) plots the raw stored value on the preview's x axis. That is the objectui#4053 / Analytics: the dataset widget's client-side dimension-label resolution is disabled for table / pivot / metric widgets, so a dotted dimension there still renders raw stored values #4263 defect shape exactly, one surface over: the server resolves nothing for a dotted path, so without the client net there is nothing to display but the enum.Not claimed
Refs objectui#4030, PR #4324, objectui#4330, PR #4388, objectui#4053, objectui#4263, objectui#4906.