This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch chore/ts-migration-non-dashboard
in repository https://gitbox.apache.org/repos/asf/superset.git
omit 9e91430fb45 fix(types): remove invalid getErrorMessage import from
FallbackComponent
omit afefb77802b style: format ExploreViewContainer with prettier
omit 2c070bda2de fix(types): correct ExploreViewContainer export type and
MatrixifyFormData cast
omit a7ccde63d5d fix(types): use callable type for actions to fix build
omit 500e2656e12 fix(types): simplify action types to fix build errors
omit d44a43705ef fix(types): improve type safety in ExploreViewContainer
omit f693a104fb2 style: format with prettier
omit b5afdd7376c fix(tests): resolve test failures in chartActions,
EmbedCodeContent, ExploreChartHeader, and logger
omit 6e6739a17b0 fix(tests): exclude compiled esm/lib directories from jest
omit 1f9729b9337 style: format with prettier
omit 77fbb1ef2a8 style: format with prettier
omit 517bb8f5243 fix(tests): fix test failures in ChartRenderer,
ExploreChartHeader, and Chart
omit c1dc963a464 fix(types): add missing properties to DatasourceEditor
types after rebase
omit 16c27d12bb5 fix(types): resolve TypeScript errors in explore and
report components
omit b34079ceed0 fix(types): address CI type errors in explore components
omit 27804880db7 fix(types): improve type safety in explore components
omit 32f2bbc405e fix(types): fix TypeScript errors across multiple files
omit 32c83e19c08 fix(types): fix hooks and queriesData type issues in
ChartRenderer
omit 6e8c8acff39 fix(types): fix remaining type mismatches in Chart
components
omit 088d20eae83 fix(types): fix setControlValue type and thunk dispatch
cast
omit 2d7bca8494e fix(types): resolve remaining TypeScript errors in
chartActions tests
omit f9b71dfdeb1 fix(types): align initialValues type and declare webpack
globals
omit 58b39212900 fix(types): use ContextMenuFilters from core and fix
FeatureFlagMap type
omit 6790547f8ee fix(types): add chartRenderingSucceeded to Actions type
omit 1fb4b2e64d8 fix(types): resolve TypeScript errors in Chart and
chartActions tests
omit d300a0edaa0 fix(tests): add type casting for mock return types in
chartActions tests
omit 12c62460e8f fix(types): widen onCellChange id parameter to string |
number
omit 741ef821987 fix: address code review feedback
omit d6da972a22f fix(types): address code review feedback
omit 78ce708b5da fix(types): add type safety to DatasourceEditor and
related components
omit f882a308ce3 fix(types): address code review feedback for TypeScript
migrations
omit 5553c721527 fix: resolve remaining TypeScript errors and code review
feedback
omit 1cd6a969982 fix: resolve TypeScript errors in migrated files
omit 8bc7d05eb5c fix(chart): use setDataMask prop as fallback when
actions.updateDataMask is absent
omit 1f52e02fa93 fix(chart): remove unused POST_CHART_FORM_DATA constant
omit 02a24cce18f fix(chart): use derived vizType for drill-to-detail
behavior check
omit 6b965911c83 fix(reports): only show success toast when delete succeeds
omit db8d606c898 fix: remove unused ChartDataResponse interface
omit 62701840949 chore(frontend): migrate non-dashboard JS/JSX files to
TypeScript
add 1f19ef92cb9 refactor(TimezoneSelector): Enhance timezone selection
logic and improve performance (#36486)
add 2d20079a884 fix(mcp): Remove screenshot URL functionality from MCP
chart tools (#37228)
add 6e1718910f9 fix(sqllab): show virtual dataset banner only when
isDataset param is true (#37184)
add fe16c828cf9 feat(mcp): Add support for AG Grid Interactive Table
(ag-grid-table) viz_type (#37191)
add 2187fb4ab44 fix(transpile_query): Fix export_as_csv error:
"transpile_to_dialect": ['Unknown field.'] (#37249)
add 50d0508a928 feat(mcp): Add Redis EventStore support for multi-pod
deployments (#37216)
add e1fa3745174 feat(mcp): add time_grain parameter to XY chart generation
(#37182)
add 3fba9678565 fix(delete-filter): deleted native filters are still shown
until [sc-96553] (#37012)
add 25647942fd7 fix(chart): Horizontal bar chart value labels cut off
(#36989)
add d0e80d2079b refactor: Redesigns the Results panel toolbar and enables
extensions to contribute toolbar actions (#37255)
add 2267b78a10e chore(deps): bump antd from 6.2.0 to 6.2.1 in /docs
(#37301)
add 445bc403b8c chore(deps): bump diff in /superset-frontend (#37292)
add 807ff513eff chore(deps): bump fs-extra from 11.3.2 to 11.3.3 in
/superset-frontend (#37274)
add 281c0c96722 chore: add paths to backend extension stack traces (#37300)
add 238bebebece fix(extensions): prevent duplicate initialization of
LOCAL_EXTENSIONS watcher (#37250)
add 801c84f0ef7 chore(deps-dev): bump typescript-eslint from 8.53.0 to
8.53.1 in /superset-websocket (#37268)
add 3fa7dba0946 chore(deps): bump diff from 5.2.0 to 5.2.2 in /docs
(#37291)
add a1d24f1e4a3 chore(deps-dev): bump oxlint from 1.33.0 to 1.41.0 in
/superset-frontend (#37279)
add 13013bbd64d chore(deps-dev): bump typescript-eslint from 8.53.0 to
8.53.1 in /docs (#37272)
add 4703fe8c5ac chore(frontend): migrate non-dashboard JS/JSX files to
TypeScript
add 49b748e62f5 fix: remove unused ChartDataResponse interface
add b66ec3ecf6b fix(reports): only show success toast when delete succeeds
add 714b80764d4 fix(chart): use derived vizType for drill-to-detail
behavior check
add ca5c6e8f59c fix(chart): remove unused POST_CHART_FORM_DATA constant
add fb9120e52e6 fix(chart): use setDataMask prop as fallback when
actions.updateDataMask is absent
add 8815252049b fix: resolve TypeScript errors in migrated files
add 4c0169ec2c9 fix: resolve remaining TypeScript errors and code review
feedback
add a72e5bf52d5 fix(types): address code review feedback for TypeScript
migrations
add da8e1cbb05d fix(types): add type safety to DatasourceEditor and
related components
add c555e24baeb fix(types): address code review feedback
add 9d15e7e6299 fix: address code review feedback
add 7d5e7eb19b6 fix(types): widen onCellChange id parameter to string |
number
add 76c95f16e64 fix(tests): add type casting for mock return types in
chartActions tests
add 9b593e6055b fix(types): resolve TypeScript errors in Chart and
chartActions tests
add a8999f965bb fix(types): add chartRenderingSucceeded to Actions type
add 624e5ccab7b fix(types): use ContextMenuFilters from core and fix
FeatureFlagMap type
add 482987f47d5 fix(types): align initialValues type and declare webpack
globals
add 054915b819a fix(types): resolve remaining TypeScript errors in
chartActions tests
add 51f65f08453 fix(types): fix setControlValue type and thunk dispatch
cast
add 2a0175726df fix(types): fix remaining type mismatches in Chart
components
add 3195e1b3ebe fix(types): fix hooks and queriesData type issues in
ChartRenderer
add 78e6d0100a1 fix(types): fix TypeScript errors across multiple files
add 749feed5502 fix(types): improve type safety in explore components
add c9d0d3e173b fix(types): address CI type errors in explore components
add 8eaaf1f45ea fix(types): resolve TypeScript errors in explore and
report components
add f7ef8ef9414 fix(types): add missing properties to DatasourceEditor
types after rebase
add 9458100064d fix(tests): fix test failures in ChartRenderer,
ExploreChartHeader, and Chart
add b8a995bad26 style: format with prettier
add 1d72869c34d style: format with prettier
add 0695aa0d194 fix(tests): exclude compiled esm/lib directories from jest
add c0b0bbed57a fix(tests): resolve test failures in chartActions,
EmbedCodeContent, ExploreChartHeader, and logger
add 86200428276 style: format with prettier
add 9dee386ed11 fix(types): improve type safety in ExploreViewContainer
add 837ed91a01c fix(types): simplify action types to fix build errors
add db2d8310671 fix(types): use callable type for actions to fix build
add d0b699c0934 fix(types): correct ExploreViewContainer export type and
MatrixifyFormData cast
add a12d19b027a style: format ExploreViewContainer with prettier
add 8ee96d07813 fix(types): remove invalid getErrorMessage import from
FallbackComponent
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (9e91430fb45)
\
N -- N -- N refs/heads/chore/ts-migration-non-dashboard
(8ee96d07813)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
docs/package.json | 4 +-
docs/yarn.lock | 188 ++++-----
superset-frontend/oxlint.json | 2 +-
superset-frontend/package-lock.json | 89 ++---
superset-frontend/package.json | 2 +-
.../src/components/DatePicker/index.tsx | 5 +-
.../TimezoneSelector/TimezoneOptionsCache.test.tsx | 256 ++++++++++++
.../TimezoneSelector/TimezoneOptionsCache.ts | 159 ++++++++
.../TimezoneSelector.DaylightSavingTime.test.tsx | 12 +-
.../TimezoneSelector/TimezoneSelector.test.tsx | 36 +-
.../src/components/TimezoneSelector/index.tsx | 237 +++++------
.../src/components/TimezoneSelector/types.ts} | 14 +-
.../src/Timeseries/transformProps.ts | 43 ++
.../plugins/plugin-chart-echarts/src/constants.ts | 2 +
.../test/Timeseries/helpers.ts | 122 ++++++
.../test/Timeseries/transformProps.test.ts | 441 ++++++++++++++-------
.../ExploreResultsButton.test.tsx | 8 +-
.../components/ExploreResultsButton/index.tsx | 12 +-
.../src/SqlLab/components/QueryHistory/index.tsx | 3 +
.../src/SqlLab/components/SaveQuery/index.tsx | 1 +
.../src/SqlLab/components/SouthPane/Results.tsx | 2 +-
.../src/SqlLab/components/SouthPane/index.tsx | 18 +-
.../src/SqlLab/components/SqlEditor/index.tsx | 26 +-
.../SqlEditorTopBar/SqlEditorTopBar.test.tsx | 62 +--
.../SqlLab/components/SqlEditorTopBar/index.tsx | 29 +-
superset-frontend/src/SqlLab/contributions.ts | 2 +
.../MenuListExtension/MenuListExtension.test.tsx | 374 -----------------
.../src/components/MenuListExtension/index.tsx | 157 --------
.../src/components/PanelToolbar/index.tsx | 165 ++++++++
.../src/dashboard/actions/nativeFilters.ts | 7 +-
.../src/dashboard/reducers/nativeFilters.test.ts | 180 ++++++++-
.../src/dashboard/reducers/nativeFilters.ts | 15 +-
.../src/explore/components/SaveModal.tsx | 2 +-
.../src/features/alerts/AlertReportModal.test.tsx | 3 +-
.../src/features/alerts/AlertReportModal.tsx | 50 ++-
.../src/pages/SqlLab/LocationContext.tsx | 3 +-
superset-websocket/package-lock.json | 244 ++++++------
superset-websocket/package.json | 2 +-
superset/charts/schemas.py | 7 +
superset/extensions/discovery.py | 22 +-
superset/extensions/local_extensions_watcher.py | 12 +
superset/extensions/types.py | 3 +
superset/extensions/utils.py | 55 ++-
superset/initialization/__init__.py | 5 +-
superset/mcp_service/auth.py | 32 +-
superset/mcp_service/chart/chart_utils.py | 20 +-
superset/mcp_service/chart/schemas.py | 28 +-
superset/mcp_service/chart/tool/generate_chart.py | 25 +-
.../mcp_service/chart/tool/get_chart_preview.py | 60 +--
superset/mcp_service/chart/tool/update_chart.py | 7 +-
.../mcp_service/chart/tool/update_chart_preview.py | 30 +-
superset/mcp_service/mcp_config.py | 12 +-
superset/mcp_service/server.py | 99 ++++-
superset/mcp_service/storage.py | 71 +++-
superset/mcp_service/utils/url_utils.py | 28 --
.../mcp_service/chart/test_chart_schemas.py | 53 +++
.../mcp_service/chart/test_chart_utils.py | 128 ++++++
tests/unit_tests/mcp_service/test_mcp_server.py | 126 ++++++
tests/unit_tests/mcp_service/test_mcp_storage.py | 194 ++++++++-
59 files changed, 2637 insertions(+), 1357 deletions(-)
create mode 100644
superset-frontend/packages/superset-ui-core/src/components/TimezoneSelector/TimezoneOptionsCache.test.tsx
create mode 100644
superset-frontend/packages/superset-ui-core/src/components/TimezoneSelector/TimezoneOptionsCache.ts
copy superset-frontend/{plugins/legacy-preset-chart-deckgl/src/TooltipRow.tsx
=> packages/superset-ui-core/src/components/TimezoneSelector/types.ts} (80%)
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/test/Timeseries/helpers.ts
delete mode 100644
superset-frontend/src/components/MenuListExtension/MenuListExtension.test.tsx
delete mode 100644 superset-frontend/src/components/MenuListExtension/index.tsx
create mode 100644 superset-frontend/src/components/PanelToolbar/index.tsx
create mode 100644 tests/unit_tests/mcp_service/test_mcp_server.py