rusackas opened a new pull request, #36760: URL: https://github.com/apache/superset/pull/36760
## Summary Migrates 40 JavaScript/JSX files to TypeScript across SqlLab and explore directories, continuing the TypeScript migration effort. ### SqlLab (3 files) - `actions/sqlLab.ts` - Redux actions with typed Query, Database, and ThunkAction interfaces - `middlewares/persistSqlLabStateEnhancer.ts` - localStorage persistence with proper state types - `reducers/sqlLab.ts` - Reducer with SqlLabState and SqlLabAction types ### Explore (3 files) - `store.ts` - Store initialization with ExploreState/FormData interfaces - `controls.tsx` - Control definitions with Datasource interface - `store.test.tsx` - Test file renamed ### Controls (34 files) Comprehensive types added to: - `CheckboxControl.tsx` - CheckboxControlProps interface - `ViewportControl.tsx` - Viewport and ViewportControlProps interfaces with exported types - `SpatialControl.tsx` - SpatialType, SpatialValue, SpatialControlProps, and SpatialControlState interfaces - `AnnotationTypes.ts` - Proper type exports for annotation utilities Renamed with proper extensions: - SelectControl, TextAreaControl, MetricsControl - AdhocFilter, AdhocMetric, AdhocMetricOption - DatasourceControl, CollectionControl, FixedOrMetricControl - TimeSeriesColumnControl, DndColumnSelectPopoverTitle - Associated test files ## Test plan - [x] ESLint passes on all migrated files - [ ] Existing tests should pass (no behavioral changes) - [ ] TypeScript compilation succeeds 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
