- Fix AdhocFilterEditPopover deck_slices and layerFilterScope type casts
- Fix AdhocFilterEditPopover.test.tsx faultyAdhocFilter expressionType
- Fix findByRole options in test (remove unsupported disabled option)
- Add proper type for renderPopover props parameter
- Import AdhocFilterClass type for FiltersConfigForm onChange callback
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Cast metric to unknown for AdhocMetric constructor compatibility
- Cast filter to unknown for AdhocFilter constructor compatibility
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add null check for operatorId in AdhocFilter constructor
- Add null check for operator in isValid method
- Allow null for clause in AdhocFilterInput and AdhocFilter class
- Allow object type for subject to handle column objects
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix DatasourceControl type casts for getTemporalColumns and withTheme
- Fix ViewQueryModalFooter datasource prop to match expected SimpleDataSource type
- Update TestDatasource database type to match ExtendedDatasource
- Add QueryFormMetric type casts in DndFilterSelect.test.tsx for AdhocMetric
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add type annotations to AdhocFilterEditPopover class methods
- Add type casting for AdhocMetric constructor to handle @superset-ui/core types
- Add instanceof check for equals() call in DndMetricSelect
- Add index signature to ColumnType interface for flexibility
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Revert DatasourceControlProps to required props and add proper TestProps interface in tests
- Fix AdhocFilterOptionProps interface to match actual callback signatures
- Add optional chaining for onChange callbacks in AdhocFilterControl
- Fix AdhocFilter class type casting for translateToSql compatibility
- Add @ts-expect-error for propTypes/defaultProps assignments
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Make required props optional and add index signature to allow test files
to pass partial props without TypeScript errors.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix optionsForSelect to handle optional columns prop
- Add proper types to reduce and sort functions in AdhocFilterControl
- Update AdhocFilterControl.test.tsx to use flexible test interfaces
- Cast test props to Record<string, unknown> for withTheme compatibility
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add TestDatasource interface with flexible typing for tests
- Add AdhocFilterControlProps/State interfaces with full type coverage
- Type all AdhocFilterControl methods with proper signatures
- Add SelectOption interface and type helper functions
- Add SortComparator type for sort comparison functions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Allow additional properties via index signature to support test fixtures
and various usage patterns across the codebase.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add missing props to DatasourceControlProps interface (user, hovered, type, label, etc.)
- Fix ErrorAlert usage with proper message prop
- Add datasource prop to ViewQuery usage
- Add types to DndColumnSelectPopoverTitle props
- Add full TypeScript interfaces and class member types to AdhocFilter class
- Add full TypeScript interfaces and class member types to AdhocMetric class
- Update datasourceIconLookup with proper Record<string, ReactNode> type
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- CollectionControl: add type assertion for controlMap indexing
- DatasourceControl: create ExtendedDatasource interface with missing props
- Use ExtendedDatasource throughout DatasourceControl for proper typing
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add interfaces to CollectionControl with proper types for callbacks
- Add interfaces to DatasourceControl with proper types
- Fix CheckboxControl to accept ReactNode for label/description
- Move static propTypes/defaultProps to class properties
- Add type annotations to helper functions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add CollectionControlProps interface with all props including theme
- Add CollectionItem interface for value array items
- Type map callback parameters explicitly
- Add SupersetTheme type annotations to css callbacks
- Add selectable prop to SortableListItem
- Use optional chaining for nullable callbacks
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
SqlLab actions:
- Use `as const` for action creators to preserve literal types
- Allows proper type inference for ReturnType<typeof action>
- Fixes errors in src/core/sqlLab/index.ts which uses ReturnType
AnnotationLayer:
- Handle possibly undefined props in constructor
- Create processedOverrides to avoid mutating undefined
- Add default values for all optional state properties
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add proper TypeScript interfaces for AnnotationLayerProps and
AnnotationLayerState to fix implicit 'any' type errors. Also adds
types for SelectOption, SliceData, and AnnotationOverrides.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>