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
discard 48275832f2b fix(types): add explanatory comment for type cast in
AnnotationLayerControl
discard 04d1b0f14e7 fix(types): fix column type mismatch in ResultSet
prepareCopyToClipboardTabularData
discard 76dd55a390e fix(types): remove unnecessary else branch in
ChartRenderer setDataMask
discard 22704b32a98 fix(types): remove unsafe Response cast in chartAction
catch block
discard 56019fb8b19 fix(types): use TabularDataRow[] instead of Record<string,
any>[]
discard 58112ea20da fix(reports): use report.id as key for alerts_reports in
reducer
discard bb67a3f6636 fix(types): remove invalid getErrorMessage import from
FallbackComponent
discard af3436eb327 style: format ExploreViewContainer with prettier
discard 77a224df275 fix(types): correct ExploreViewContainer export type and
MatrixifyFormData cast
discard 97da3c3799c fix(types): use callable type for actions to fix build
discard edf3ebf34d4 fix(types): simplify action types to fix build errors
discard ad45eddc698 fix(types): improve type safety in ExploreViewContainer
discard ad3574dd048 style: format with prettier
discard 2b033d31b8f fix(tests): resolve test failures in chartActions,
EmbedCodeContent, ExploreChartHeader, and logger
discard 405bcd3ad78 fix(tests): exclude compiled esm/lib directories from jest
discard 468537b4a95 style: format with prettier
discard 7046781e1e8 style: format with prettier
discard 969d7f011d4 fix(tests): fix test failures in ChartRenderer,
ExploreChartHeader, and Chart
discard 7075d146691 fix(types): add missing properties to DatasourceEditor
types after rebase
discard 5d6611d47e2 fix(types): resolve TypeScript errors in explore and
report components
discard ce6ddcea80e fix(types): address CI type errors in explore components
discard e5c1d24ba21 fix(types): improve type safety in explore components
discard e13ae0ef2ca fix(types): fix TypeScript errors across multiple files
discard 34ef36e9ea2 fix(types): fix hooks and queriesData type issues in
ChartRenderer
discard 10b41934c8d fix(types): fix remaining type mismatches in Chart
components
discard 23ee9be4064 fix(types): fix setControlValue type and thunk dispatch
cast
discard cc11db84e02 fix(types): resolve remaining TypeScript errors in
chartActions tests
discard 43b1356b933 fix(types): align initialValues type and declare webpack
globals
discard 6fae1389c41 fix(types): use ContextMenuFilters from core and fix
FeatureFlagMap type
discard 399e7a4ed33 fix(types): add chartRenderingSucceeded to Actions type
discard d2aeed59792 fix(types): resolve TypeScript errors in Chart and
chartActions tests
discard 1ba1af21fa8 fix(tests): add type casting for mock return types in
chartActions tests
discard 18b09158e43 fix(types): widen onCellChange id parameter to string |
number
discard fa1921ab488 fix: address code review feedback
discard 94bc70e8d79 fix(types): address code review feedback
discard 003d87ec43d fix(types): add type safety to DatasourceEditor and
related components
discard db5ff1abbae fix(types): address code review feedback for TypeScript
migrations
discard 01d3d391725 fix: resolve remaining TypeScript errors and code review
feedback
discard 97034fd964b fix: resolve TypeScript errors in migrated files
discard ca285a78597 fix(chart): use setDataMask prop as fallback when
actions.updateDataMask is absent
discard c178246d21e fix(chart): remove unused POST_CHART_FORM_DATA constant
discard 19865362838 fix(chart): use derived vizType for drill-to-detail
behavior check
discard 4b375eaf1d4 fix(reports): only show success toast when delete succeeds
discard e4921d25a1e fix: remove unused ChartDataResponse interface
discard 62f3df6fb5f chore(frontend): migrate non-dashboard JS/JSX files to
TypeScript
add 10a9b4bb947 fix: update Apache Superset website footer copyright year
(#37435)
add 73d4332b511 feat(database): SIP-195 Add MongoDB database engine
support (#37368)
add 7fc9974a7cf fix(deps): remove encodable dependency and pin
query-string to fix Dependabot CI failures (#37450)
add 56ad429200d chore(deps): update @luma.gl/shadertools requirement from
~9.2.2 to ~9.2.6 in /superset-frontend/plugins/legacy-preset-chart-deckgl
(#37237)
add bd419d19af1 chore(deps): update core-js requirement from ^3.38.1 to
^3.48.0 in /superset-frontend/packages/superset-ui-core (#37319)
add 97aea5d128d feat(i18n): complete Māori translation (#37443)
add e28d2782f14 chore(deps): bump core-js from 3.40.0 to 3.48.0 in
/superset-frontend/packages/superset-ui-demo (#37439)
add dba75bd897f chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in
/superset-frontend/packages/superset-ui-demo (#37151)
add 8f6dd4aba02 chore(deps-dev): bump typescript-eslint from 8.53.1 to
8.54.0 in /docs (#37476)
add 58ab4e78ffe chore(deps): bump antd from 6.2.1 to 6.2.2 in /docs
(#37470)
add 1681f74b2ea chore(direnv): add direnv to gitignore (#37481)
add 10a8d8b8ee4 chore(deps-dev): bump @typescript-eslint/parser from
8.53.1 to 8.54.0 in /superset-websocket (#37465)
add e4d71c2a554 docs(readme): sync database logos with auto-generated docs
(#37463)
add a7e7cc30a97 fix(ag-grid-table): preserve time grain aggregation when
temporal column casing changes (#36990)
add 5fa6925522d fix(dashboard): update chart customization UI text to
"Display controls" (#37462)
add 27a4575f3e2 refactor: Move frontend related artifacts into frontend
gitignore (#37496)
add 20da4eb86ec fix(sqllab): Over-rendering on result table (#30857)
add 2ec3aaaeea6 feat(dashboard): show dataset column labels in View as
table (#37140)
add f787aec5673 docs: add Netlify to CI services footer and improve layout
(#37451)
add b223f10ab51 chore(deps-dev): bump @typescript-eslint/eslint-plugin
from 8.53.1 to 8.54.0 in /superset-websocket (#37468)
add 3bcd3b1683c chore(deps-dev): bump typescript-eslint from 8.53.1 to
8.54.0 in /superset-websocket (#37466)
add e6d0f97aaba fix(mcp): always filter list responses by
columns_requested (#37505)
add 6663709a23a fix(mcp): tools not listed when JWT auth is enabled
(#37377)
add 3347b9bf6cf fix(table): only show increase/decrease color options when
time comparison enabled (#37362)
add da56bddadad chore(deps-dev): bump globals from 17.1.0 to 17.2.0 in
/docs (#37509)
add 43653d1fa1b fix(dashboard): resolve dropdown popup positioning (#36963)
add ec2509a8b48 fix(dashboard-filters): prevent clearing all filters when
editing a native filter (#37253)
add abf90de0cad fix(select): prevent bulk action buttons from being cut
off in filters (#37453)
add cfeb7ccd318 chore(deps-dev): bump globals from 17.1.0 to 17.2.0 in
/superset-websocket (#37508)
add 912538d176f docs: Updating quickstart for 6.0.0 (#37446)
add d4b89de0017 chore(deps-dev): bump oxlint from 1.41.0 to 1.42.0 in
/superset-frontend (#37512)
add 073c3c72b42 docs: add HPE logo to In the Wild listing (#37506)
add ad0186093f1 docs: add interactive API reference using
docusaurus-openapi-docs (#37434)
add f6f9e083acd fix(docs): replace identicon logos and deduplicate README
database wall (#37500)
add bb5be6cf54a fix(matrixify): Rename Tag from 'Matrixify' to
'Matrixified' (#37402)
add 06e4f4ff4c9 fix(dashboard): catch DatasourceNotFound in get_datasets
to prevent 404 (#37503)
add 042229bf80a fix(docs): add consistent dev-mode logging for Matomo page
views (#37526)
add b3526fc4caa docs(community): redesign community page with card grid
layout (#37536)
add f93cb0e09d2 chore(frontend): migrate non-dashboard JS/JSX files to
TypeScript
add 0625ac7e36a fix: remove unused ChartDataResponse interface
add 01e6eccbe7e fix(reports): only show success toast when delete succeeds
add fa966edd092 fix(chart): use derived vizType for drill-to-detail
behavior check
add b28b4a5f1fe fix(chart): remove unused POST_CHART_FORM_DATA constant
add 1d0978be9c5 fix(chart): use setDataMask prop as fallback when
actions.updateDataMask is absent
add 92085d16b2d fix: resolve TypeScript errors in migrated files
add de76582791a fix: resolve remaining TypeScript errors and code review
feedback
add 6d0b4f15843 fix(types): address code review feedback for TypeScript
migrations
add 74ceedcdd60 fix(types): add type safety to DatasourceEditor and
related components
add ab58dcc259e fix(types): address code review feedback
add 1d8b6cdc432 fix: address code review feedback
add 10f4b589143 fix(types): widen onCellChange id parameter to string |
number
add cd69da0db90 fix(tests): add type casting for mock return types in
chartActions tests
add cba326f8769 fix(types): resolve TypeScript errors in Chart and
chartActions tests
add 252bcebbdcf fix(types): add chartRenderingSucceeded to Actions type
add 7d31135d32b fix(types): use ContextMenuFilters from core and fix
FeatureFlagMap type
add 2d4c7d7dae6 fix(types): align initialValues type and declare webpack
globals
add 395c7975393 fix(types): resolve remaining TypeScript errors in
chartActions tests
add d6be3d83635 fix(types): fix setControlValue type and thunk dispatch
cast
add 0bf266f5849 fix(types): fix remaining type mismatches in Chart
components
add 3043b631dfa fix(types): fix hooks and queriesData type issues in
ChartRenderer
add e7be62560a0 fix(types): fix TypeScript errors across multiple files
add ef66a00bca4 fix(types): improve type safety in explore components
add c9cff71cb60 fix(types): address CI type errors in explore components
add ef7e91328fb fix(types): resolve TypeScript errors in explore and
report components
add 1e13552d2d7 fix(types): add missing properties to DatasourceEditor
types after rebase
add 1fd28720140 fix(tests): fix test failures in ChartRenderer,
ExploreChartHeader, and Chart
add 6a9beb76f76 style: format with prettier
add 6a15ba5f440 style: format with prettier
add 50fc41ad510 fix(tests): exclude compiled esm/lib directories from jest
add 173ce367d49 fix(tests): resolve test failures in chartActions,
EmbedCodeContent, ExploreChartHeader, and logger
add fbad3a50ea3 style: format with prettier
add 9dcd99c7c58 fix(types): improve type safety in ExploreViewContainer
add cd7ae9c776a fix(types): simplify action types to fix build errors
add e19a278812f fix(types): use callable type for actions to fix build
add 566bc5c3bc9 fix(types): correct ExploreViewContainer export type and
MatrixifyFormData cast
add 6cfd0415fc8 style: format ExploreViewContainer with prettier
add 9d9b210df05 fix(types): remove invalid getErrorMessage import from
FallbackComponent
add 8e4d77da418 fix(reports): use report.id as key for alerts_reports in
reducer
add 04bbd364344 fix(types): use TabularDataRow[] instead of Record<string,
any>[]
add 65ac402d4e3 fix(types): remove unsafe Response cast in chartAction
catch block
add b6529df97ff fix(types): remove unnecessary else branch in
ChartRenderer setDataMask
add 576a3b0bdd1 fix(types): fix column type mismatch in ResultSet
prepareCopyToClipboardTabularData
add 808d5833649 fix(types): add explanatory comment for type cast in
AnnotationLayerControl
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 (48275832f2b)
\
N -- N -- N refs/heads/chore/ts-migration-non-dashboard
(808d5833649)
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:
.gitignore | 5 +-
.rat-excludes | 15 +-
README.md | 99 +-
RESOURCES/INTHEWILD.yaml | 2 +
docs/.gitignore | 4 +
docs/docs/api.mdx | 602 +-
docs/docs/quickstart.mdx | 2 +-
docs/docusaurus.config.ts | 36 +-
docs/i18n/en/docusaurus-theme-classic/footer.json | 2 +-
docs/package.json | 18 +-
docs/scripts/convert-api-sidebar.mjs | 123 +
docs/scripts/fix-openapi-spec.py | 828 ++
docs/scripts/generate-api-index.mjs | 277 +
docs/scripts/generate-api-tag-pages.mjs | 176 +
docs/scripts/generate-database-docs.mjs | 101 +-
docs/sidebarTutorials.js | 5 +
docs/sidebars.js | 18 +-
docs/src/data/databases.json | 79 +-
docs/src/pages/community.tsx | 251 +-
docs/src/styles/custom.css | 77 +
docs/src/styles/main.less | 46 +-
docs/src/theme/Root.js | 11 +-
.../static/img/community/bluesky-symbol.svg | Bin 1033 -> 1487 bytes
.../static/img/community/globe-symbol.svg | Bin 1033 -> 1157 bytes
.../static/img/community/linkedin-symbol.svg | Bin 1250 -> 1347 bytes
.../static/img/community/x-symbol.svg | Bin 1033 -> 1068 bytes
docs/static/img/databases/cratedb.png | Bin 1534 -> 0 bytes
docs/static/img/databases/cratedb.svg | Bin 0 -> 3000 bytes
docs/static/img/databases/mongodb.png | Bin 0 -> 22190 bytes
docs/static/img/databases/risingwave.png | Bin 1548 -> 0 bytes
docs/static/img/databases/risingwave.svg | Bin 0 -> 14392 bytes
docs/static/img/logos/hpe.png | Bin 0 -> 5212 bytes
docs/static/img/netlify.png | Bin 0 -> 4618 bytes
docs/static/resources/openapi.json | 7414 +++++++++-
docs/versioned_docs/version-6.0.0/quickstart.mdx | 2 +-
docs/yarn.lock | 1230 +-
superset-frontend/.gitignore | 4 +
superset-frontend/package-lock.json | 444 +-
superset-frontend/package.json | 3 +-
.../packages/superset-ui-core/package.json | 2 +-
.../src/components/Select/Select.test.tsx | 2 +-
.../src/components/Select/Select.tsx | 5 +-
.../src/components/Select/constants.ts | 8 +-
.../src/components/Select/styles.tsx | 1 +
.../src/components/Select/types.ts | 1 +
.../src/components/assets/images/loading.svg | Bin 1652 -> 2444 bytes
.../packages/superset-ui-demo/package.json | 5 +-
.../plugins/plugin-chart-table/Table.stories.tsx | 14 +-
.../legacy-preset-chart-deckgl/package.json | 2 +-
.../src/controlPanel.tsx | 37 +-
.../test/controlPanel.test.ts | 77 +
.../test/controlPanel.test.tsx | 208 +
.../plugins/plugin-chart-echarts/package.json | 1 +
.../plugin-chart-table/src/controlPanel.tsx | 35 +-
.../plugin-chart-table/test/controlPanel.test.tsx | 208 +
.../plugins/plugin-chart-word-cloud/package.json | 3 +-
.../src/chart/WordCloud.tsx | 201 +-
.../src/configureEncodable.ts | 83 -
.../plugins/plugin-chart-word-cloud/src/index.ts | 1 -
.../plugin-chart-word-cloud/src/plugin/index.ts | 3 -
.../src/SqlLab/components/ResultSet/index.tsx | 15 +-
.../src/components/FilterableTable/index.tsx | 3 +-
.../components/CustomizationsBadge/index.tsx | 4 +-
.../components/SliceHeaderControls/index.tsx | 1 +
.../nativeFilters/FilterBar/FilterBar.test.tsx | 6 +-
.../FilterBar/FilterBarSettings/index.tsx | 2 +-
.../FilterBar/FilterControls/FilterControls.tsx | 2 +-
.../nativeFilters/FilterBar/Header/Header.test.tsx | 4 +-
.../nativeFilters/FilterBar/Header/index.tsx | 2 +-
.../nativeFilters/FilterBar/Vertical.tsx | 2 +-
.../nativeFilters/FilterCard/FilterCard.test.tsx | 4 +-
.../ConfigModalSidebar/ConfigModalSidebar.tsx | 2 +-
.../FiltersConfigForm/FiltersConfigForm.tsx | 12 +-
.../FiltersConfigModal/FiltersConfigModal.tsx | 2 +-
.../FiltersConfigModal/NewItemDropdown.tsx | 2 +-
superset-frontend/src/dataMask/reducer.test.ts | 118 +
superset-frontend/src/dataMask/reducer.ts | 20 +-
.../explore/components/DataTableControl/index.tsx | 12 +-
.../DataTableControl/useTableColumns.test.ts | 28 +
.../components/ResultsPaneOnDashboard.tsx | 2 +
.../components/SingleQueryResultPane.tsx | 2 +
.../DataTablesPane/components/useResultsPane.tsx | 2 +
.../src/explore/components/DataTablesPane/types.ts | 4 +
.../ExploreChartHeader/ExploreChartHeader.test.tsx | 4 +-
.../components/ExploreChartHeader/index.tsx | 2 +-
.../src/pages/ChartList/ChartList.test.tsx | 4 +-
superset-frontend/src/pages/ChartList/index.tsx | 2 +-
superset-websocket/package-lock.json | 262 +-
superset-websocket/package.json | 8 +-
superset/config.py | 1 +
superset/connectors/sqla/models.py | 9 +-
superset/db_engine_specs/crate.py | 2 +-
.../db_engine_specs/{dynamodb.py => mongodb.py} | 77 +-
superset/db_engine_specs/risingwave.py | 2 +-
superset/mcp_service/app.py | 69 +-
superset/mcp_service/chart/tool/list_charts.py | 23 +-
.../mcp_service/dashboard/tool/list_dashboards.py | 21 +-
superset/mcp_service/dataset/tool/list_datasets.py | 23 +-
superset/mcp_service/mcp_config.py | 10 +-
superset/translations/mi/LC_MESSAGES/messages.po | 14507 +++++++++++++++++++
tests/unit_tests/connectors/sqla/models_test.py | 40 +
tests/unit_tests/db_engine_specs/test_mongodb.py | 125 +
.../mcp_service/dataset/tool/test_dataset_tools.py | 53 +
tests/unit_tests/mcp_service/test_mcp_config.py | 85 +-
104 files changed, 27072 insertions(+), 1279 deletions(-)
create mode 100644 docs/scripts/convert-api-sidebar.mjs
create mode 100644 docs/scripts/fix-openapi-spec.py
create mode 100644 docs/scripts/generate-api-index.mjs
create mode 100644 docs/scripts/generate-api-tag-pages.mjs
copy superset-frontend/src/assets/images/icons/checkbox_half.svg =>
docs/static/img/community/bluesky-symbol.svg (53%)
copy superset-frontend/src/assets/images/icons/checkbox_half.svg =>
docs/static/img/community/globe-symbol.svg (69%)
copy superset-frontend/src/assets/images/icons/checkbox_off.svg =>
docs/static/img/community/linkedin-symbol.svg (59%)
copy superset-frontend/src/assets/images/icons/checkbox_half.svg =>
docs/static/img/community/x-symbol.svg (74%)
delete mode 100644 docs/static/img/databases/cratedb.png
create mode 100644 docs/static/img/databases/cratedb.svg
create mode 100644 docs/static/img/databases/mongodb.png
delete mode 100644 docs/static/img/databases/risingwave.png
create mode 100644 docs/static/img/databases/risingwave.svg
create mode 100644 docs/static/img/logos/hpe.png
create mode 100644 docs/static/img/netlify.png
create mode 100644
superset-frontend/plugins/plugin-chart-ag-grid-table/test/controlPanel.test.ts
create mode 100644
superset-frontend/plugins/plugin-chart-ag-grid-table/test/controlPanel.test.tsx
create mode 100644
superset-frontend/plugins/plugin-chart-table/test/controlPanel.test.tsx
delete mode 100644
superset-frontend/plugins/plugin-chart-word-cloud/src/configureEncodable.ts
create mode 100644 superset-frontend/src/dataMask/reducer.test.ts
copy superset/db_engine_specs/{dynamodb.py => mongodb.py} (52%)
create mode 100644 superset/translations/mi/LC_MESSAGES/messages.po
create mode 100644 tests/unit_tests/db_engine_specs/test_mongodb.py