This is an automated email from the ASF dual-hosted git repository. msyavuz pushed a commit to branch msyavuz/refactor/use-ant-tables-datasource in repository https://gitbox.apache.org/repos/asf/superset.git
commit 045ea7fc7b14ff602e864cc836498ca9a382d777 Merge: db5721bc11 51f719f8d4 Author: Mehmet Salih Yavuz <[email protected]> AuthorDate: Thu Apr 17 10:35:05 2025 +0300 Merge branch 'template_less' into msyavuz/refactor/use-ant-tables-datasource .github/workflows/superset-e2e.yml | 4 +- UPDATING.md | 2 + .../cypress-base/cypress/e2e/explore/utils.ts | 6 - superset-frontend/cypress-base/package-lock.json | 30 +- 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 + .../packages/superset-ui-core/src/theme/Theme.tsx | 1 + .../test/query/types/Datasource.test.ts | 4 +- .../src/Timeseries/transformProps.ts | 10 +- .../plugin-chart-echarts/src/utils/formatters.ts | 2 +- .../test/BigNumber/transformProps.test.ts | 2 + .../plugin-chart-table/src/controlPanel.tsx | 78 +- .../plugin-chart-table/test/TableChart.test.tsx | 10 +- .../SqlLab/components/TabbedSqlEditors/index.tsx | 42 +- .../src/SqlLab/components/TablePreview/index.tsx | 135 ++- .../DrillDetail/DrillDetailMenuItems.test.tsx | 2 +- .../src/components/Collapse/Collapse.stories.tsx | 1 + .../src/components/Collapse/index.tsx | 7 + superset-frontend/src/components/Collapse/types.ts | 1 + .../src/components/Datasource/DatasourceEditor.jsx | 14 +- .../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 +- superset-frontend/src/components/Tabs/Tabs.tsx | 78 +- .../src/dashboard/actions/dashboardState.js | 55 +- .../components/BuilderComponentPane/index.tsx | 3 +- .../DashboardBuilder/DashboardContainer.tsx | 61 +- .../dashboard/components/gridComponents/Tabs.jsx | 173 ++- .../FiltersConfigForm/FiltersConfigForm.tsx | 1220 +++++++++++--------- .../src/dashboard/reducers/dashboardState.js | 13 +- .../src/dashboard/reducers/dashboardState.test.ts | 116 +- .../explore/components/ControlPanelsContainer.tsx | 1 - .../components/DataTablesPane/DataTablesPane.tsx | 76 +- .../components/DatasourcePanel/DatasourceItems.tsx | 165 +++ .../DatasourcePanel/DatasourcePanel.test.tsx | 198 +++- .../DatasourcePanelDragOption.test.tsx | 4 +- .../DatasourcePanel/DatasourcePanelItem.test.tsx | 237 ++-- .../DatasourcePanel/DatasourcePanelItem.tsx | 277 +++-- .../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 + .../ContourControl/ContourPopoverControl.tsx | 223 ++-- .../DndColumnSelectControl/ColumnSelectPopover.tsx | 321 ++--- .../DndFilterSelect.test.tsx | 10 +- .../DndMetricSelect.test.tsx | 10 +- .../DndColumnSelectControl/DndMetricSelect.tsx | 2 + .../FilterControl/AdhocFilterEditPopover/index.jsx | 73 +- .../LayerConfigsPopoverContent.tsx | 242 ++-- .../MetricControl/AdhocMetricEditPopover/index.jsx | 213 ++-- .../src/explore/controlUtils/controlUtils.test.tsx | 5 +- ...etControlValuesCompatibleWithDatasource.test.ts | 2 +- superset-frontend/src/explore/fixtures.tsx | 5 +- .../src/features/alerts/AlertReportModal.tsx | 1 + .../alerts/components/ValidatedPanelHeader.tsx | 36 +- .../databases/DatabaseModal/ExtraOptions.tsx | 26 +- .../src/features/databases/DatabaseModal/index.tsx | 263 +++-- .../features/databases/UploadDataModel/index.tsx | 1 + superset-frontend/src/features/datasets/types.ts | 2 +- superset-frontend/src/features/home/Menu.tsx | 5 +- .../src/features/roles/RoleListEditModal.tsx | 46 +- .../src/features/users/UserListModal.tsx | 252 ++++ .../Collapse => features/users}/types.ts | 12 +- .../types.ts => features/users/utils.ts} | 38 +- .../src/pages/ChartCreation/ChartCreation.test.tsx | 4 +- .../src/pages/UsersList/UsersList.test.tsx | 192 +++ superset-frontend/src/pages/UsersList/index.tsx | 610 ++++++++++ .../src/utils/getBootstrapData.test.ts | 110 ++ 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/datasets/schemas.py | 1 + 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 +- ...fdba9f_merge_x_axis_sort_series_with_x_axis_.py | 114 ++ 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 +- .../api_test.py => superset/views/users_list.py | 36 +- 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 +- 143 files changed, 5662 insertions(+), 2872 deletions(-)
