Collapse multi-file plugin into single index.tsx. Screengrid uses
shared buildSpatialQuery/transformSpatialProps + grid size + default/
fixed/categorical color scheme. Screengrid.tsx component stays as
sibling for Multi.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collapse multi-file plugin into single index.tsx. Scatter keeps its
custom buildQuery (spatial config required, metric-or-fixed radius
handling) and transformProps (radius from metric/fix value, category
column, js columns).
Also wires `onInit?: ControlPanelConfig['onInit']` through to
defineChart so Scatter can clear time_grain_sqla and granularity on
chart initialization. The onInit hook is now an optional metadata-level
override surfaced in the generated ControlPanelConfig.
Scatter.tsx component stays as sibling for Multi.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collapse multi-file plugin into single index.tsx. Polygon keeps its
custom buildQuery (line_column required, optional metric/elevation
metric handling, null filter) and transformProps (json/geohash/zipcode
polygon decoders, fixed/metric elevation, reverse_long_lat). Largest
deckgl layer (500+ lines) but follows the same pattern. Polygon.tsx
component stays as sibling for Multi.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collapse multi-file plugin into single index.tsx. Path keeps its
custom buildQuery (line_column required, optional metric/groupby
handling) and transformProps (decoders for json/polyline/geohash line
formats, reverse_long_lat support). Path.tsx component stays as
sibling for Multi.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collapse multi-file plugin into single index.tsx. Hex uses shared
buildSpatialQuery/transformSpatialProps + categorical color scheme +
dynamic aggregation function (sum/min/max/mean/median/count/etc).
Hex.tsx component stays as sibling for Multi.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collapse multi-file plugin into single index.tsx. Heatmap uses shared
buildSpatialQuery/transformSpatialProps, plus intensity/radius_pixels
controls and a linear color scheme palette. Heatmap.tsx component
stays as sibling for Multi.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collapse multi-file plugin (buildQuery, controlPanel, transformProps,
index) into single index.tsx. The Geojson.tsx component stays as
sibling. Largest deckgl controlPanel so far due to extensive label /
icon / JavaScript config controls.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collapse the multi-file plugin (buildQuery, controlPanel,
transformProps, index) into a single index.tsx. Contour delegates to
the shared buildSpatialQuery / transformSpatialProps from ../spatialUtils.
The Contour.tsx component, getSafeCellSize helper, and Multi.tsx's
getPoints import stay intact.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
First of 10 deck.gl layer consolidations: collapses Arc's multi-file
plugin (buildQuery, controlPanel, transformProps, index) into a single
index.tsx using defineChart(). The Arc.tsx component (and its
getPoints / getLayer / getHighlightLayer exports for Multi.tsx) stays
intact as a sibling.
Also wires @superset-ui/glyph-core as a TypeScript project reference
in preset-chart-deckgl/tsconfig.json so the deckgl plugin can resolve
the glyph-core source.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collapse the multi-file plugin/ subdirectory (buildQuery, controlPanel,
transformProps, index) into a single top-level src/index.tsx using
defineChart(). The chart/WordCloud.tsx component stays as a sibling.
- Move plugin/controls/ up to src/controls/ so the new index.tsx can
import the local RotationControl and ColorSchemeControl directly.
- Delete src/index.ts barrel (the new index.tsx is the entrypoint and
re-exports from ./types).
- WordCloudChartPlugin is exported both as default and named, matching
the previous public API.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Migrate the remaining 3 nvd3 charts to single-file glyph pattern,
matching TimePivot which already uses defineChart. Each plugin now
has a single index.tsx replacing the prior multi-file
{controlPanel.ts, index.ts} layout. All charts continue to share
../transformProps and ../ReactNVD3 via require().
Also adds `label?: ChartLabel` pass-through to the defineChart
metadata interface so the Deprecated badge survives the consolidation
(Bubble + Compare use it).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>