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 e53236a2740 fix(dashboard): fix test property name and prettier
formatting
discard 5e3462cd059 fix(dashboard): add required id property to
FilterConfigItem mock in test
discard 04a2d4ceb70 fix: address code review feedback for type safety and
logic bugs
discard c6fc418ff76 refactor(reports): fix AlertObject/ReportObject type
alignment
discard 085491562c0 refactor(tests): improve type safety in test files
discard 7fe9a40e98c refactor(dashboard): make preserveScopes generic to
eliminate casts
discard d78aa16eca1 refactor(dashboard): add FilterConfigItem type and improve
metadata typing
discard af8d80da15c refactor(dashboard): add missing properties to
DashboardState and DashboardInfo types
discard 5c58e52a639 refactor(dashboard): move re-resizable type imports to
top-level in Markdown
discard cd058787d83 refactor(dashboard): use SupersetTheme instead of inline
Emotion Theme
discard f277749c47a fix(dashboard): align addFilter signature with
ChartRenderer expectation
discard f3b04149b36 refactor(dashboard): use top-level import for
ChartCustomization type
discard e6f4e83b3b1 refactor(dashboard): type sliceEntities properly in
RootState
discard 05d6cb130ea refactor(pivot-table): define typed interfaces for
tableOptions and subtotalOptions
discard 36c1440deb7 fix(pivot-table): replace boolean casts with strict
equality and add null guards
discard 7329d763668 fix(nvd3): use @ts-expect-error instead of double cast for
type mismatch
discard a3d02022584 fix(mapbox): remove redundant type casts narrowed by
control flow
discard b0c5a36a6b8 fix(mapbox): use runtime typeof check instead of type
assertions for point radius
discard 27c8790b79d refactor(explore): extract repeated FilterOption cast to
local variable
discard 703ce965312 fix(mapbox): reuse validated numeric label instead of
repeated casts
discard bbabc6b22c3 refactor(eslint-rules): convert theme-colors plugin to ES
module imports
discard 903ffa94922 refactor(dashboard): consolidate duplicate type
definitions across utility files
discard 6293b0b384c fix(test): explicitly assert id is excluded from POST
payload
discard 041f78b7deb fix(sqlLab): cast thunk action to any for store.dispatch
discard 78e25722055 fix(mapbox): validate clusterLabel as number before radius
calculation
discard df36a5091e0 fix(mapbox): add runtime guard for empty dataset bounds
discard 459047f4939 fix(horizon-chart): use explicit array join for React key
discard 0e9f840382b chore: enforce TypeScript-only in src/ via ESLint
discard 68fa1a91bc4 fix(tests): prettier formatting and Column.test depth
attribute
discard f65a322a47f fix(tests): properly name fetch-mock routes for
DatasetList tests
discard 6785a615cb0 fix(types): use @ts-ignore for yeoman-test in Docker builds
discard b77c4f08b87 fix(tests): use fetch-mock v12 removeRoutes pattern for
DatasetList tests
discard a430a344462 fix: address CI test failures and pre-commit issues
discard 119cf9368ea fix: address bot review comments from CodeAnt and Bito
discard b06c40ba572 fix: properly filter null timestamps in BigNumber
trendline data
discard c133e9dc8da fix(tests): add missing setActiveTab mock to Tabs.test.tsx
discard 8bf808727b1 fix(tests): migrate DatasetList tests to fetch-mock v12 API
discard 431040d384e fix: address code review feedback - type safety and bug
fixes
discard 2a043f65e9e chore(frontend): comprehensive TypeScript migration for
dashboard and plugins
add 5040db859c8 test(playwright): additional dataset list playwright tests
(#36684)
add 00a53eec2d0 fix(translations): remove corrupted text from Spanish
translation file (#37717)
add 8506d702422 chore(deps-dev): bump webpack from 5.94.0 to 5.105.0 in
/superset-embedded-sdk (#37713)
add 361fe6fe898 chore(build): add @hainenber as codeowner for GHA workflow
changes (#37703)
add 27889651b3f chore(deps): bump markdown-to-jsx from 9.6.1 to 9.7.2 in
/superset-frontend (#37691)
add d3919cf24fe fix(translations): Periodic language strings extraction,
newly Translatable label positions for Radar Chart (#33940)
add b7acb7984f5 chore(deps-dev): bump @babel/core from 7.28.6 to 7.29.0 in
/superset-frontend (#37686)
add 97e5f0631d1 chore(deps): bump aws-actions/configure-aws-credentials
from 5 to 6 (#37685)
add 01ac966b830 fix(mcp): remove html.escape to fix ampersand display in
chart titles (#37186)
add cd447ca1fdb chore(deps): update @luma.gl/webgl requirement from ~9.2.2
to ~9.2.6 in /superset-frontend/plugins/legacy-preset-chart-deckgl (#37469)
add b71654877f6 chore(deps-dev): bump @types/node from 25.2.0 to 25.2.1 in
/superset-websocket (#37719)
add 1c35c3f6d04 chore(deps): bump markdown-to-jsx from 9.7.2 to 9.7.3 in
/superset-frontend (#37730)
add 9b861b2848d chore(deps): bump caniuse-lite from 1.0.30001768 to
1.0.30001769 in /docs (#37726)
add 8f22f093ad0 chore(frontend): comprehensive TypeScript migration for
dashboard and plugins
add 67151cc6047 fix: address code review feedback - type safety and bug
fixes
add 0efc9347187 fix(tests): migrate DatasetList tests to fetch-mock v12 API
add aec36c6ec5e fix(tests): add missing setActiveTab mock to Tabs.test.tsx
add 8f91532b162 fix: properly filter null timestamps in BigNumber
trendline data
add f5f036d2cba fix: address bot review comments from CodeAnt and Bito
add 7008086376c fix: address CI test failures and pre-commit issues
add b58119181f0 fix(tests): use fetch-mock v12 removeRoutes pattern for
DatasetList tests
add e4e518ca2eb fix(types): use @ts-ignore for yeoman-test in Docker builds
add ae7b7ac1680 fix(tests): properly name fetch-mock routes for
DatasetList tests
add f6ac525d299 fix(tests): prettier formatting and Column.test depth
attribute
add 1ad517fd09a chore: enforce TypeScript-only in src/ via ESLint
add 1dd7b95011d fix(horizon-chart): use explicit array join for React key
add 398daf6d78a fix(mapbox): add runtime guard for empty dataset bounds
add e799d1aafa1 fix(mapbox): validate clusterLabel as number before radius
calculation
add 494f0f0e2c8 fix(sqlLab): cast thunk action to any for store.dispatch
add f81f327f9b5 fix(test): explicitly assert id is excluded from POST
payload
add c04c8f2bf57 refactor(dashboard): consolidate duplicate type
definitions across utility files
add 24461145c22 refactor(eslint-rules): convert theme-colors plugin to ES
module imports
add f5b8c0f11d1 fix(mapbox): reuse validated numeric label instead of
repeated casts
add 0f49175963a refactor(explore): extract repeated FilterOption cast to
local variable
add 009b2dc1772 fix(mapbox): use runtime typeof check instead of type
assertions for point radius
add e58ce5dc2fe fix(mapbox): remove redundant type casts narrowed by
control flow
add cb6f84d01d6 fix(nvd3): use @ts-expect-error instead of double cast for
type mismatch
add 81530d149e2 fix(pivot-table): replace boolean casts with strict
equality and add null guards
add bd7aaf94eff refactor(pivot-table): define typed interfaces for
tableOptions and subtotalOptions
add 0f6a0150143 refactor(dashboard): type sliceEntities properly in
RootState
add b7514cecb08 refactor(dashboard): use top-level import for
ChartCustomization type
add a498463791f fix(dashboard): align addFilter signature with
ChartRenderer expectation
add c24e4993949 refactor(dashboard): use SupersetTheme instead of inline
Emotion Theme
add 80943e47cb1 refactor(dashboard): move re-resizable type imports to
top-level in Markdown
add f7a7948ce52 refactor(dashboard): add missing properties to
DashboardState and DashboardInfo types
add 1869de738f1 refactor(dashboard): add FilterConfigItem type and improve
metadata typing
add 77e3e375993 refactor(dashboard): make preserveScopes generic to
eliminate casts
add c51f0f072eb refactor(tests): improve type safety in test files
add 49c7f4cfe93 refactor(reports): fix AlertObject/ReportObject type
alignment
add a0b6dddbb9b fix: address code review feedback for type safety and
logic bugs
add 61e44349180 fix(dashboard): add required id property to
FilterConfigItem mock in test
add 17081aa5fc0 fix(dashboard): fix test property name and prettier
formatting
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 (e53236a2740)
\
N -- N -- N refs/heads/chore/ts-migration-dashboard (17081aa5fc0)
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:
.github/CODEOWNERS | 2 +-
.github/workflows/ephemeral-env-pr-close.yml | 2 +-
.github/workflows/ephemeral-env.yml | 4 +-
docs/package.json | 2 +-
docs/yarn.lock | 13 +-
superset-embedded-sdk/package-lock.json | 1120 +++++++++-----------
superset-frontend/package-lock.json | 72 +-
superset-frontend/package.json | 6 +-
.../packages/superset-core/package.json | 2 +-
.../packages/superset-ui-demo/package.json | 2 +-
superset-frontend/playwright.config.ts | 24 +-
.../playwright/components/ListView/BulkSelect.ts | 116 ++
.../components/ListView}/index.ts | 3 +-
.../playwright/components/core/AceEditor.ts | 207 ++++
.../playwright/components/core/Checkbox.ts | 95 ++
.../playwright/components/core/Select.ts | 187 ++++
.../playwright/components/core/Tabs.ts | 75 ++
.../playwright/components/core/Textarea.ts | 109 ++
.../playwright/components/core/index.ts | 5 +
.../playwright/components/modals/ConfirmDialog.ts | 75 ++
.../components/modals/DuplicateDatasetModal.ts | 5 +-
.../components/modals/EditDatasetModal.ts | 189 ++++
.../components/modals/ImportDatasetModal.ts | 73 ++
.../playwright/components/modals/index.ts | 1 +
.../playwright/fixtures/dataset_export.zip | Bin 4784 -> 5261 bytes
.../playwright/helpers/api/assertions.ts | 61 ++
.../playwright/helpers/api/database.ts | 74 +-
.../playwright/helpers/api/dataset.ts | 69 +-
.../playwright/helpers/api/intercepts.ts | 145 +++
.../utils => playwright/helpers/fixtures}/index.ts | 3 +-
.../playwright/helpers/fixtures/testAssets.ts | 68 ++
.../playwright/pages/ChartCreationPage.ts | 138 +++
.../playwright/pages/CreateDatasetPage.ts | 138 +++
.../playwright/pages/DatasetListPage.ts | 99 +-
.../experimental/dataset/create-dataset.spec.ts | 219 ++++
.../experimental/dataset/dataset-list.spec.ts | 630 +++++++++--
.../experimental/dataset/dataset-test-helpers.ts | 67 ++
superset-frontend/playwright/utils/constants.ts | 10 +
.../legacy-preset-chart-deckgl/package.json | 2 +-
.../src/Radar/controlPanel.tsx | 20 +-
.../plugins/plugin-chart-echarts/src/constants.ts | 17 -
superset-websocket/package-lock.json | 14 +-
superset-websocket/package.json | 2 +-
superset/mcp_service/chart/schemas.py | 287 +----
superset/mcp_service/chart/tool/generate_chart.py | 6 +-
superset/mcp_service/utils/sanitization.py | 283 +++++
superset/translations/es/LC_MESSAGES/messages.po | 28 +-
.../mcp_service/utils/test_sanitization.py | 480 +++++++++
48 files changed, 4136 insertions(+), 1113 deletions(-)
create mode 100644
superset-frontend/playwright/components/ListView/BulkSelect.ts
copy superset-frontend/{packages/superset-core/src/utils =>
playwright/components/ListView}/index.ts (89%)
create mode 100644 superset-frontend/playwright/components/core/AceEditor.ts
create mode 100644 superset-frontend/playwright/components/core/Checkbox.ts
create mode 100644 superset-frontend/playwright/components/core/Select.ts
create mode 100644 superset-frontend/playwright/components/core/Tabs.ts
create mode 100644 superset-frontend/playwright/components/core/Textarea.ts
create mode 100644
superset-frontend/playwright/components/modals/ConfirmDialog.ts
create mode 100644
superset-frontend/playwright/components/modals/EditDatasetModal.ts
create mode 100644
superset-frontend/playwright/components/modals/ImportDatasetModal.ts
copy superset/examples/slack_dashboard/datasets/threads.yaml =>
superset-frontend/playwright/fixtures/dataset_export.zip (51%)
create mode 100644 superset-frontend/playwright/helpers/api/assertions.ts
create mode 100644 superset-frontend/playwright/helpers/api/intercepts.ts
copy superset-frontend/{packages/superset-core/src/utils =>
playwright/helpers/fixtures}/index.ts (87%)
create mode 100644 superset-frontend/playwright/helpers/fixtures/testAssets.ts
create mode 100644 superset-frontend/playwright/pages/ChartCreationPage.ts
create mode 100644 superset-frontend/playwright/pages/CreateDatasetPage.ts
create mode 100644
superset-frontend/playwright/tests/experimental/dataset/create-dataset.spec.ts
create mode 100644
superset-frontend/playwright/tests/experimental/dataset/dataset-test-helpers.ts
create mode 100644 superset/mcp_service/utils/sanitization.py
create mode 100644 tests/unit_tests/mcp_service/utils/test_sanitization.py