This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch chore/color-scheme-tests
in repository https://gitbox.apache.org/repos/asf/superset.git
from e15bfdaabe Verify charts changing colors
add 8d373825a6 Test shared and label colors
add 7495cdbfe0 feat: Create Chart onClick Functionality (#20809)
add 2c010974e8 fix: Timeseries visualization with Chart Source = Query
(#20795)
add 2263a76f4d remove eleement reference (#20830)
add 4ffa3c22d1 feat: Add Türkiye Map to Country Map (#20801)
add 3fb5c79d77 fix: invalid dataset schema (#20826)
add 557cf4b739 fix(dashboard): add toast if JSON metadata is invalid
(#20823)
add 9bf7ed58cd fix(plugin-chart-echarts): bar chart overflow (#20805)
add 644148b37d chore: add SAMPLES_ROW_LIMIT in frontend conf (#20841)
add 0945d4a2f4 feat: Pass dashboard context to explore through local
storage (#20743)
add 7a1aa79c52 fix: Ensure consistent rollback logic (#20811)
add 8bfc9b76a6 fix: Use cache_manager.cache rather than
cache_manager.data_cache for caching table metadata (#20726)
add e3c6380258 chore: Change Button background color from primary.dark1 to
primary.base (#20846)
add c4564a91dc chore: add databricks logo (#20849)
add 672266ca58 fix: add complex type to pydruid (#20834)
add 3f943ffadb fix: adding extraConfig to worker deployment #20828 (#20829)
add 3de641c3ae change buttons to be only save and overwrite (#20851)
add 6b0c3032b2 chore: Update color scheme when deleted or changed (#20589)
add 5d107b86ab fix: explore warnings cleanup (#20864)
add 5c2c2e8040 feat(explore): UX changes in fast viz switcher (#20848)
add 55a89dfac9 feat: a simple LRUCache in frontend (#20842)
add 46deb79f50 fix: Fix chart title truncating when Chrome is zoomed out
(#20847)
add ce1974176f docs: fix alt image issue (#20856)
add 76f573a4ea chore: Ignore Applitools by default when running Cypress
tests (#20789)
add cb9ae38361 fix: switch form_data between different datasource (#20867)
add a69f016bca chore: Feature flag for embedding charts (#20804)
add e1094e2198 fix: Add migration to add created_by_fk as explicit owner
for charts and datasets (#20617)
add 6e6d4e3169 test: suppress unnecessary fab and sqla logs (#20870)
add 2f3e11db66 feat: blankstate metrics columns (#20755)
add 1b577d15c1 chore: updated resources with newer blogs and events
(#20858)
add 4d192e6e4d feat(report): capture dashboard reports in specific states
(#20552)
add d327437462 refactor: Improve performance regression introduced in
#20473 (#20810)
add cd578d2865 add having_druid back into the schema (#20879)
add 35184b2994 fix: create property for schema_perm for `Query` (#20871)
add 77db0651d8 feat(sql lab): display presto and trino tracking url
(#20799)
add 0c47ec90fe Merge branch 'master' of https://github.com/apache/superset
into chore/color-scheme-tests
add 0361bb3a87 Update dashboard edit test
No new revisions were added by this update.
Summary of changes:
.github/workflows/bashlib.sh | 11 +-
README.md | 20 +-
RELEASING/README.md | 1 +
UPDATING.md | 1 +
docs/README.md | 2 +-
docs/docs/contributing/testing-locally.mdx | 14 ++
docs/src/resources/data.js | 5 +
docs/static/img/databases/databricks.png | Bin 0 -> 20293 bytes
docs/yarn.lock | 106 +--------
helm/superset/Chart.yaml | 2 +-
helm/superset/templates/deployment-worker.yaml | 16 +-
superset-frontend/cypress-base/cypress.json | 2 +-
.../integration/dashboard/dashboard.helper.ts | 1 +
.../integration/dashboard/edit_properties.test.ts | 35 ++-
superset-frontend/package-lock.json | 1 +
superset-frontend/package.json | 1 +
.../superset-ui-chart-controls/src/types.ts | 2 +-
.../src/color/ColorSchemeRegistry.ts | 13 +-
.../superset-ui-core/src/query/types/Dashboard.ts | 4 +
.../superset-ui-core/src/utils/featureFlags.ts | 1 +
.../packages/superset-ui-core/src/utils/index.ts | 1 +
.../superset-ui-core/src/utils/lruCache.ts | 74 ++++++
.../test/color/ColorSchemeRegistry.test.ts | 16 ++
.../superset-ui-core/test/utils/lruCache.test.ts | 60 +++++
.../src/countries.ts | 2 +
.../src/countries/turkey.geojson | 87 +++++++
.../plugin-chart-echarts/src/utils/series.ts | 3 -
.../plugins/plugin-chart-handlebars/src/consts.ts | 5 +-
.../plugins/plugin-chart-handlebars/src/i18n.ts | 65 -----
.../src/plugin/controlPanel.tsx | 5 +-
.../plugin-chart-table/src/controlPanel.tsx | 4 -
.../spec/fixtures/mockNativeFilters.ts | 1 +
.../src/SqlLab/components/ResultSet/index.tsx | 69 ++++--
superset-frontend/src/assets/images/databricks.png | Bin 0 -> 20293 bytes
superset-frontend/src/components/Button/index.tsx | 56 ++---
.../src/components/DynamicEditableTitle/index.tsx | 2 +-
.../src/components/EditableTitle/index.tsx | 23 +-
.../src/components/PageHeaderWithActions/index.tsx | 2 +-
superset-frontend/src/constants.ts | 6 +-
.../src/dashboard/actions/dashboardState.js | 1 +
superset-frontend/src/dashboard/actions/hydrate.js | 27 +++
.../CrossFilterScopingModal.tsx | 14 +-
.../src/dashboard/components/Dashboard.test.jsx | 3 +-
.../DashboardBuilder/DashboardContainer.tsx | 96 +++++++-
.../dashboard/components/FiltersBadge/selectors.ts | 14 +-
.../PropertiesModal/PropertiesModal.test.tsx | 4 +-
.../dashboard/components/PropertiesModal/index.tsx | 29 ++-
.../components/SliceHeader/SliceHeader.test.tsx | 61 +++--
.../src/dashboard/components/SliceHeader/index.tsx | 17 +-
.../SliceHeaderControls.test.tsx | 142 +++++------
.../components/SliceHeaderControls/index.tsx | 28 ++-
.../components/nativeFilters/FilterBar/index.tsx | 12 +-
.../dashboard/components/nativeFilters/utils.ts | 3 +-
.../src/dashboard/containers/Chart.jsx | 6 +-
.../src/dashboard/containers/Dashboard.ts | 2 +-
.../src/dashboard/containers/DashboardPage.tsx | 98 +++++++-
superset-frontend/src/dashboard/reducers/types.ts | 1 +
superset-frontend/src/dashboard/types.ts | 7 +
.../dashboard/util/activeAllDashboardFilters.ts | 87 ++-----
.../src/dashboard/util/activeDashboardFilters.js | 4 +-
.../util/charts/getFormDataWithExtraFilters.ts | 22 +-
.../util/getFormDataWithExtraFilters.test.ts | 10 +-
superset-frontend/src/explore/ExplorePage.tsx | 55 ++++-
.../src/explore/actions/hydrateExplore.ts | 36 ++-
.../explore/components/ControlPanelsContainer.tsx | 9 +-
.../ExploreChartHeader/ExploreChartHeader.test.tsx | 5 +
.../src/explore/components/ExploreChartPanel.jsx | 2 +-
.../components/ExploreViewContainer/index.jsx | 2 +-
.../src/explore/components/SaveModal.tsx | 2 +-
.../controls/DatasourceControl/index.jsx | 4 +-
.../DndColumnSelectControl/ColumnSelectPopover.tsx | 81 ++++++-
.../ColumnSelectPopoverTrigger.tsx | 42 +++-
.../DndColumnSelect.test.tsx | 8 +-
.../MetricControl/AdhocMetricEditPopover/index.jsx | 24 +-
.../MetricControl/AdhocMetricPopoverTrigger.tsx | 55 +++--
.../explore/components/controls/SelectControl.jsx | 2 -
.../controls/VizTypeControl/FastVizSwitcher.tsx | 34 +--
.../VizTypeControl/VizTypeControl.test.tsx | 6 +-
.../controls/VizTypeControl/VizTypeGallery.tsx | 2 +-
.../useExploreAdditionalActionsMenu/index.jsx | 37 +--
.../src/explore/controlPanels/sections.tsx | 2 -
.../getFormDataFromDashboardContext.test.ts | 212 +++++++++++++++++
.../getFormDataWithDashboardContext.ts | 191 +++++++++++++++
.../controlUtils/standardizedFormData.test.ts | 261 ++++++++++++---------
.../explore/controlUtils/standardizedFormData.ts | 38 ++-
superset-frontend/src/explore/controls.jsx | 1 -
.../types/DashboardContextForExplore.ts} | 49 ++--
superset-frontend/src/utils/localStorageHelpers.ts | 3 +
superset-frontend/src/views/components/Menu.tsx | 2 +-
superset-frontend/src/views/menu.tsx | 2 +-
superset/annotation_layers/annotations/dao.py | 3 +-
superset/annotation_layers/dao.py | 3 +-
superset/charts/dao.py | 3 +-
superset/charts/schemas.py | 6 +
superset/config.py | 10 +-
superset/dashboards/api.py | 4 +-
superset/dashboards/dao.py | 5 +-
superset/dashboards/permalink/commands/create.py | 6 +-
superset/dashboards/schemas.py | 3 +-
superset/datasets/dao.py | 62 ++---
superset/db_engine_specs/druid.py | 19 +-
superset/db_engine_specs/hive.py | 11 +-
superset/db_engine_specs/presto.py | 23 +-
superset/db_engine_specs/trino.py | 24 +-
...-39_cbe71abde154_fix_report_schedule_and_log.py | 2 +-
...5-48_409c7b420ab0_add_created_by_fk_as_owner.py | 134 +++++++++++
...1a56_rename_report_schedule_extra_to_extra_.py} | 32 ++-
superset/models/core.py | 10 +-
superset/models/dashboard.py | 6 +-
superset/models/helpers.py | 65 ++++-
superset/models/sql_lab.py | 34 ++-
superset/queries/saved_queries/dao.py | 3 +-
superset/reports/api.py | 5 +-
superset/reports/commands/alert.py | 2 +-
superset/reports/commands/base.py | 10 +-
superset/reports/commands/bulk_delete.py | 2 +-
superset/reports/commands/create.py | 33 ++-
superset/reports/commands/delete.py | 2 +-
superset/reports/commands/exceptions.py | 15 +-
superset/reports/commands/execute.py | 106 ++++-----
superset/reports/commands/log_prune.py | 2 +-
superset/reports/commands/update.py | 2 +-
superset/reports/dao.py | 12 +-
superset/reports/filters.py | 2 +-
superset/reports/logs/api.py | 2 +-
superset/{models/reports.py => reports/models.py} | 21 +-
superset/reports/notifications/__init__.py | 2 +-
superset/reports/notifications/base.py | 2 +-
superset/reports/notifications/email.py | 2 +-
superset/reports/notifications/slack.py | 2 +-
superset/reports/schemas.py | 3 +-
.../commands/entry.py => reports/types.py} | 9 +-
superset/security/manager.py | 14 +-
superset/sql_lab.py | 9 +-
superset/sqllab/exceptions.py | 2 +-
superset/utils/core.py | 2 +-
superset/utils/dates.py | 1 +
superset/utils/webdriver.py | 1 -
superset/views/base.py | 3 +-
superset/views/core.py | 5 +-
tests/common/query_context_generator.py | 2 +-
tests/integration_tests/charts/api_tests.py | 2 +-
tests/integration_tests/conftest.py | 49 +++-
tests/integration_tests/dashboards/api_tests.py | 4 +-
tests/integration_tests/databases/api_tests.py | 2 +-
.../integration_tests/fixtures/tabbed_dashboard.py | 102 ++++++--
tests/integration_tests/reports/api_tests.py | 85 +------
.../commands/create_dashboard_report_tests.py | 91 +++++++
.../commands/execute_dashboard_report_tests.py | 68 ++++++
tests/integration_tests/reports/commands_tests.py | 157 ++-----------
tests/integration_tests/reports/scheduler_tests.py | 3 +-
tests/integration_tests/reports/utils.py | 115 ++++++++-
.../integration_tests/sql_lab}/__init__.py | 0
tests/integration_tests/sql_lab/conftest.py | 71 ++++++
.../sql_lab/test_execute_sql_statements.py | 56 +++++
tests/integration_tests/sqllab_tests.py | 28 +--
tests/integration_tests/superset_test_config.py | 7 +
tests/integration_tests/test_app.py | 5 +-
158 files changed, 2914 insertions(+), 1248 deletions(-)
create mode 100644 docs/static/img/databases/databricks.png
create mode 100644
superset-frontend/packages/superset-ui-core/src/utils/lruCache.ts
create mode 100644
superset-frontend/packages/superset-ui-core/test/utils/lruCache.test.ts
create mode 100644
superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/turkey.geojson
delete mode 100644
superset-frontend/plugins/plugin-chart-handlebars/src/i18n.ts
create mode 100644 superset-frontend/src/assets/images/databricks.png
create mode 100644
superset-frontend/src/explore/controlUtils/getFormDataFromDashboardContext.test.ts
create mode 100644
superset-frontend/src/explore/controlUtils/getFormDataWithDashboardContext.ts
copy superset-frontend/{packages/superset-ui-core/test/index.test.ts =>
src/types/DashboardContextForExplore.ts} (58%)
create mode 100644
superset/migrations/versions/2022-07-05_15-48_409c7b420ab0_add_created_by_fk_as_owner.py
copy
superset/migrations/versions/{2020-12-03_10-11_5daced1f0e76_reports_add_working_timeout_column.py
=> 2022-07-11_11-26_ffa79af61a56_rename_report_schedule_extra_to_extra_.py}
(60%)
rename superset/{models/reports.py => reports/models.py} (92%)
copy superset/{temporary_cache/commands/entry.py => reports/types.py} (81%)
create mode 100644
tests/integration_tests/reports/commands/create_dashboard_report_tests.py
create mode 100644
tests/integration_tests/reports/commands/execute_dashboard_report_tests.py
copy {superset/advanced_data_type =>
tests/integration_tests/sql_lab}/__init__.py (100%)
create mode 100644 tests/integration_tests/sql_lab/conftest.py
create mode 100644
tests/integration_tests/sql_lab/test_execute_sql_statements.py