This is an automated email from the ASF dual-hosted git repository. enzomartellucci pushed a change to branch enxdev/refactor/replace-native-html-elements-with-antd5-components in repository https://gitbox.apache.org/repos/asf/superset.git
from a0054deea5 refactor(DatasetList): replace <ul> and <a> elements with antd5 components add 334aa1a672 fix a unit test add e1f5c49df7 fix: Allows configuration of Selenium Webdriver binary (#33103) add a5a91d5e48 fix(OAuth2): Update connection should not fail if connection is missing OAuth2 token (#33100) add 7b9ebbe735 feat(explore): Integrate dataset panel with Folders feature (#33104) add c1eeb63d89 fix: `master` builds are failing while trying to push report to cypress (#33124) add 839215148a feat(explore): X-axis sort by specific metric when more than 1 metric is set (#33116) add 2233c02720 fix(playwright): allow screenshotting empty dashboards (#33107) add 8cb71b8d3b fix(plugin-chart-table): Don't render redundant items in column config when time comparison is enabled (#33126) add 45c77a1976 chore(translations): Update PT-BR language (partial) (#29828) add ff8605b723 feat(lang): update Italian language (#29827) add 5f62deaa36 chore: use create table util (#33072) add bc0ffe0d10 fix: Viz migration error handling (#33037) add 013379eb86 feat(List Users): Migrate List Users FAB to React (#32882) add 342e6f3ab0 fix(dashboard): invalid active tab state (#33106) add 93fa39a14f fix(lang): patch FAB's LocaleView to redirect to previous page (#31692) add 4f93c2d2e7 Merge branch 'master' into template_less add dff7c1b50d post merge conflicts add dcea6c09ca fix imports add 5e8cd7a6ee fix: provide id's add 18c3f0adb6 fix(theming): Fix various ci issues (#33147) add 333dcc36ac Merge branch 'template_less' into enxdev/refactor/replace-native-html-elements-with-antd5-components No new revisions were added by this update. Summary of changes: .github/workflows/superset-e2e.yml | 4 +- UPDATING.md | 2 + .../cypress-base/cypress/e2e/explore/utils.ts | 6 - superset-frontend/package-lock.json | 483 ++++++++-------- .../src/components/MetricOption.tsx | 2 +- .../src/components/labelUtils.tsx | 2 +- .../superset-ui-chart-controls/src/fixtures.ts | 1 + .../src/sections/echartsTimeSeriesQuery.tsx | 4 - .../src/shared-controls/customControls.tsx | 85 +-- .../test/utils/defineSavedMetrics.test.tsx | 2 + .../test/utils/mainMetric.test.ts | 15 +- .../packages/superset-ui-core/package.json | 1 + .../useTruncation/useCSSTextTruncation.test.tsx | 34 ++ .../hooks/useTruncation/useCSSTextTruncation.ts | 25 +- .../superset-ui-core/src/query/types/Datasource.ts | 2 + .../superset-ui-core/src/query/types/Metric.ts | 1 + .../test/query/types/Datasource.test.ts | 4 +- .../src/Timeseries/transformProps.ts | 10 +- .../test/BigNumber/transformProps.test.ts | 2 + .../plugin-chart-table/src/controlPanel.tsx | 78 ++- .../plugin-chart-table/test/TableChart.test.tsx | 10 +- .../DrillDetail/DrillDetailMenuItems.test.tsx | 2 +- .../src/components/ListView/Filters/DateRange.tsx | 25 +- .../components/ListView/Filters/NumericalRange.tsx | 134 +++++ .../src/components/ListView/Filters/index.tsx | 19 + superset-frontend/src/components/ListView/types.ts | 9 +- .../src/dashboard/actions/dashboardState.js | 55 +- .../src/dashboard/reducers/dashboardState.js | 13 +- .../src/dashboard/reducers/dashboardState.test.ts | 116 +++- .../components/DatasourcePanel/DatasourceItems.tsx | 165 ++++++ .../DatasourcePanel/DatasourcePanel.test.tsx | 198 ++++++- .../DatasourcePanelDragOption.test.tsx | 4 +- .../DatasourcePanel/DatasourcePanelItem.test.tsx | 237 +++----- .../DatasourcePanel/DatasourcePanelItem.tsx | 264 +++++---- .../components/DatasourcePanel/fixtures.tsx | 7 +- .../explore/components/DatasourcePanel/index.tsx | 130 ++--- .../transformDatasourceFolders.test.ts | 208 +++++++ .../DatasourcePanel/transformDatasourceFolders.ts | 177 ++++++ .../explore/components/DatasourcePanel/types.ts | 56 ++ .../ExploreContainer/ExploreContainer.test.tsx | 2 +- .../ColumnConfigControl/ColumnConfigControl.tsx | 5 +- .../controls/ColumnConfigControl/types.ts | 1 + .../DndFilterSelect.test.tsx | 10 +- .../DndMetricSelect.test.tsx | 10 +- .../DndColumnSelectControl/DndMetricSelect.tsx | 2 + .../src/explore/controlUtils/controlUtils.test.tsx | 5 +- ...etControlValuesCompatibleWithDatasource.test.ts | 2 +- superset-frontend/src/explore/fixtures.tsx | 5 +- superset-frontend/src/features/datasets/types.ts | 2 +- .../src/features/users/UserListModal.tsx | 252 +++++++++ .../DeleteModal => features/users}/types.ts | 15 +- .../users/utils.ts} | 37 +- .../src/pages/ChartCreation/ChartCreation.test.tsx | 4 +- .../UsersList.test.tsx} | 152 +++-- superset-frontend/src/pages/UsersList/index.tsx | 610 +++++++++++++++++++++ superset-frontend/src/views/CRUD/hooks.ts | 4 +- superset-frontend/src/views/routes.tsx | 25 +- superset/cli/viz_migrations.py | 22 +- superset/commands/database/exceptions.py | 9 + superset/commands/database/sync_permissions.py | 6 + superset/commands/database/update.py | 3 +- superset/config.py | 2 +- superset/initialization/__init__.py | 36 +- superset/migrations/migration_utils.py | 13 + superset/migrations/shared/migrate_viz/base.py | 59 +- superset/migrations/shared/utils.py | 19 +- .../versions/2015-09-21_17-30_4e6a06bad7a8_init.py | 30 +- ...15-12-04_11-16_315b3f4da9b0_adding_log_model.py | 10 +- .../versions/2016-01-13_20-24_8e80a26a31db_.py | 10 +- .../2016-02-03_17-41_d827694c7555_css_templates.py | 10 +- ...3-13_09-56_a2d606a761d9_adding_favstar_model.py | 10 +- ...04-15_17-58_4fa88fe24e94_owners_many_to_many.py | 12 +- ...016-07-25_17-48_ad82a75afd82_add_query_model.py | 10 +- ..._17-39_5e4a03ef0bf0_add_request_access_model.py | 4 +- .../2017-01-10_11-47_bcf3126872fc_add_keyvalue.py | 10 +- .../2017-09-13_16-36_ddd6ebdd853b_annotations.py | 6 +- ..._20-28_6c7537a6004a_models_for_email_reports.py | 12 +- ...e1b21cd94a4_change_owner_to_m2m_relation_on_.py | 5 +- ...05_db4b49eb0782_add_tables_for_sql_lab_state.py | 12 +- ...4_17-07_0a6f12f60c73_add_role_level_security.py | 12 +- ...57699a813e_add_tables_relation_to_row_level_.py | 13 +- .../2020-05-26_23-21_2f1d15e8a6af_add_alerts.py | 14 +- .../2020-08-28_17-16_175ea3592453_cache_lookup.py | 10 +- ...-08-31_20-30_2e5a0ee25ed4_refractor_alerting.py | 16 +- ...208f_collapse_alerting_models_into_a_single_.py | 9 +- ...1-04_11-06_49b5a32daba5_add_report_schedules.py | 18 +- ...cdd12658_add_roles_relationship_to_dashboard.py | 9 +- ...021-03-29_11-15_3ebe0993c770_filterset_table.py | 10 +- ...03_5afbb1a5849b_add_embedded_dahshoard_table.py | 16 +- ...03-04_09-59_6766938c6065_add_key_value_store.py | 16 +- ...c2d8ec8595_create_ssh_tunnel_credentials_tbl.py | 21 +- ...06-01_13-13_83e1abbe777f_drop_access_request.py | 10 +- ...0-34_e0f6f91c2055_create_user_favorite_table.py | 10 +- ...20_16-02_678eefb4ab44_add_access_token_table.py | 17 +- ...02f4f7811799_remove_sl_dataset_columns_table.py | 4 +- ...7_39549add7bfc_remove_sl_table_columns_table.py | 4 +- ..._15-23_38f4144e8558_remove_sl_dataset_tables.py | 4 +- ...3_15-27_e53fd48cc078_remove_sl_dataset_users.py | 4 +- ...4-08-13_15-29_a6b32d2d07b1_remove_sl_columns.py | 4 +- ...24-08-13_15-31_007a1abffe7e_remove_sl_tables.py | 4 +- ...-08-13_15-33_48cbb571fa3a_remove_sl_datasets.py | 4 +- ...dba9f_merge_x_axis_sort_series_with_x_axis_.py} | 66 ++- superset/security/manager.py | 48 +- superset/translations/it/LC_MESSAGES/messages.po | 2 +- .../translations/pt_BR/LC_MESSAGES/messages.po | 501 +++++++++-------- superset/utils/webdriver.py | 5 +- superset/views/{roles.py => users_list.py} | 4 +- tests/integration_tests/core_tests.py | 51 ++ tests/integration_tests/databases/api_tests.py | 27 + tests/integration_tests/security_tests.py | 1 + tests/unit_tests/commands/databases/conftest.py | 2 + .../commands/databases/sync_permissions_test.py | 14 +- tests/unit_tests/security/api_test.py | 2 +- 113 files changed, 3588 insertions(+), 1409 deletions(-) create mode 100644 superset-frontend/src/components/ListView/Filters/NumericalRange.tsx create mode 100644 superset-frontend/src/explore/components/DatasourcePanel/DatasourceItems.tsx create mode 100644 superset-frontend/src/explore/components/DatasourcePanel/transformDatasourceFolders.test.ts create mode 100644 superset-frontend/src/explore/components/DatasourcePanel/transformDatasourceFolders.ts create mode 100644 superset-frontend/src/features/users/UserListModal.tsx copy superset-frontend/src/{components/DeleteModal => features/users}/types.ts (82%) copy superset-frontend/src/{dashboard/components/BuilderComponentPane/BuilderComponentPane.test.tsx => features/users/utils.ts} (56%) copy superset-frontend/src/pages/{RolesList/RolesList.test.tsx => UsersList/UsersList.test.tsx} (56%) create mode 100644 superset-frontend/src/pages/UsersList/index.tsx copy superset/migrations/versions/{2024-03-01_10-47_be1b217cd8cd_big_number_kpi_single_metric.py => 2025-04-13_22-10_378cecfdba9f_merge_x_axis_sort_series_with_x_axis_.py} (51%) copy superset/views/{roles.py => users_list.py} (95%)