Commit Graph

18402 Commits

Author SHA1 Message Date
Evan Rusackas
586e03cb80 fix(types): fix remaining TypeScript errors in filter components
- 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>
2026-01-03 22:07:02 -08:00
Evan Rusackas
6cd18d4d2e fix(types): add type casts in AdhocFilterControl for AdhocMetric and AdhocFilter
- 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>
2026-01-03 22:07:02 -08:00
Evan Rusackas
bd551be4b3 fix(types): fix AdhocFilter interface and null checks
- 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>
2026-01-03 22:07:02 -08:00
Evan Rusackas
666c8ce085 fix(types): fix more TypeScript errors in DatasourceControl and tests
- 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>
2026-01-03 22:07:02 -08:00
Evan Rusackas
919de23304 fix(types): add TypeScript type annotations to metric and filter controls
- 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>
2026-01-03 22:07:02 -08:00
Evan Rusackas
6878882d9f fix(types): fix TypeScript errors in controls and filters
- 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>
2026-01-03 22:07:01 -08:00
Evan Rusackas
419e505d36 fix(types): make DatasourceControlProps more flexible for test usage
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>
2026-01-03 22:07:01 -08:00
Evan Rusackas
8e1fe0be7a fix(types): fix implicit any types and test interfaces
- 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>
2026-01-03 22:07:01 -08:00
Evan Rusackas
edc82b09e3 fix(types): add TypeScript interfaces to control components
- 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>
2026-01-03 22:07:01 -08:00
Evan Rusackas
f182d0fd43 fix(types): make AdhocFilter and AdhocMetric interfaces more flexible
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>
2026-01-03 22:07:00 -08:00
Evan Rusackas
a737894d47 chore: remove unrelated extension files from TypeScript migration PR
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 22:07:00 -08:00
Evan Rusackas
9dd441fb10 fix(types): add TypeScript types to controls and AdhocFilter/AdhocMetric
- 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>
2026-01-03 22:07:00 -08:00
Evan Rusackas
362634c61a fix(types): fix more TypeScript errors in controls
- 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>
2026-01-03 22:07:00 -08:00
Evan Rusackas
6dc5277120 fix(types): fix TypeScript errors in CollectionControl, DatasourceControl
- 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>
2026-01-03 22:07:00 -08:00
Evan Rusackas
ffc3af0d34 fix(types): add TypeScript interface to CollectionControl
- 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>
2026-01-03 22:07:00 -08:00
Evan Rusackas
e7129b4600 fix(types): resolve remaining TypeScript errors in explore controls
- Fix AnnotationLayer.tsx close() possibly undefined with optional chaining
- Fix AnnotationTypes.ts readonly array incompatibility by spreading to mutable
- Add TypeScript interface to SelectControl.tsx
- Add missing props (name, description, hovered, showHeader) to TextControl
- Add missing props (name, description, hovered) to CheckboxControl

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 22:06:59 -08:00
Evan Rusackas
c9b0d8d5af fix(types): fix TypeScript errors in SqlLab actions and AnnotationLayer
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>
2026-01-03 22:06:59 -08:00
Evan Rusackas
6a4608d3a9 fix(types): add comprehensive TypeScript types to AnnotationLayer
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>
2026-01-03 22:06:59 -08:00
Evan Rusackas
66e8795bf7 chore(frontend): migrate SqlLab and explore JS/JSX files to TypeScript
Migrate 40 files from JavaScript/JSX to TypeScript:

SqlLab:
- actions/sqlLab.ts - Redux actions with typed thunks
- middlewares/persistSqlLabStateEnhancer.ts - localStorage persistence
- reducers/sqlLab.ts - Reducer with SqlLabState types

Explore:
- store.ts - Store initialization with ExploreState types
- controls.tsx - Control definitions with Datasource interface

Controls (33 files):
- CheckboxControl, ViewportControl, SpatialControl with full interfaces
- AnnotationLayer, AnnotationTypes with proper type exports
- AdhocFilter, AdhocMetric, MetricsControl conversions
- SelectControl, TextAreaControl, DatasourceControl
- CollectionControl, FixedOrMetricControl, TimeSeriesColumnControl

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 22:06:59 -08:00
Đỗ Trọng Hải
2080633e57 other: resolve frontend dep vulns (#36820)
Signed-off-by: hainenber <dotronghai96@gmail.com>
2026-01-02 23:28:44 -08:00
dependabot[bot]
ac27c0aa3c chore(deps-dev): bump @typescript-eslint/parser from 8.50.1 to 8.51.0 in /superset-websocket (#36861)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 23:21:59 -08:00
dependabot[bot]
53fa65fe67 chore(deps): bump caniuse-lite from 1.0.30001761 to 1.0.30001762 in /docs (#36865)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 23:19:04 -08:00
dependabot[bot]
fdef8fa50a chore(deps-dev): bump @typescript-eslint/parser from 8.50.1 to 8.51.0 in /docs (#36866)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 23:18:50 -08:00
İbrahim Ercan
1334040fd6 chore(docs): Include VLMedia logo to intothewild (#36868)
Co-authored-by: Ibrahim Ercan <ibrahim.ercan@vlmedia.com.tr>
2026-01-02 23:18:31 -08:00
nmdo
52af489d8f docs: Add Rogow to INTHEWILD.yaml (#36879) 2026-01-02 23:14:43 -08:00
innovark
d07a452e9b fix(RightMenu): fix inconsistent icon alignment in RightMenu items (#36532) 2026-01-02 23:13:08 -08:00
dependabot[bot]
aed95453b3 chore(deps): bump qs from 6.14.0 to 6.14.1 in /superset-websocket/utils/client-ws-app (#36883)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 23:10:25 -08:00
dependabot[bot]
4451e8db05 chore(deps): bump qs from 6.14.0 to 6.14.1 in /docs (#36884)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 23:10:08 -08:00
dependabot[bot]
dd2eb6293d chore(deps-dev): bump globals from 16.5.0 to 17.0.0 in /superset-websocket (#36885)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 23:09:39 -08:00
dependabot[bot]
1b1be96274 chore(deps-dev): bump globals from 16.5.0 to 17.0.0 in /docs (#36886)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-02 23:09:22 -08:00
innovark
e5489bd30f fix(SavedQueries): unify query card actions styling across all home page cards (#36671) 2026-01-02 14:41:47 +01:00
Levis Mbote
12aa425049 fix(logout): clicking logout displays an error notification "invalid username or password" (#36490) 2026-01-02 12:59:27 +01:00
Luis Sánchez
c31224c891 fix(TableChart): render cell bars for columns with NULL values (#36819) 2025-12-31 17:51:35 +03:00
Mehmet Salih Yavuz
85e830de46 fix: Clear database form errors (#36854) 2025-12-31 15:25:23 +01:00
Geidō
d4ba44fce2 fix: Query history view button in SqlLab (#36540) 2025-12-31 15:18:59 +01:00
Enzo Martellucci
7cd76e4647 fix: SqlLab error when collapsing the left panel preview (#36858)
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com>
2025-12-31 14:11:59 +01:00
Enzo Martellucci
e112d863bf fix(dashboard): resolve tab reorder state sync issues (#36855) 2025-12-31 13:50:58 +01:00
Enzo Martellucci
fe5d5fdae6 fix(chart-creation): use exact match when loading dataset from URL parameter (#36831) 2025-12-31 13:50:03 +01:00
cr0fters
02411ffde0 docs: Add EnquiryLabs to INTHEWILD.yaml (#36843) 2025-12-27 20:44:36 -08:00
dependabot[bot]
1697cf733b chore(deps): bump antd from 6.1.1 to 6.1.2 in /docs (#36823)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-27 20:42:16 -08:00
Mehmet Salih Yavuz
28c802fb6c fix(TableCollection): only apply highlight class when defined (#36809) 2025-12-24 16:26:01 +01:00
dependabot[bot]
362b5e3b89 chore(deps-dev): bump js-yaml from 3.14.1 to 3.14.2 in /superset-frontend (#36711)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-23 15:20:58 -08:00
dependabot[bot]
bf5070471d chore(deps): bump storybook from 8.6.14 to 8.6.15 in /docs (#36727)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-23 15:20:39 -08:00
dependabot[bot]
100789200a chore(deps): bump hot-shots from 11.4.0 to 12.0.0 in /superset-websocket (#36786)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-23 15:20:22 -08:00
dependabot[bot]
f95f125c4c chore(deps-dev): bump html-webpack-plugin from 5.6.4 to 5.6.5 in /superset-frontend (#36787)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-23 15:20:05 -08:00
dependabot[bot]
fd67d3190a chore(deps-dev): bump typescript-eslint from 8.50.0 to 8.50.1 in /docs (#36801)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-23 15:19:30 -08:00
dependabot[bot]
bd8d4ddbee chore(deps-dev): bump typescript-eslint from 8.50.0 to 8.50.1 in /superset-websocket (#36802)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-23 15:19:13 -08:00
Beto Dealmeida
ecb4e483df fix: apply EXCLUDE_USERS_FROM_LISTS to /api/v1/security/users/ (#36742)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 15:18:34 -08:00
Sebastian Jingoi
f8cb935105 feat(reports): add webhook option for notifications (#36127)
Co-authored-by: Hriday Algh <hridayalgh@gmail.com>
Co-authored-by: Hriday Algh <53922405+AlwaysIngame@users.noreply.github.com>
Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com>
2025-12-23 10:51:04 -08:00
Michael S. Molina
ba8d6eb9ac docs: Adds a new "Dependencies" page to the Developer Portal (#36817) 2025-12-23 10:41:10 -08:00