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 2bd4281c85 fix(types): use TabularDataRow[] instead of Record<string,
any>[]
omit 290c0433d3 fix(reports): use report.id as key for alerts_reports in
reducer
omit 24ea52a920 fix(types): remove invalid getErrorMessage import from
FallbackComponent
omit 1dec1c3ef0 style: format ExploreViewContainer with prettier
omit 3ddfb7fbab fix(types): correct ExploreViewContainer export type and
MatrixifyFormData cast
omit 551c632417 fix(types): use callable type for actions to fix build
omit da5c5d174e fix(types): simplify action types to fix build errors
omit e143e4c439 fix(types): improve type safety in ExploreViewContainer
omit 94e6354b3b style: format with prettier
omit 016d638731 fix(tests): resolve test failures in chartActions,
EmbedCodeContent, ExploreChartHeader, and logger
omit c70f067eff fix(tests): exclude compiled esm/lib directories from jest
omit a4d62014a5 style: format with prettier
omit 35281e9463 style: format with prettier
omit b4a67d7e75 fix(tests): fix test failures in ChartRenderer,
ExploreChartHeader, and Chart
omit 7e6c955120 fix(types): add missing properties to DatasourceEditor
types after rebase
omit ee301341eb fix(types): resolve TypeScript errors in explore and report
components
omit 79ec06fe99 fix(types): address CI type errors in explore components
omit 8796220868 fix(types): improve type safety in explore components
omit 58171d1206 fix(types): fix TypeScript errors across multiple files
omit 2c41d09c93 fix(types): fix hooks and queriesData type issues in
ChartRenderer
omit 5c89bd0cc4 fix(types): fix remaining type mismatches in Chart
components
omit 2d7b7acbb1 fix(types): fix setControlValue type and thunk dispatch cast
omit a8f1341f9f fix(types): resolve remaining TypeScript errors in
chartActions tests
omit d2aeecb0bf fix(types): align initialValues type and declare webpack
globals
omit f0d3491e6a fix(types): use ContextMenuFilters from core and fix
FeatureFlagMap type
omit b9606bbec8 fix(types): add chartRenderingSucceeded to Actions type
omit 4db2428af6 fix(types): resolve TypeScript errors in Chart and
chartActions tests
omit 61460602e0 fix(tests): add type casting for mock return types in
chartActions tests
omit d51f34e22a fix(types): widen onCellChange id parameter to string |
number
omit a70a1c8e5f fix: address code review feedback
omit 44a4b7fa89 fix(types): address code review feedback
omit d4c8695629 fix(types): add type safety to DatasourceEditor and related
components
omit d08010c671 fix(types): address code review feedback for TypeScript
migrations
omit c4c11a75ad fix: resolve remaining TypeScript errors and code review
feedback
omit d408d28443 fix: resolve TypeScript errors in migrated files
omit 5075c761c7 fix(chart): use setDataMask prop as fallback when
actions.updateDataMask is absent
omit 22f65c88b9 fix(chart): remove unused POST_CHART_FORM_DATA constant
omit b64fa59d30 fix(chart): use derived vizType for drill-to-detail
behavior check
omit d4dd591ad8 fix(reports): only show success toast when delete succeeds
omit 3acfa8f06e fix: remove unused ChartDataResponse interface
omit 604f1eae33 chore(frontend): migrate non-dashboard JS/JSX files to
TypeScript
add 0ecc69d2f1 chore(deps): bump fastmcp from 2.14.0 to 2.14.3 (#37410)
add 2f81720603 chore(deps-dev): bump @swc/plugin-transform-imports from
10.0.0 to 12.4.0 in /superset-frontend (#37384)
add b09e60c1ec fix(deckgl-contour): prevent WebGL freeze by clamping and
auto-scaling cellSize (#37244)
add 19d5fa86fc chore(deps-dev): bump baseline-browser-mapping from 2.9.17
to 2.9.18 in /superset-frontend (#37426)
add 09b5af5945 chore(deps): bump markdown-to-jsx from 9.6.0 to 9.6.1 in
/superset-frontend (#37420)
add 04a9be04ab chore(deps-dev): bump @playwright/test from 1.57.0 to
1.58.0 in /superset-frontend (#37425)
add 470c593c3d chore(deps-dev): bump @types/node from 25.0.9 to 25.0.10 in
/superset-frontend (#37418)
add ce84ab4ce2 chore(deps-dev): bump cheerio from 1.1.2 to 1.2.0 in
/superset-frontend (#37423)
add c7cec19827 chore(deps): bump ace-builds from 1.43.5 to 1.43.6 in
/superset-frontend (#37424)
add 8aebfe1105 fix: display correct icon for Multi Chart in quick switcher
(#37256)
add 95a465ad7c feat(sqllab): add getActivePanel API for panel visibility
tracking (#37448)
add f2fc5dec11 chore(deps): bump ag-grid-react from 34.3.1 to 35.0.1 in
/superset-frontend (#37419)
add 695e295333 chore(deps): bump ag-grid-community from 34.3.1 to 35.0.1
in /superset-frontend (#37386)
add 89b998d6b7 chore(deps): bump react-intersection-observer from 10.0.0
to 10.0.2 in /superset-frontend (#37338)
add 647f21c26a chore(deps): bump hot-shots from 13.0.0 to 13.1.0 in
/superset-websocket (#37436)
add 0fd528c7af feat(sqllab): Improved query status indicator bar (#36936)
add 4db6f9e04c chore(trino): Add progress_text for additional running
state info (#36909)
add 26ac832138 chore(deps): update @luma.gl/engine requirement from ~9.2.4
to ~9.2.6 in /superset-frontend/plugins/legacy-preset-chart-deckgl (#37440)
add 290bcc1dbb feat(cache): use configurable hash algorithm for
flask-caching (#37361)
add 62f3df6fb5 chore(frontend): migrate non-dashboard JS/JSX files to
TypeScript
add e4921d25a1 fix: remove unused ChartDataResponse interface
add 4b375eaf1d fix(reports): only show success toast when delete succeeds
add 1986536283 fix(chart): use derived vizType for drill-to-detail
behavior check
add c178246d21 fix(chart): remove unused POST_CHART_FORM_DATA constant
add ca285a7859 fix(chart): use setDataMask prop as fallback when
actions.updateDataMask is absent
add 97034fd964 fix: resolve TypeScript errors in migrated files
add 01d3d39172 fix: resolve remaining TypeScript errors and code review
feedback
add db5ff1abba fix(types): address code review feedback for TypeScript
migrations
add 003d87ec43 fix(types): add type safety to DatasourceEditor and related
components
add 94bc70e8d7 fix(types): address code review feedback
add fa1921ab48 fix: address code review feedback
add 18b09158e4 fix(types): widen onCellChange id parameter to string |
number
add 1ba1af21fa fix(tests): add type casting for mock return types in
chartActions tests
add d2aeed5979 fix(types): resolve TypeScript errors in Chart and
chartActions tests
add 399e7a4ed3 fix(types): add chartRenderingSucceeded to Actions type
add 6fae1389c4 fix(types): use ContextMenuFilters from core and fix
FeatureFlagMap type
add 43b1356b93 fix(types): align initialValues type and declare webpack
globals
add cc11db84e0 fix(types): resolve remaining TypeScript errors in
chartActions tests
add 23ee9be406 fix(types): fix setControlValue type and thunk dispatch cast
add 10b41934c8 fix(types): fix remaining type mismatches in Chart
components
add 34ef36e9ea fix(types): fix hooks and queriesData type issues in
ChartRenderer
add e13ae0ef2c fix(types): fix TypeScript errors across multiple files
add e5c1d24ba2 fix(types): improve type safety in explore components
add ce6ddcea80 fix(types): address CI type errors in explore components
add 5d6611d47e fix(types): resolve TypeScript errors in explore and report
components
add 7075d14669 fix(types): add missing properties to DatasourceEditor
types after rebase
add 969d7f011d fix(tests): fix test failures in ChartRenderer,
ExploreChartHeader, and Chart
add 7046781e1e style: format with prettier
add 468537b4a9 style: format with prettier
add 405bcd3ad7 fix(tests): exclude compiled esm/lib directories from jest
add 2b033d31b8 fix(tests): resolve test failures in chartActions,
EmbedCodeContent, ExploreChartHeader, and logger
add ad3574dd04 style: format with prettier
add ad45eddc69 fix(types): improve type safety in ExploreViewContainer
add edf3ebf34d fix(types): simplify action types to fix build errors
add 97da3c3799 fix(types): use callable type for actions to fix build
add 77a224df27 fix(types): correct ExploreViewContainer export type and
MatrixifyFormData cast
add af3436eb32 style: format ExploreViewContainer with prettier
add bb67a3f663 fix(types): remove invalid getErrorMessage import from
FallbackComponent
add 58112ea20d fix(reports): use report.id as key for alerts_reports in
reducer
add 56019fb8b1 fix(types): use TabularDataRow[] instead of Record<string,
any>[]
add 22704b32a9 fix(types): remove unsafe Response cast in chartAction
catch block
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 (2bd4281c85)
\
N -- N -- N refs/heads/chore/ts-migration-non-dashboard
(22704b32a9)
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/dependabot.yml | 4 +
pyproject.toml | 2 +-
requirements/base.txt | 1 +
requirements/development.txt | 21 +-
superset-frontend/package-lock.json | 148 ++++----
superset-frontend/package.json | 16 +-
.../packages/superset-core/src/api/sqlLab.ts | 14 +
.../packages/superset-ui-core/package.json | 8 +-
.../src/components/Icons/index.tsx | 1 +
.../src/components/Timer/index.tsx | 4 +-
.../superset-ui-core/src/query/types/Query.ts | 1 +
.../legacy-preset-chart-deckgl/package.json | 2 +-
.../src/layers/Contour/Contour.tsx | 15 +-
.../src/layers/Contour/getSafeCellSize.test.ts | 67 ++++
.../src/layers/Contour/getSafeCellSize.ts | 73 ++++
.../src/layers/Contour/index.ts | 2 +
superset-frontend/src/SqlLab/actions/sqlLab.ts | 2 +-
.../QueryStatusBar/QueryStatusBar.test.tsx | 161 +++++++++
.../src/SqlLab/components/QueryStatusBar/index.tsx | 214 +++++++++++
.../SqlLab/components/ResultSet/ResultSet.test.tsx | 46 ---
.../src/SqlLab/components/ResultSet/index.tsx | 394 +++++++++------------
.../src/SqlLab/components/SouthPane/Results.tsx | 51 +--
.../assets/images/icons/multiple.svg} | Bin 1045 -> 1287 bytes
.../src/components/Chart/chartAction.ts | 4 +-
superset-frontend/src/core/sqlLab/index.ts | 6 +
.../controls/VizTypeControl/FastVizSwitcher.tsx | 6 +-
.../VizTypeControl/VizTypeControl.test.tsx | 29 ++
.../controls/VizTypeControl/constants.tsx | 6 +
superset-websocket/package-lock.json | 14 +-
superset-websocket/package.json | 2 +-
superset/db_engine_specs/trino.py | 12 +
superset/utils/cache.py | 3 +-
superset/utils/cache_manager.py | 141 +++++++-
tests/integration_tests/security_tests.py | 3 +-
tests/unit_tests/db_engine_specs/test_trino.py | 171 +++++++++
tests/unit_tests/utils/test_cache_manager.py | 171 +++++++++
36 files changed, 1398 insertions(+), 417 deletions(-)
create mode 100644
superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Contour/getSafeCellSize.test.ts
create mode 100644
superset-frontend/plugins/legacy-preset-chart-deckgl/src/layers/Contour/getSafeCellSize.ts
create mode 100644
superset-frontend/src/SqlLab/components/QueryStatusBar/QueryStatusBar.test.tsx
create mode 100644
superset-frontend/src/SqlLab/components/QueryStatusBar/index.tsx
copy
superset-frontend/{packages/superset-ui-chart-controls/src/components/ColumnTypeLabel/type-icons/field_num.svg
=> src/assets/images/icons/multiple.svg} (62%)
create mode 100644 tests/unit_tests/utils/test_cache_manager.py