This is an automated email from the ASF dual-hosted git repository. diegopucci pushed a commit to branch geido/feat/progressive-dashboard-header in repository https://gitbox.apache.org/repos/asf/superset.git
commit 0f4d0545328492d3d41dd9fccde602ad6126edcc Merge: 3593c6d9b0 6ede3271ff Author: Diego Pucci <[email protected]> AuthorDate: Tue Oct 15 17:02:18 2024 +0300 Merge branch 'master' of https://github.com/apache/superset into geido/feat/progressive-dashboard-header CODE_OF_CONDUCT.md | 6 +- docs/README.md | 1 + docs/docs/faq.mdx | 9 +- docs/package.json | 6 +- docs/static/resources/openapi.json | 3 +- docs/yarn.lock | 34 +- pyproject.toml | 2 + scripts/cypress_run.py | 50 +- ...s.test.ts => nativeFilters.noInitState.test.ts} | 242 - .../cypress/e2e/dashboard/nativeFilters.test.ts | 216 - .../cypress/e2e/explore/AdhocMetrics.test.ts | 2 +- .../e2e/explore/visualizations/table.test.ts | 4 +- superset-frontend/jest.config.js | 2 +- superset-frontend/package-lock.json | 2164 +- superset-frontend/package.json | 23 +- .../plugin-chart/templates/jest.config.erb | 1 + .../plugin-chart/templates/package-lock.erb | 34688 ++++++++++--------- .../generators/plugin-chart/templates/package.erb | 1 + .../templates/src/plugin/controlPanel.erb | 1 - .../superset-ui-chart-controls/package.json | 6 +- .../src/components/ColumnOption.tsx | 18 +- .../src/components/MetricOption.tsx | 7 +- .../src/utils/D3Formatting.ts | 2 + .../test/components/ColumnOption.test.tsx | 17 + .../packages/superset-ui-core/package.json | 38 +- .../factories/createMemoryFormatter.ts | 55 + .../superset-ui-core/src/number-format/index.ts | 1 + .../superset-ui-core/src/query/types/Metric.ts | 1 + .../superset-ui-core/src/query/types/Query.ts | 1 + .../test/chart/clients/ChartClient.test.ts | 2 +- .../components/createLoadableRenderer.test.tsx | 17 +- .../test/connection/SupersetClient.test.ts | 8 +- .../test/connection/SupersetClientClass.test.ts | 37 +- .../test/connection/callApi/callApi.test.ts | 78 +- .../callApi/callApiAndParseWithTimeout.test.ts | 13 +- .../test/connection/callApi/parseResponse.test.ts | 14 +- .../factories/createMemoryFormatter.test.ts | 94 + .../test/number-format/index.test.ts | 2 + .../query/api/legacy/getDatasourceMetadata.test.ts | 4 +- .../test/query/api/legacy/getFormData.test.ts | 4 +- .../test/query/api/setupClientForTest.ts | 1 + .../test/query/api/v1/getChartData.test.ts | 4 +- .../test/query/api/v1/makeApi.test.ts | 4 +- .../superset-ui-core/test/style/index.test.tsx | 10 +- .../test/time-comparison/fetchTimeRange.test.ts | 20 +- .../packages/superset-ui-demo/package.json | 2 +- .../src/controlPanel.ts | 6 + .../legacy-plugin-chart-partition/package.json | 2 +- .../src/Radar/controlPanel.tsx | 26 +- .../src/Radar/transformProps.ts | 32 + .../plugin-chart-echarts/src/Radar/types.ts | 5 +- .../plugins/plugin-chart-echarts/src/constants.ts | 4 +- .../plugins/plugin-chart-handlebars/package.json | 2 +- .../plugins/plugin-chart-table/package.json | 6 +- superset-frontend/spec/helpers/testing-library.tsx | 2 +- .../ColumnElement/ColumnElement.test.tsx | 28 +- .../src/SqlLab/components/ResultSet/index.tsx | 38 +- .../ShareSqlLabQuery/ShareSqlLabQuery.test.tsx | 2 +- .../SqlLab/components/SouthPane/SouthPane.test.tsx | 2 +- .../src/SqlLab/components/SqlEditor/index.tsx | 2 +- .../AlteredSliceTag/AlteredSliceTag.test.jsx | 2 +- .../src/components/Chart/{Chart.jsx => Chart.tsx} | 156 +- .../src/components/Chart/ChartErrorMessage.tsx | 12 +- .../ErrorMessage/InvalidSQLErrorMessage.test.tsx | 126 + .../ErrorMessage/InvalidSQLErrorMessage.tsx | 62 + .../ErrorMessage/MarshmallowErrorMessage.test.tsx | 2 +- .../src/components/ResizableSidebar/index.tsx | 7 +- .../nativeFilters/FilterCard/useFilterScope.ts | 6 +- .../FiltersConfigModal/FiltersConfigModal.test.tsx | 4 +- .../dashboard/components/nativeFilters/state.ts | 2 +- .../src/dashboard/containers/DashboardPage.tsx | 19 +- superset-frontend/src/dashboard/types.ts | 2 +- .../DatasourceControl/DatasourceControl.test.jsx | 111 +- .../tests/CurrentCalendarFrame.test.tsx | 2 +- .../ColumnSelectPopover.test.tsx | 132 +- .../DndColumnSelectControl/ColumnSelectPopover.tsx | 8 +- .../DndColumnSelect.test.tsx | 52 +- .../DndColumnSelectControl/DndColumnSelect.tsx | 4 +- .../DndMetricSelect.test.tsx | 33 +- .../DndColumnSelectControl/DndMetricSelect.tsx | 14 +- .../DndColumnSelectControl/utils/optionSelector.ts | 9 +- ...AdhocFilterEditPopoverSimpleTabContent.test.tsx | 40 +- .../controls/MetricControl/AdhocMetricOption.jsx | 3 +- .../components/controls/TextAreaControl.test.jsx | 50 +- .../OAuth2ClientField.test.tsx | 2 +- .../databases/DatabaseModal/index.test.tsx | 2 + .../UploadDataModel/UploadDataModal.test.tsx | 6 +- superset-frontend/src/setup/setupErrorMessages.ts | 9 + superset-frontend/src/setup/setupFormatters.ts | 5 +- superset-websocket/package-lock.json | 251 +- superset-websocket/package.json | 8 +- .../utils/client-ws-app/package-lock.json | 266 +- .../utils/client-ws-app/package.json | 4 +- superset/commands/dashboard/export.py | 34 +- superset/commands/database/exceptions.py | 2 +- superset/commands/database/importers/v1/utils.py | 13 +- superset/commands/database/tables.py | 2 +- superset/config.py | 17 +- superset/connectors/sqla/models.py | 2 + superset/databases/api.py | 18 +- superset/db_engine_specs/bigquery.py | 2 +- superset/errors.py | 3 + .../dashboards/COVID_Vaccine_Dashboard.yaml | 106 + superset/exceptions.py | 2 +- superset/initialization/__init__.py | 5 + superset/jinja_context.py | 59 +- superset/migrations/env.py | 6 +- superset/models/helpers.py | 31 +- superset/models/sql_lab.py | 1 + superset/security/manager.py | 13 +- superset/sql/parse.py | 108 +- superset/sql_lab.py | 45 +- superset/sql_parse.py | 103 +- .../translations/pt_BR/LC_MESSAGES/messages.po | 108 +- superset/translations/sl/LC_MESSAGES/messages.po | 1273 +- tests/integration_tests/async_events/api_tests.py | 6 +- tests/integration_tests/base_api_tests.py | 35 +- tests/integration_tests/cache_tests.py | 24 +- tests/integration_tests/charts/api_tests.py | 400 +- tests/integration_tests/charts/commands_tests.py | 16 +- tests/integration_tests/charts/data/api_tests.py | 77 +- tests/integration_tests/charts/schema_tests.py | 4 +- tests/integration_tests/core_tests.py | 168 +- tests/integration_tests/dashboard_tests.py | 20 +- tests/integration_tests/dashboards/api_tests.py | 469 +- tests/integration_tests/dashboards/base_case.py | 10 +- .../integration_tests/dashboards/commands_tests.py | 45 + tests/integration_tests/dashboards/dao_tests.py | 30 +- .../dashboards/security/security_dataset_tests.py | 16 +- .../dashboards/security/security_rbac_tests.py | 6 +- tests/integration_tests/databases/api_tests.py | 394 +- .../integration_tests/databases/commands_tests.py | 6 +- tests/integration_tests/datasets/api_tests.py | 75 +- tests/integration_tests/datasets/commands_tests.py | 6 +- tests/integration_tests/datasource/api_tests.py | 64 +- tests/integration_tests/datasource_tests.py | 97 +- .../db_engine_specs/ascend_tests.py | 10 +- .../db_engine_specs/base_engine_spec_tests.py | 67 +- .../db_engine_specs/base_tests.py | 2 +- .../db_engine_specs/bigquery_tests.py | 14 +- .../db_engine_specs/elasticsearch_tests.py | 2 +- .../db_engine_specs/mysql_tests.py | 6 +- .../db_engine_specs/pinot_tests.py | 30 +- .../db_engine_specs/postgres_tests.py | 42 +- .../db_engine_specs/presto_tests.py | 46 +- .../integration_tests/dict_import_export_tests.py | 68 +- tests/integration_tests/dynamic_plugins_tests.py | 4 +- tests/integration_tests/email_tests.py | 4 +- tests/integration_tests/embedded/dao_tests.py | 10 +- tests/integration_tests/event_logger_tests.py | 108 +- tests/integration_tests/fixtures/importexport.py | 14 + tests/integration_tests/form_tests.py | 12 +- tests/integration_tests/import_export_tests.py | 198 +- tests/integration_tests/log_api_tests.py | 137 +- .../logging_configurator_tests.py | 2 +- tests/integration_tests/model_tests.py | 67 +- tests/integration_tests/queries/api_tests.py | 28 +- .../queries/saved_queries/api_tests.py | 18 +- tests/integration_tests/query_context_tests.py | 121 +- tests/integration_tests/reports/api_tests.py | 6 +- tests/integration_tests/result_set_tests.py | 333 +- tests/integration_tests/security/api_tests.py | 6 +- .../security/guest_token_security_tests.py | 30 +- .../security/row_level_security_tests.py | 80 +- tests/integration_tests/security_tests.py | 475 +- tests/integration_tests/sql_lab/api_tests.py | 50 +- tests/integration_tests/sql_validator_tests.py | 4 +- tests/integration_tests/sqla_models_tests.py | 258 +- tests/integration_tests/sqllab_tests.py | 80 +- tests/integration_tests/strategy_tests.py | 12 +- tests/integration_tests/tagging_tests.py | 68 +- tests/integration_tests/tags/api_tests.py | 66 +- tests/integration_tests/thumbnails_tests.py | 36 +- tests/integration_tests/users/api_tests.py | 18 +- tests/integration_tests/utils/encrypt_tests.py | 12 +- .../integration_tests/utils/machine_auth_tests.py | 2 +- tests/integration_tests/utils_tests.py | 238 +- tests/integration_tests/viz_tests.py | 240 +- .../databases/commands/importers/v1/import_test.py | 22 + tests/unit_tests/db_engine_specs/test_base.py | 16 +- tests/unit_tests/jinja_context_test.py | 432 +- tests/unit_tests/models/helpers_test.py | 53 + tests/unit_tests/security/manager_test.py | 146 + tests/unit_tests/sql/parse_tests.py | 47 + tests/unit_tests/sql_lab_test.py | 115 +- tests/unit_tests/sql_parse_tests.py | 50 +- 186 files changed, 26300 insertions(+), 21009 deletions(-)
