Commit 5ef3aa7
committed
fix(lint): chart-field-unknown warns on the chartConfig binding keys the pinned renderer refuses (#15463)
The rule id covers exactly three positions — `chartConfig.xAxis.field`,
`chartConfig.yAxis[].field` and `chartConfig.series[].name` — and the
`@object-ui` revision this repo pins (`.objectui-sha`) refuses all three as
bindings, so the data failure the messages named ("the query result will not
contain it") never happens. `axisPresentation` builds an axis's presentation
minus its `field`, structurally rather than by a guard, so the x-axis stays
`buildChartSeries`' `xAxisKey` (the widget's `dimensions[0]`) and a y-axis
entry keeps only its slot, scale and chrome. `mergeAuthoredSeries` matches an
authored entry BY NAME against one derived series per entry of `values`, and
an entry matching none is ignored whole — the mark, colour, stack and axis
side hung on it land on nothing.
That is an ignored key, which is `widget-legacy-analytics-shape`'s class in
this same file, reported there at `warning` ("the dashboard renderer ignores
them ... a silent no-op"). All three positions drop to `warning`, suppressible
per widget, and each message states its own consequence: the axis positions
and the series position are refused for different reasons and had been sharing
one sentence. The finding is KEPT — unlike the #14436 over-reach this
measurement came from, the metadata really is wrong.
The tier drop is a behaviour change on the `sys_metadata` publish door. The
2026-08-15 ruling put the rule's whole error set there as one "this board
cannot render" class; that set was six ids and is now five. The demoted id
still RUNS at the door and still reaches the author, on the advisory channel —
pinned as its own case in runtime-gate.test.ts so "demoted" cannot decay into
"dropped".
`packages/platform-objects` is untouched: the shipped `system_overview`
dashboard declares no `chartConfig` at all and stays at zero findings.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012zGPuVVX3deAx9LdjK8jCk1 parent 85a2459 commit 5ef3aa7
5 files changed
Lines changed: 261 additions & 44 deletions
File tree
- .changeset
- packages/lint/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
| 550 | + | |
| 551 | + | |
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
559 | 566 | | |
560 | 567 | | |
561 | 568 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
700 | | - | |
701 | | - | |
702 | | - | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
703 | 708 | | |
704 | 709 | | |
705 | 710 | | |
| |||
824 | 829 | | |
825 | 830 | | |
826 | 831 | | |
827 | | - | |
| 832 | + | |
828 | 833 | | |
829 | | - | |
830 | | - | |
| 834 | + | |
| 835 | + | |
831 | 836 | | |
832 | 837 | | |
833 | 838 | | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
834 | 845 | | |
835 | 846 | | |
836 | 847 | | |
| |||
847 | 858 | | |
848 | 859 | | |
849 | 860 | | |
850 | | - | |
851 | | - | |
852 | | - | |
853 | | - | |
854 | | - | |
855 | 861 | | |
856 | 862 | | |
857 | 863 | | |
| |||
876 | 882 | | |
877 | 883 | | |
878 | 884 | | |
879 | | - | |
| 885 | + | |
| 886 | + | |
880 | 887 | | |
881 | | - | |
882 | 888 | | |
883 | 889 | | |
884 | 890 | | |
885 | 891 | | |
886 | 892 | | |
887 | 893 | | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
888 | 914 | | |
889 | 915 | | |
890 | 916 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
146 | 152 | | |
147 | 153 | | |
148 | 154 | | |
| |||
151 | 157 | | |
152 | 158 | | |
153 | 159 | | |
154 | | - | |
| 160 | + | |
| 161 | + | |
155 | 162 | | |
156 | 163 | | |
157 | 164 | | |
158 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
159 | 170 | | |
| 171 | + | |
160 | 172 | | |
161 | 173 | | |
162 | | - | |
| 174 | + | |
163 | 175 | | |
164 | 176 | | |
165 | 177 | | |
| |||
168 | 180 | | |
169 | 181 | | |
170 | 182 | | |
| 183 | + | |
| 184 | + | |
171 | 185 | | |
172 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
173 | 191 | | |
| 192 | + | |
174 | 193 | | |
175 | 194 | | |
176 | | - | |
| 195 | + | |
177 | 196 | | |
178 | 197 | | |
179 | 198 | | |
180 | 199 | | |
181 | 200 | | |
182 | 201 | | |
183 | 202 | | |
| 203 | + | |
| 204 | + | |
184 | 205 | | |
185 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
186 | 214 | | |
187 | 215 | | |
188 | 216 | | |
| |||
194 | 222 | | |
195 | 223 | | |
196 | 224 | | |
| 225 | + | |
197 | 226 | | |
198 | 227 | | |
| 228 | + | |
199 | 229 | | |
200 | 230 | | |
201 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
202 | 254 | | |
203 | 255 | | |
204 | 256 | | |
| |||
1673 | 1725 | | |
1674 | 1726 | | |
1675 | 1727 | | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
0 commit comments