This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch feat/antd6-upgrade
in repository https://gitbox.apache.org/repos/asf/superset.git
discard 318d125d5c8 fix(test): apply prettier formatting to AlertReportModal
test
discard 98ddd54c68f fix(test): give reportDashboardEndpoint a route name in
AlertReportModal tests
discard dd73b611b29 fix(select): wire DROPDOWN_BUILTIN_PLACEMENTS into
AsyncSelect
discard 321222ac051 fix(frontend): fix remaining stale antd5 selectors in test
suite
discard f41a16df753 fix(frontend): type theme algorithm map and scope Select
CSS specificity
discard b95f444fecc test: retry-wrap all array-button assertions consistently
(bito suggestion)
discard a69d0b465f1 test(e2e): fix antd5 active-tabpane selector in new
ExplorePage page object
discard cd5306cdc4c test(frontend): harden antd6 watch-items with automated
coverage; fix rjsf6 array-button classes
discard 6b5412c2f49 fix(frontend): restore antd5 Tag trailing margin for
layout parity
discard 4c80cf55af4 test: fix post-merge CI failures (prettier format + icons6
accessible name)
discard f1c77b685b2 fix(frontend): address code-review findings on the antd6
migration
discard 7ada0035982 docs: add antd v5→v6 breaking changes to UPDATING.md
discard 126a66f9c7d fix(frontend): fix remaining stale antd5 selectors +
expand DOM contract test
discard 99d942c748b fix(frontend): migrate antd6 Tabs content DOM chain (fixes
0-height SQL Lab editor)
discard 755a6698ceb style: prettier format antdDomContract test
discard fe39d4ac6d6 test(frontend): pin antd6 DOM-class contract for styled
overrides
discard 35ccfa1f4fa fix(frontend): update stale antd5 CSS selectors in styled
overrides for v6
discard b8750099551 test(e2e): add welcome/Home content smoke test
discard a7400f3bdac test(e2e): read antd6 Select value from content element,
not the input
discard b90619639d4 test(labels): add antd6 Tag icon-color regression test;
fix Tooltip story
discard 180fa210e8d test(e2e): update Cypress/Playwright selectors for antd v6
discard d2249765af4 feat(frontend): upgrade Ant Design from v5 to v6
add 38707866c02 chore(deps-dev): bump baseline-browser-mapping from
2.10.40 to 2.10.41 in /superset-frontend (#41929)
add 169c05f8ce8 chore(deps-dev): bump tsx from 4.22.4 to 4.22.5 in
/superset-frontend (#41928)
add 2a3d65f61a6 chore(deps): bump docker/login-action from 4.3.0 to 4.4.0
(#41927)
add 1ddc3e45d77 chore(deps): bump @deck.gl/mapbox from 9.3.5 to 9.3.6 in
/superset-frontend (#41926)
add 1631d52b650 fix(CollectionControl): a11y drag handle and vertical axis
lock (#39863)
add 2112fbd3798 feat(subjects): add read-only Subject REST API and DAO
(#41897)
add a6ce2fd76b0 fix(mcp): patch list_metrics DAOs via module object to
avoid Python 3.10 mock resolution bug (#41881)
add 5b8e94de267 feat(semantic layers): dashboard filters (#40475)
add bd61e09b4ea fix(mcp): bind Big Number chart to a temporal column for
dashboard time filters (#41895)
add bc80d138fdc chore(deps): bump slack-sdk from 3.42.0 to 3.43.0 (#41893)
add 35712ff9770 fix(sqllab): show truncated table list warning (#41617)
add 4dde4d2c706 fix(versioning): make baseline capture atomic (#41941)
add 38181521912 fix(mcp): user/role tools demanded a permission FAB never
registers (#41858)
add 51ce2b11ad3 chore(deps-dev): update impyla requirement from
<0.23,>0.16.2 to >=0.24.0,<0.25 (#41951)
add 7a752d1c228 fix(dashboard): restore arrow key navigation in modal
inputs opened from dropdown (#37978)
add 5c12f216d51 feat(mcp): add delete_chart and delete_dashboard tools
(#41472)
add 678fcba8b48 feat(helm): Superset 6 structured config schema with
deprecation path (#41777)
add b641008da6a fix(versioning): preserve complete multi-flush history
(#41940)
add df209cedbf8 chore(deps-dev): update sqlalchemy-firebird requirement
from <2.2,>=0.7.0 to >=0.8.0,<2.2 (#41950)
add e8521471820 test: add edge-case tests for datetime_to_epoch function
(#39404)
add a03cabffa77 perf(csv): avoid regex in CSV value escaping (#40195)
add 0ecf34d80e1 fix(a11y): add aria-label to ViewportControl text inputs
(#41931)
add b237aefb1ea fix(a11y): add aria-label to RightMenu documentation and
bug-report icon links (#41903)
add f5deda78641 fix(dataset): copy catalog field when duplicating a
BigQuery dataset (#41106)
add 189f258e0ce fix(drill): coerce temporal drill filter values (#40180)
add 5e6b29d1a32 chore(deps-dev): bump sqlalchemy-hana from 0.4.0 to 3.0.3
(#41953)
add 49dc0acd827 fix(pre-commit): prettier hook drops first file and never
batches (#41944)
add b8c0171976d test(rls): assert related/subjects honors search filter
for roles (#31466) (#41969)
add 958d1ab256a test(rls): assert dataset search returns all mask matches
(#29707) (#41968)
add 13c5a324027 fix(tests): correct stale TYPE_CHECKING import path in
base_data_loader (#41972)
add a1d1d69f5ea ci: enforce SQLAlchemy 2.0 deprecation warnings in
unit-test CI (#41915)
add 2a18a556b09 chore(frontend): lint Emotion CSS-in-JS with Stylelint
(#41871)
add db1912c6d98 chore(deps): bump cachetools from 6.2.1 to 7.1.4 (#41947)
add 0ca51d9796a fix(Database Connection Form): Added validation to db
credential input (#37919)
add e403d9b0742 chore(lint): convert legacy plugin chart components to
function components (#39452)
add 12f28ce2354 chore(deps): bump holidays from 0.82 to 0.99 (#41949)
add 98c3ec7a718 chore(deps): bump sqlglot from 30.8.0 to 30.12.0 (#41948)
add edce3c6d9a6 feat(frontend): upgrade Ant Design from v5 to v6
add e383e0193ed test(e2e): update Cypress/Playwright selectors for antd v6
add 0c825fae033 test(labels): add antd6 Tag icon-color regression test;
fix Tooltip story
add 79c82e7f025 test(e2e): read antd6 Select value from content element,
not the input
add cbd173bc9c0 test(e2e): add welcome/Home content smoke test
add e7fd8ec6a93 fix(frontend): update stale antd5 CSS selectors in styled
overrides for v6
add 0e444fa09ea test(frontend): pin antd6 DOM-class contract for styled
overrides
add d2cf0cb990f style: prettier format antdDomContract test
add 7a2bec82a63 fix(frontend): migrate antd6 Tabs content DOM chain (fixes
0-height SQL Lab editor)
add 9f9fbcfccb2 fix(frontend): fix remaining stale antd5 selectors +
expand DOM contract test
add 45f447df14f docs: add antd v5→v6 breaking changes to UPDATING.md
add cd512ab5bbc fix(frontend): address code-review findings on the antd6
migration
add 8d52f240ddc test: fix post-merge CI failures (prettier format + icons6
accessible name)
add 797c31a6f9c fix(frontend): restore antd5 Tag trailing margin for
layout parity
add 1a6e4362df9 test(frontend): harden antd6 watch-items with automated
coverage; fix rjsf6 array-button classes
add 1d77ffc8aea test(e2e): fix antd5 active-tabpane selector in new
ExplorePage page object
add ec15a30344a test: retry-wrap all array-button assertions consistently
(bito suggestion)
add ba8085f37c1 fix(frontend): type theme algorithm map and scope Select
CSS specificity
add 5d4ed642b6d fix(frontend): fix remaining stale antd5 selectors in test
suite
add 30ceba09875 fix(select): wire DROPDOWN_BUILTIN_PLACEMENTS into
AsyncSelect
add 7f661c44748 fix(test): give reportDashboardEndpoint a route name in
AlertReportModal tests
add da55a57c879 fix(test): apply prettier formatting to AlertReportModal
test
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 (318d125d5c8)
\
N -- N -- N refs/heads/feat/antd6-upgrade (da55a57c879)
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/workflows/check-python-deps.yml | 2 +-
.github/workflows/superset-python-unittest.yml | 6 +
...sync-requirements-for-python-dep-upgrade-pr.yml | 2 +-
.pre-commit-config.yaml | 8 +-
.rat-excludes | 1 +
helm/superset/Chart.yaml | 2 +-
helm/superset/README.md | 59 +-
helm/superset/UPGRADING.md | 161 ++++
helm/superset/templates/NOTES.txt | 6 +
helm/superset/templates/_helpers.tpl | 641 +++++++++++++--
helm/superset/templates/deployment-beat.yaml | 10 +-
helm/superset/templates/deployment-flower.yaml | 5 +-
helm/superset/templates/deployment-worker.yaml | 10 +-
helm/superset/templates/deployment-ws.yaml | 3 +
helm/superset/templates/deployment.yaml | 12 +-
helm/superset/templates/secret-env.yaml | 36 +-
.../superset/templates/secret-superset-config.yaml | 4 +-
helm/superset/tests/checksum_test.yaml | 132 +++
helm/superset/tests/config_test.yaml | 94 +++
.../superset/tests/deprecation_test.yaml | 23 +-
helm/superset/tests/initscript_test.yaml | 63 ++
helm/superset/tests/secret_env_test.yaml | 71 ++
.../superset/tests/serviceaccount_test.yaml | 44 +-
.../superset/tests/values_defaults_test.yaml | 24 +-
helm/superset/values.schema.json | 140 ++++
helm/superset/values.yaml | 148 +++-
pyproject.toml | 14 +-
requirements/base.txt | 8 +-
requirements/development.txt | 8 +-
scripts/{check-custom-rules.sh => stylelint.sh} | 9 +-
superset-core/src/superset_core/common/daos.py | 54 +-
superset-core/src/superset_core/common/models.py | 62 ++
.../src/superset_core/semantic_layers/types.py | 2 +-
superset-frontend/.stylelintignore | 9 +
superset-frontend/package-lock.json | 911 +++++++++++++++++++--
superset-frontend/package.json | 11 +-
.../superset-core/src/theme/GlobalStyles.tsx | 20 +-
.../src/components/AsyncAceEditor/index.tsx | 1 -
.../DropdownContainer/DropdownContainer.tsx | 4 +-
.../src/components/Form/LabeledErrorBoundInput.tsx | 8 +
.../superset-ui-core/src/components/Form/types.ts | 5 +
.../src/components/Icons/Icons.stories.tsx | 6 +-
.../src/components/Modal/Modal.tsx | 4 +-
.../components/ModalTrigger/ModalTrigger.test.tsx | 42 +-
.../src/components/ModalTrigger/index.tsx | 20 +-
.../superset-ui-core/src/query/types/Dashboard.ts | 2 +
.../src/HorizonChart.tsx | 101 +--
.../legacy-plugin-chart-horizon/src/HorizonRow.tsx | 268 +++---
.../test/HorizonChart.test.tsx | 51 ++
.../test/HorizonRow.test.tsx | 102 +++
.../src/PairedTTest.tsx | 77 +-
.../src/TTestTable.tsx | 545 ++++++------
.../test/TTestTable.test.tsx | 365 +++++++++
.../src/styles/index.tsx | 1 -
.../src/PivotTableChart.tsx | 84 +-
.../test/PivotTableChart.test.tsx | 370 +++++++++
.../plugins/plugin-chart-table/src/TableChart.tsx | 28 +-
.../plugin-chart-table/test/TableChart.test.tsx | 49 ++
.../src/chart/WordCloud.tsx | 273 +++---
.../test/WordCloud.test.tsx | 161 ++++
.../plugins/preset-chart-deckgl/package.json | 2 +-
.../src/SqlLab/SqlLabGlobalStyles.tsx | 10 +-
.../src/SqlLab/components/EditorWrapper/index.tsx | 4 +-
.../src/SqlLab/components/ResultSet/index.tsx | 1 -
.../src/components/MessageToasts/Toast.tsx | 2 +-
.../src/components/ResizableSidebar/index.tsx | 2 +-
.../TableSelector/TableSelector.test.tsx | 40 +-
.../src/components/TableSelector/index.tsx | 6 +
.../components/AddSliceCard/AddSliceCard.tsx | 2 +-
.../DashboardBuilder/DashboardBuilder.tsx | 4 +-
.../src/dashboard/components/DashboardGrid.tsx | 8 +-
.../dashboard/components/FiltersBadge/Styles.tsx | 1 -
.../src/dashboard/components/Header/index.tsx | 2 +-
.../components/filterscope/FilterScopeSelector.tsx | 2 +-
.../src/dashboard/components/menu/HoverMenu.tsx | 2 +-
.../FilterControls/FilterControlShared.tsx | 4 +-
.../FilterBar/FilterControls/FilterValue.tsx | 9 +-
.../nativeFilters/FilterBar/Vertical.tsx | 2 +-
.../FiltersConfigForm/ColumnSelect.tsx | 92 ++-
.../FiltersConfigForm/DatasetSelect.test.tsx | 45 +
.../FiltersConfigForm/DatasetSelect.tsx | 102 ++-
.../FiltersConfigForm/FiltersConfigForm.tsx | 196 +++--
.../FiltersConfigForm/RemovedFilter.tsx | 2 +-
.../FiltersConfigForm/getControlItemsMap.tsx | 4 +
.../FiltersConfigForm/utils.test.ts | 76 +-
.../FiltersConfigModal/FiltersConfigForm/utils.ts | 91 +-
.../transformers/buildTarget.test.ts | 74 ++
.../FiltersConfigModal/transformers/buildTarget.ts | 61 ++
.../transformers/customizationTransformer.ts | 13 +-
.../transformers/filterTransformer.ts | 16 +-
.../nativeFilters/FiltersConfigModal/types.ts | 3 +
.../nativeFilters/FiltersConfigModal/utils.ts | 10 +-
.../dashboard/components/nativeFilters/utils.ts | 6 +-
.../src/dashboard/reducers/dashboardInfo.test.ts | 24 +-
.../src/dashboard/reducers/dashboardInfo.ts | 1 +
superset-frontend/src/dashboard/types.ts | 3 +
.../util/charts/getFormDataWithExtraFilters.ts | 17 +-
.../util/getFormDataWithExtraFilters.test.ts | 43 +
.../src/dashboard/util/getRelatedCharts.test.ts | 65 +-
.../src/dashboard/util/getRelatedCharts.ts | 17 +-
.../explore/components/ControlPanelsContainer.tsx | 8 +-
.../explore/components/DataTableControl/index.tsx | 2 +-
.../DatasourcePanelDragOption/index.tsx | 2 +-
.../CollectionControl/CollectionControl.test.tsx | 8 +
.../controls/CollectionControl/index.tsx | 35 +-
.../components/controls/TextControl/index.tsx | 4 +-
.../components/controls/ViewportControl.tsx | 1 +
.../controls/VizTypeControl/VizTypeGallery.tsx | 2 +-
.../components/controls/VizTypeControl/index.tsx | 1 -
.../DatabaseConnectionForm/EncryptedField.test.tsx | 142 +++-
.../DatabaseConnectionForm/EncryptedField.tsx | 73 +-
.../src/features/databases/DatabaseModal/styles.ts | 31 +-
.../databases/UploadDataModel/ColumnsPreview.tsx | 4 +-
.../features/datasets/DatasetSelectLabel/index.tsx | 24 +-
superset-frontend/src/features/home/RightMenu.tsx | 2 +
.../src/features/home/SavedQueries.tsx | 1 -
.../src/features/semanticLayers/label.ts | 12 +
.../src/visualizations/TimeTable/TimeTable.tsx | 2 +-
...t-runner-jest.config.js => stylelint.config.js} | 27 +-
superset/commands/dataset/duplicate.py | 63 +-
superset/core/api/core_api_injection.py | 16 +-
superset/daos/{security.py => subject.py} | 11 +-
superset/initialization/__init__.py | 13 +-
superset/mcp_service/app.py | 4 +
superset/mcp_service/auth.py | 4 +
superset/mcp_service/chart/chart_utils.py | 112 ++-
superset/mcp_service/chart/plugins/big_number.py | 2 +-
superset/mcp_service/chart/schemas.py | 52 +-
superset/mcp_service/chart/tool/__init__.py | 2 +
superset/mcp_service/chart/tool/delete_chart.py | 186 +++++
superset/mcp_service/dashboard/schemas.py | 44 +
superset/mcp_service/dashboard/tool/__init__.py | 2 +
.../mcp_service/dashboard/tool/delete_dashboard.py | 235 ++++++
superset/mcp_service/role/tool/get_role_info.py | 4 +
superset/mcp_service/role/tool/list_roles.py | 4 +
superset/mcp_service/user/tool/get_user_info.py | 4 +
superset/mcp_service/user/tool/list_users.py | 4 +
superset/models/helpers.py | 57 +-
superset/security/manager.py | 1 +
superset/semantic_layers/api.py | 9 +-
superset/semantic_layers/mapper.py | 15 +-
superset/sql/dialects/firebolt.py | 5 +-
superset/subjects/api.py | 123 +++
superset/subjects/filters.py | 22 +
superset/subjects/schemas.py | 14 +
superset/subjects/sync.py | 71 +-
superset/subjects/views.py | 50 --
superset/utils/csv.py | 48 +-
superset/versioning/baseline/insertion.py | 29 +-
superset/versioning/changes/listener.py | 260 +++---
superset/versioning/changes/state.py | 33 +-
.../example_data/data_loading/base_data_loader.py | 2 +-
.../security/row_level_security_tests.py | 107 +++
.../integration_tests/subjects}/__init__.py | 0
tests/integration_tests/subjects/api_tests.py | 142 ++++
tests/integration_tests/versioning/conftest.py | 7 +-
.../versioning/transaction_correctness_tests.py | 224 +++++
.../versioning/versions_api_tests.py | 155 ++++
.../unit_tests/commands/dataset/test_duplicate.py | 13 +
tests/unit_tests/dao/subject_test.py | 61 ++
.../mcp_service/chart/test_big_number_chart.py | 121 +++
.../mcp_service/chart/test_chart_utils.py | 84 +-
.../mcp_service/chart/tool/test_delete_chart.py | 229 ++++++
.../dashboard/tool/test_delete_dashboard.py | 254 ++++++
tests/unit_tests/mcp_service/test_auth_rbac.py | 66 ++
tests/unit_tests/models/helpers_test.py | 264 +++++-
tests/unit_tests/semantic_layers/api_test.py | 3 +
tests/unit_tests/semantic_layers/mapper_test.py | 22 +
tests/unit_tests/utils/csv_tests.py | 3 +
tests/unit_tests/utils/test_date_parsing.py | 91 ++
tests/unit_tests/versioning/test_listener.py | 204 +++++
171 files changed, 8811 insertions(+), 1567 deletions(-)
create mode 100644 helm/superset/UPGRADING.md
create mode 100644 helm/superset/tests/checksum_test.yaml
create mode 100644 helm/superset/tests/config_test.yaml
copy MANIFEST.in => helm/superset/tests/deprecation_test.yaml (66%)
create mode 100644 helm/superset/tests/initscript_test.yaml
create mode 100644 helm/superset/tests/secret_env_test.yaml
copy .dockerignore => helm/superset/tests/serviceaccount_test.yaml (63%)
copy docker/entrypoints/docker-ci.sh =>
helm/superset/tests/values_defaults_test.yaml (71%)
mode change 100755 => 100644
create mode 100644 helm/superset/values.schema.json
copy scripts/{check-custom-rules.sh => stylelint.sh} (81%)
create mode 100644 superset-frontend/.stylelintignore
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-horizon/test/HorizonChart.test.tsx
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-horizon/test/HorizonRow.test.tsx
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-paired-t-test/test/TTestTable.test.tsx
create mode 100644
superset-frontend/plugins/plugin-chart-pivot-table/test/PivotTableChart.test.tsx
create mode 100644
superset-frontend/plugins/plugin-chart-word-cloud/test/WordCloud.test.tsx
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/transformers/buildTarget.test.ts
create mode 100644
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/transformers/buildTarget.ts
copy superset-frontend/{test-runner-jest.config.js => stylelint.config.js}
(65%)
copy superset/daos/{security.py => subject.py} (73%)
create mode 100644 superset/mcp_service/chart/tool/delete_chart.py
create mode 100644 superset/mcp_service/dashboard/tool/delete_dashboard.py
create mode 100644 superset/subjects/api.py
delete mode 100644 superset/subjects/views.py
copy {superset-core/src/superset_core/common =>
tests/integration_tests/subjects}/__init__.py (100%)
create mode 100644 tests/integration_tests/subjects/api_tests.py
create mode 100644
tests/integration_tests/versioning/transaction_correctness_tests.py
create mode 100644 tests/unit_tests/dao/subject_test.py
create mode 100644 tests/unit_tests/mcp_service/chart/tool/test_delete_chart.py
create mode 100644
tests/unit_tests/mcp_service/dashboard/tool/test_delete_dashboard.py
create mode 100644 tests/unit_tests/versioning/test_listener.py