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
feat(spec)!: ChartInteraction drops zoom and clickAction; stepSize/description/height are delivered (#3752)
The tail of the declared-≠-delivered sweep from #3729. Five ChartConfig props
reached the renderer and did nothing; each got the ADR-0078 call — honor it, or
remove it. Three were honored (objectui#2885), two are removed here.
Removed: ChartInteraction.zoom and ChartInteraction.clickAction. Both were
redundant against something the platform already delivers, which is why neither
had a consumer anywhere in the framework, the console, the showcase or the
skill corpus. `zoom` had no renderer primitive behind it and `brush` already
narrows a range (migration: brush: true). `clickAction` competed with two click
owners that DO work — drillDown, which opens the filtered records and is what a
segment click is almost always for, and the react tier's own onSegmentClick; a
third, silent owner only invited authors to wire a click that never fired
(migration: drillDown, or handle it in React). ChartInteraction is now
{ tooltips, brush }, both honored — the #1475 precedent: trim what cannot be
cleanly delivered, implement the rest, leave nothing inert in between.
Delivered: ChartAxis.stepSize, ChartConfig.description and ChartConfig.height
(objectui#2885). description and height join <ObjectChart>'s published
dataProps now that they do something; stepSize rides along inside xAxis/yAxis.
Their schema descriptions say what they do rather than restating their names.
Off-spec zoom/clickAction keys are stripped by Zod rather than rejected, so no
stored metadata fails to parse — the break is at the TypeScript type level for
anyone constructing a ChartInteraction in code.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UMHZBHTjH4rw8xmDYirFC7
0 commit comments