This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch chore/ts-migration-dashboard
in repository https://gitbox.apache.org/repos/asf/superset.git
discard dea3e091fb5 fix: address code review feedback for type safety and
logic bugs
discard b1a3ce4e841 refactor(reports): fix AlertObject/ReportObject type
alignment
discard bbd1dc38bc0 refactor(tests): improve type safety in test files
discard 39644a27519 refactor(dashboard): make preserveScopes generic to
eliminate casts
discard 7f210424fcb refactor(dashboard): add FilterConfigItem type and improve
metadata typing
discard 7265f63d4a6 refactor(dashboard): add missing properties to
DashboardState and DashboardInfo types
discard d0f27eb2fbd refactor(dashboard): move re-resizable type imports to
top-level in Markdown
discard a8777a9f0c9 refactor(dashboard): use SupersetTheme instead of inline
Emotion Theme
discard 78ab82a88ff fix(dashboard): align addFilter signature with
ChartRenderer expectation
discard 7156274517c refactor(dashboard): use top-level import for
ChartCustomization type
discard 852617754dc refactor(dashboard): type sliceEntities properly in
RootState
omit 09bbd486323 refactor(pivot-table): define typed interfaces for
tableOptions and subtotalOptions
omit 74e519ee9fa fix(pivot-table): replace boolean casts with strict
equality and add null guards
omit 76fa3c6ac59 fix(nvd3): use @ts-expect-error instead of double cast for
type mismatch
omit 78a7b434501 fix(mapbox): remove redundant type casts narrowed by
control flow
omit f2c96b30ca7 fix(mapbox): use runtime typeof check instead of type
assertions for point radius
omit 922c6817d79 refactor(explore): extract repeated FilterOption cast to
local variable
omit cc6c4b6e0e8 fix(mapbox): reuse validated numeric label instead of
repeated casts
omit ba8d3916143 refactor(eslint-rules): convert theme-colors plugin to ES
module imports
omit 3ac3e87add7 refactor(dashboard): consolidate duplicate type
definitions across utility files
omit 572c4a7ba26 fix(test): explicitly assert id is excluded from POST
payload
omit 651a7289c2a fix(sqlLab): cast thunk action to any for store.dispatch
omit 5a26fdb7724 fix(mapbox): validate clusterLabel as number before radius
calculation
omit 275e4c44fe4 fix(mapbox): add runtime guard for empty dataset bounds
omit 0440a79eee4 fix(horizon-chart): use explicit array join for React key
omit 5eb129c6365 chore: enforce TypeScript-only in src/ via ESLint
omit 41d67569f50 fix(tests): prettier formatting and Column.test depth
attribute
omit 53aa36db91a fix(tests): properly name fetch-mock routes for
DatasetList tests
omit 09f75284d4f fix(types): use @ts-ignore for yeoman-test in Docker builds
omit 70b8f425dbd fix(tests): use fetch-mock v12 removeRoutes pattern for
DatasetList tests
omit 19c60a13e7f fix: address CI test failures and pre-commit issues
omit 869be76161e fix: address bot review comments from CodeAnt and Bito
omit 68159bef34c fix: properly filter null timestamps in BigNumber
trendline data
omit 05976cdfc10 fix(tests): add missing setActiveTab mock to Tabs.test.tsx
omit 8746f16c0bc fix(tests): migrate DatasetList tests to fetch-mock v12 API
omit ed3d93c0984 fix: address code review feedback - type safety and bug
fixes
omit 8180c2cfca5 chore(frontend): comprehensive TypeScript migration for
dashboard and plugins
add 4e4fa53c8d9 fix: Rename Truncate Axis to Truncate Y Axis in bar chart
controls (#37403)
add c09a4f6f471 chore(deps): bump googleapis from 171.1.0 to 171.2.0 in
/superset-frontend (#37690)
add 20f1918dd6b chore(deps): bump caniuse-lite from 1.0.30001767 to
1.0.30001768 in /docs (#37684)
add a9dca529c17 fix(mcp): treat runtime validation warnings as
informational, not errors (#37214)
add 4147d877fc1 fix(mcp): prevent DATE_TRUNC on non-temporal columns in
chart generation (#37433)
add fd8c21591a0 chore(deps-dev): update @babel/types requirement from
^7.28.6 to ^7.29.0 in /superset-frontend/plugins/plugin-chart-pivot-table
(#37603)
add 75fa474fced test(native-filters): add unit tests for requiredFirst
filter logic (#37640)
add 4f42928b34d fix(sqllab): Skip progress bar on no data (#37652)
add 2e463078a2c refactor(filters): extract shouldShowTimeRangePicker and
improve test coverage (#36012)
add 47db185e3b9 fix(mcp): include x_axis column in query context for
series charts with group_by (#37639)
add ef4f7afa90e chore(docs): improve build performance and fix OOM crashes
(#37588)
add 2a043f65e9e chore(frontend): comprehensive TypeScript migration for
dashboard and plugins
add 431040d384e fix: address code review feedback - type safety and bug
fixes
add 8bf808727b1 fix(tests): migrate DatasetList tests to fetch-mock v12 API
add c133e9dc8da fix(tests): add missing setActiveTab mock to Tabs.test.tsx
add b06c40ba572 fix: properly filter null timestamps in BigNumber
trendline data
add 119cf9368ea fix: address bot review comments from CodeAnt and Bito
add a430a344462 fix: address CI test failures and pre-commit issues
add b77c4f08b87 fix(tests): use fetch-mock v12 removeRoutes pattern for
DatasetList tests
add 6785a615cb0 fix(types): use @ts-ignore for yeoman-test in Docker builds
add f65a322a47f fix(tests): properly name fetch-mock routes for
DatasetList tests
add 68fa1a91bc4 fix(tests): prettier formatting and Column.test depth
attribute
add 0e9f840382b chore: enforce TypeScript-only in src/ via ESLint
add 459047f4939 fix(horizon-chart): use explicit array join for React key
add df36a5091e0 fix(mapbox): add runtime guard for empty dataset bounds
add 78e25722055 fix(mapbox): validate clusterLabel as number before radius
calculation
add 041f78b7deb fix(sqlLab): cast thunk action to any for store.dispatch
add 6293b0b384c fix(test): explicitly assert id is excluded from POST
payload
add 903ffa94922 refactor(dashboard): consolidate duplicate type
definitions across utility files
add bbabc6b22c3 refactor(eslint-rules): convert theme-colors plugin to ES
module imports
add 703ce965312 fix(mapbox): reuse validated numeric label instead of
repeated casts
add 27c8790b79d refactor(explore): extract repeated FilterOption cast to
local variable
add b0c5a36a6b8 fix(mapbox): use runtime typeof check instead of type
assertions for point radius
add a3d02022584 fix(mapbox): remove redundant type casts narrowed by
control flow
add 7329d763668 fix(nvd3): use @ts-expect-error instead of double cast for
type mismatch
add 36c1440deb7 fix(pivot-table): replace boolean casts with strict
equality and add null guards
add 05d6cb130ea refactor(pivot-table): define typed interfaces for
tableOptions and subtotalOptions
add e6f4e83b3b1 refactor(dashboard): type sliceEntities properly in
RootState
add f3b04149b36 refactor(dashboard): use top-level import for
ChartCustomization type
add f277749c47a fix(dashboard): align addFilter signature with
ChartRenderer expectation
add cd058787d83 refactor(dashboard): use SupersetTheme instead of inline
Emotion Theme
add 5c58e52a639 refactor(dashboard): move re-resizable type imports to
top-level in Markdown
add af8d80da15c refactor(dashboard): add missing properties to
DashboardState and DashboardInfo types
add d78aa16eca1 refactor(dashboard): add FilterConfigItem type and improve
metadata typing
add 7fe9a40e98c refactor(dashboard): make preserveScopes generic to
eliminate casts
add 085491562c0 refactor(tests): improve type safety in test files
add c6fc418ff76 refactor(reports): fix AlertObject/ReportObject type
alignment
add 04a2d4ceb70 fix: address code review feedback for type safety and
logic bugs
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 (dea3e091fb5)
\
N -- N -- N refs/heads/chore/ts-migration-dashboard (04a2d4ceb70)
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/docusaurus.config.ts | 12 +-
docs/netlify.toml | 2 +-
docs/package.json | 24 +-
docs/src/data/databases.json | 146 ++++++-
docs/src/pages/index.tsx | 4 +-
docs/src/styles/antd-theme.less | 27 --
docs/src/styles/{main.less => main.css} | 152 +++----
docs/src/webpack.extend.ts | 37 +-
docs/yarn.lock | 443 ++++++++++-----------
superset-frontend/package-lock.json | 18 +-
superset-frontend/package.json | 2 +-
.../src/Timeseries/Regular/Bar/controlPanel.tsx | 6 +-
.../plugins/plugin-chart-pivot-table/package.json | 2 +-
.../SqlLab/components/SouthPane/Results.test.tsx | 34 ++
.../src/SqlLab/components/SouthPane/Results.tsx | 34 +-
.../src/SqlLab/reducers/sqlLab.test.ts | 22 +
superset-frontend/src/SqlLab/reducers/sqlLab.ts | 7 +
.../components/DashboardBuilder/state.test.ts | 254 ++++++++++++
.../FiltersConfigForm/FiltersConfigForm.tsx | 11 +-
.../FiltersConfigForm/utils.test.ts | 278 +++++++++++++
.../FiltersConfigModal/FiltersConfigForm/utils.ts | 25 ++
.../FiltersConfigModal/FiltersConfigModal.test.tsx | 155 +++----
superset/mcp_service/chart/chart_utils.py | 157 +++++++-
superset/mcp_service/chart/preview_utils.py | 23 +-
superset/mcp_service/chart/schemas.py | 10 +-
superset/mcp_service/chart/tool/generate_chart.py | 38 +-
superset/mcp_service/chart/tool/get_chart_data.py | 15 +-
.../mcp_service/chart/tool/get_chart_preview.py | 25 +-
superset/mcp_service/chart/tool/update_chart.py | 4 +-
.../mcp_service/chart/tool/update_chart_preview.py | 5 +-
superset/mcp_service/chart/validation/pipeline.py | 66 ++-
.../chart/validation/runtime/__init__.py | 29 +-
.../explore/tool/generate_explore_link.py | 5 +-
.../mcp_service/chart/test_chart_schemas.py | 36 ++
.../mcp_service/chart/test_chart_utils.py | 281 ++++++++++++-
.../mcp_service/chart/test_preview_utils.py | 158 ++++++++
.../mcp_service/chart/tool/test_get_chart_data.py | 109 +++++
.../chart/tool/test_get_chart_preview.py | 113 ++++++
.../chart/validation/test_runtime_validator.py | 52 ++-
.../explore/tool/test_generate_explore_link.py | 23 +-
40 files changed, 2287 insertions(+), 557 deletions(-)
delete mode 100644 docs/src/styles/antd-theme.less
rename docs/src/styles/{main.less => main.css} (71%)
create mode 100644
superset-frontend/src/dashboard/components/DashboardBuilder/state.test.ts
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/utils.test.ts
create mode 100644 tests/unit_tests/mcp_service/chart/test_preview_utils.py