This is an automated email from the ASF dual-hosted git repository.

diegopucci pushed a change to branch diego/ch79154/fix-color-inconsistency
in repository https://gitbox.apache.org/repos/asf/superset.git


    from eadc4c3fd7 [WIP] Refactor saving logics
     add b4ab36a6a5 fix: Small tweaks for Line and Area chart migrations 
(ECharts) (#28334)
     add 467e612533 fix: Remedy logic for UpdateDatasetCommand uniqueness check 
(#28341)
     add b549977f05 feat: Utility function to render chart tooltips (#27950)
     add b7ac526257 docs: clarifying that config.SQL_QUERY_MUTATOR does not 
affect cache (#28360)
     add c618767c6b fix: don't strip SQL comments in Explore (#28363)
     add f04b4e87fb refactor(superset-ui-core): Migrate FallbackComponent.test 
to RTL (#28359)
     add 1bf04015c6 feat(reports): Set a minimum interval for each report's 
execution (#28176)
     add bd1c3fcba4 docs: update CVE list (#28373)
     add 8c27d4d47f chore(build): uplift `webpack`-related packages to v5 
(#28342)
     add 5a13e64dc6 fix: Revert "chore(build): uplift `webpack`-related 
packages to v5 (#28342)" (#28384)
     add 9e4ba6762f fix: Scroll to top when selecting a global dashboard tab 
(#28386)
     add 55f3b46f41 fix: Contribution percentages for ECharts plugins (#28368)
     add c8185694be fix: update links to reference docs listing Superset issue 
codes (#28389)
     add 07cd1d89d0 fix(explore): hide advanced analytics for non temporal 
xaxis (#28312)
     add ce668d46cc feat(SIP-95): catalogs in SQL Lab and datasets (#28376)
     add e1a440fa36 chore: remove and deprecate old CSS templates endpoints 
(#28387)
     add 9c065951e7 fix: tests on database, dataset, saved_queries apis (#28397)
     add b224b8331a fix: type annotation breaking on py3.9 (#28396)
     add bbfe5c0ae8 feat(explore): Color scheme groups, new color schemes 
(#27995)
     add 499fb2c631 chore: add a github "action-validator" in CI (#28358)
     add de1ae2bd48 chore: Updates CHANGELOG.md with 3.1.3 data (#28398)
     add ba2cf5dbbc chore: unit tests for `catalog_access` (#28406)
     add e6a85c5901 fix: export/import catalogs (#28408)
     add 307ebeaa19 chore(Databricks): New Databricks driver (#28393)
     add e516bba8fc fix: table autocomplete should pass catalog (#28413)
     add f29e1e4c29 feat: catalog support for Databricks native (#28394)
     add 498c608667 fix: pass catalog when estimating query cost (#28410)
     add 7da6147bf8 chore(build): fix issue that prevent `eslint` displaying 
type-check report during build (#28379)
     add 93e654212c fix: update development.mdx (#28412)
     add 8f9663ac67 chore(docs): fix two broken Docusaurus redirect links 
(#28430)
     add 5bad7fc4f3 chore(🦾): bump python werkzeug 3.0.1 -> 3.0.3 (#28421)
     add 76a9e1d37d fix: set supersetbot orglabel to always succeed (#28418)
     add 26df7b4ad5 feat: clarify that 'Text' supports markdown (#28425)
     add 3a62eab163 fix(SIP-95): missing catalog cache key (#28415)
     add 02478e5b95 feat(dashboard): Add metadata bar to the header (#27857)
     add e91669821e fix: run some CI tests against previous python version 
(#28419)
     add b0157649af fix(dashboard): Change class name on last Droppable in a 
column (#28395)
     add add79a4b24 fix(docs): add missing link to meta-cross-db feature flag 
docs (#28433)
     add 54e02f5b11 chore: deprecate old Database endpoints (#28404)
     add 4f51f05133 fix(ci): fix failed `docker-build` CI job (#28442)
     add 2eed5e5f3f Merge
     add c81a55fb03 Clean up
     add 33e0c1dc9e Move utils outside dashboard

No new revisions were added by this update.

Summary of changes:
 .github/ISSUE_TEMPLATE/bug-report.yml              |   2 +-
 .github/actions/setup-backend/action.yml           |   2 +
 .../workflows/github-action-validator.sh           |  17 +-
 .github/workflows/github-action-validator.yml      |  28 ++
 .github/workflows/issue_creation.yml               |   2 +-
 .../workflows/superset-python-integrationtest.yml  |   2 +-
 .github/workflows/tag-release.yml                  |   4 +-
 CHANGELOG.md                                       |   1 +
 CHANGELOG/3.1.3.md                                 |  47 +++
 RESOURCES/FEATURE_FLAGS.md                         |   2 +-
 docs/docs/configuration/alerts-reports.mdx         |   9 +
 docs/docs/contributing/development.mdx             |   2 +-
 docs/docs/security/cves.mdx                        |   5 +
 docs/docusaurus.config.js                          |   6 +-
 requirements/base.txt                              |  15 +-
 scripts/tests/run.sh                               |   2 +-
 .../cypress/e2e/dashboard/editmode.test.ts         |  28 +-
 superset-frontend/package-lock.json                | 311 ++++++++++-------
 superset-frontend/package.json                     |   2 +-
 .../src/operators/contributionOperator.ts          |   3 +-
 .../src/sections/advancedAnalytics.tsx             |   3 +-
 .../src/sections/forecastInterval.tsx              |   2 +
 .../src/shared-controls/sharedControls.tsx         |  22 +-
 .../superset-ui-chart-controls/src/types.ts        |   4 +
 .../src/utils/displayTimeRelatedControls.ts}       |  30 +-
 .../superset-ui-chart-controls/src/utils/index.ts  |   1 +
 .../test/utils/displayTimeRelatedControls.test.ts  | 118 +++++++
 .../src/color/CategoricalColorScale.ts             |   5 +-
 .../superset-ui-core/src/color/ColorScheme.ts      |   7 +
 .../src/color/colorSchemes/categorical/airbnb.ts   |   1 +
 .../categorical/{airbnb.ts => blueToGreen.ts}      |  30 +-
 .../categorical/{airbnb.ts => colorsOfRainbow.ts}  |  32 +-
 .../src/color/colorSchemes/categorical/d3.ts       |   1 +
 .../src/color/colorSchemes/categorical/echarts.ts  |   1 +
 .../src/color/colorSchemes/categorical/google.ts   |   1 +
 .../src/color/colorSchemes/categorical/index.ts    |   6 +
 .../src/color/colorSchemes/categorical/lyft.ts     |   1 +
 .../categorical/{airbnb.ts => modernSunset.ts}     |  32 +-
 .../src/color/colorSchemes/categorical/preset.ts   |   3 +
 .../{airbnb.ts => presetAndSuperset.ts}            |  32 +-
 .../categorical/{airbnb.ts => redToYellow.ts}      |  30 +-
 .../src/color/colorSchemes/categorical/superset.ts |   3 +
 .../categorical/{airbnb.ts => wavesOfBlue.ts}      |  30 +-
 .../packages/superset-ui-core/src/color/types.ts   |   6 +
 .../superset-ui-core/src/query/types/Query.ts      |   1 +
 .../superset-ui-core/src/ui-overrides/types.ts     |   1 +
 .../packages/superset-ui-core/src/utils/index.ts   |   1 +
 .../packages/superset-ui-core/src/utils/tooltip.ts |  57 ++++
 .../chart/components/FallbackComponent.test.tsx    |  66 ++--
 .../test/color/CategoricalColorScale.test.ts       |   2 +-
 .../superset-ui-core/test/utils/tooltip.test.ts    | 115 +++++++
 .../packages/superset-ui-demo/package.json         |   2 +-
 .../shared/components/ResizableChartDemo.tsx       |   2 +-
 .../BigNumberWithTrendline/transformProps.ts       |  37 +-
 .../src/Bubble/transformProps.ts                   |  15 +-
 .../src/Funnel/transformProps.ts                   |  72 ++--
 .../src/Gauge/transformProps.ts                    |   6 +-
 .../src/Graph/transformProps.ts                    |  31 +-
 .../src/Heatmap/transformProps.ts                  |  41 +--
 .../src/MixedTimeseries/transformProps.ts          |  42 ++-
 .../plugin-chart-echarts/src/Pie/transformProps.ts |  63 ++--
 .../src/Sunburst/transformProps.ts                 |  56 ++-
 .../src/Timeseries/EchartsTimeseries.tsx           |   6 +-
 .../src/Timeseries/buildQuery.ts                   |  10 +-
 .../src/Timeseries/transformProps.ts               |  69 ++--
 .../plugin-chart-echarts/src/Timeseries/types.ts   |   2 -
 .../src/Tree/transformProps.ts                     |  13 +-
 .../src/Treemap/transformProps.ts                  |  14 +-
 .../src/Waterfall/transformProps.ts                |  44 +--
 .../plugin-chart-echarts/src/utils/forecast.ts     |  35 +-
 .../plugin-chart-echarts/src/utils/tooltip.ts      |   1 +
 .../test/Bubble/transformProps.test.ts             |  62 ++--
 .../test/Funnel/transformProps.test.ts             |  70 +---
 .../test/Graph/transformProps.test.ts              |  36 +-
 .../test/Pie/transformProps.test.ts                |  54 +--
 .../test/utils/forecast.test.ts                    |  12 +-
 .../spec/fixtures/mockDashboardInfo.js             |  13 +
 superset-frontend/src/SqlLab/actions/sqlLab.js     |  33 +-
 .../src/SqlLab/actions/sqlLab.test.js              |  31 +-
 .../SqlLab/components/AceEditorWrapper/index.tsx   |   3 +
 .../AceEditorWrapper/useKeywords.test.ts           |  30 +-
 .../components/AceEditorWrapper/useKeywords.ts     |  13 +-
 .../SaveDatasetModal/SaveDatasetModal.test.tsx     |  32 ++
 .../SqlLab/components/SaveDatasetModal/index.tsx   |   2 +
 .../SqlLab/components/SaveQuery/SaveQuery.test.tsx |   1 +
 .../src/SqlLab/components/SaveQuery/index.tsx      |   4 +-
 .../SqlLab/components/SqlEditor/SqlEditor.test.tsx |  82 +++++
 .../SqlEditorLeftBar/SqlEditorLeftBar.test.tsx     |  58 +++-
 .../SqlLab/components/SqlEditorLeftBar/index.tsx   |  34 +-
 .../SqlLab/components/TabbedSqlEditors/index.tsx   |   2 +
 .../src/SqlLab/components/TableElement/index.tsx   |   4 +-
 superset-frontend/src/SqlLab/fixtures.ts           |  15 +
 .../src/SqlLab/reducers/getInitialState.ts         |   2 +
 superset-frontend/src/SqlLab/reducers/sqlLab.js    |  14 +
 superset-frontend/src/SqlLab/types.ts              |   2 +
 .../SqlLab/utils/reduxStateToLocalStorageHelper.ts |  38 ++-
 .../DatabaseSelector/DatabaseSelector.test.tsx     |   8 +
 .../src/components/DatabaseSelector/index.tsx      | 110 +++++-
 .../src/components/Datasource/DatasourceEditor.jsx |  13 +
 .../src/components/ErrorMessage/IssueCode.test.tsx |   2 +-
 .../src/components/ErrorMessage/IssueCode.tsx      |   2 +-
 superset-frontend/src/components/Select/styles.tsx |   2 +-
 .../TableSelector/TableSelector.test.tsx           |   7 +
 .../src/components/TableSelector/index.tsx         |  36 +-
 .../src/dashboard/actions/dashboardState.js        |  70 ++--
 .../DashboardBuilder/DashboardBuilder.tsx          |   1 +
 .../DashboardBuilder/DashboardContainer.tsx        |  46 ++-
 .../dashboard/components/Header/Header.test.tsx    |  25 ++
 .../src/dashboard/components/Header/index.jsx      |  29 ++
 .../dashboard/components/PropertiesModal/index.tsx |  21 +-
 .../dashboard/components/gridComponents/Column.jsx |   2 +-
 .../components/gridComponents/new/NewMarkdown.jsx  |   2 +-
 .../src/dashboard/containers/DashboardPage.tsx     |  19 +-
 .../src/dashboard/reducers/dashboardState.js       |   7 -
 .../src/dashboard/reducers/dashboardState.test.ts  |  14 +-
 .../src/dashboard/util/colorScheme.ts              | 119 -------
 .../src/explore/actions/exploreActions.test.js     |  21 ++
 .../src/explore/actions/exploreActions.ts          |  13 +
 .../components/ControlPanelsContainer.test.tsx     |  62 +++-
 .../explore/components/ControlPanelsContainer.tsx  | 155 +++++----
 .../components/ExploreChartHeader/index.jsx        |  31 +-
 .../components/ExploreViewContainer/index.jsx      |   9 +-
 .../StashFormDataContainer.test.tsx                |  57 ++++
 .../components/StashFormDataContainer/index.tsx}   |  37 +-
 .../ColorSchemeControl/ColorSchemeControl.test.tsx |  72 +++-
 .../controls/ColorSchemeControl/index.tsx          | 185 +++++++---
 .../DndColumnSelectControl/DndFilterSelect.tsx     |  10 +-
 .../FilterControl/AdhocFilterControl/index.jsx     |  10 +-
 .../src/explore/reducers/exploreReducer.js         |  25 ++
 superset-frontend/src/explore/types.ts             |   2 +
 .../DatabaseConnectionForm/CommonParameters.tsx    |  63 ++++
 .../DatabaseModal/DatabaseConnectionForm/index.tsx |   9 +
 .../databases/DatabaseModal/ExtraOptions.tsx       |  23 +-
 .../DatabaseModal/SSHTunnelSwitch.test.tsx         |   1 +
 .../src/features/databases/DatabaseModal/index.tsx |  16 +-
 .../UploadDataModel/UploadDataModal.test.tsx       |   4 +
 superset-frontend/src/features/databases/types.ts  |  18 +
 .../datasets/AddDataset/DatasetPanel/index.tsx     |  13 +-
 .../features/datasets/AddDataset/Footer/index.tsx  |   1 +
 .../datasets/AddDataset/LeftPanel/index.tsx        |  10 +
 .../src/features/datasets/AddDataset/types.tsx     |   3 +
 .../hooks/apiResources/{schemas.ts => catalogs.ts} |  43 ++-
 superset-frontend/src/hooks/apiResources/index.ts  |   1 +
 .../src/hooks/apiResources/queryApi.ts             |   1 +
 .../src/hooks/apiResources/queryValidations.ts     |   4 +-
 .../src/hooks/apiResources/schemas.test.ts         |  59 +++-
 .../src/hooks/apiResources/schemas.ts              |  34 +-
 .../src/hooks/apiResources/sqlEditorTabs.ts        |   2 +
 superset-frontend/src/hooks/apiResources/sqlLab.ts |   2 +
 .../src/hooks/apiResources/tables.test.ts          |  16 +
 superset-frontend/src/hooks/apiResources/tables.ts |  35 +-
 .../src/pages/DatasetCreation/index.tsx            |   9 +
 superset-frontend/src/setup/setupColors.ts         |  16 +-
 superset-frontend/src/types/Database.ts            |   1 +
 superset-frontend/src/utils/colorScheme.ts         | 142 ++++++++
 superset-frontend/src/utils/datasourceUtils.js     |   1 +
 superset-frontend/src/utils/urlUtils.test.ts       |  46 ++-
 superset-frontend/src/utils/urlUtils.ts            |  13 +
 superset/cachekeys/api.py                          |   1 +
 superset/commands/dashboard/importers/v0.py        |   1 +
 superset/commands/database/validate_sql.py         |   2 +-
 superset/commands/dataset/create.py                |   7 +-
 superset/commands/dataset/duplicate.py             |   4 +-
 superset/commands/dataset/exceptions.py            |  19 +-
 superset/commands/dataset/update.py                |  14 +-
 superset/commands/report/base.py                   |  47 ++-
 superset/commands/report/create.py                 |  54 +--
 superset/commands/report/exceptions.py             |  27 ++
 superset/commands/report/update.py                 |  69 ++--
 superset/config.py                                 |  11 +-
 superset/connectors/sqla/models.py                 |  22 +-
 superset/dashboards/schemas.py                     |   3 +
 superset/databases/api.py                          |   1 +
 superset/databases/schemas.py                      |  22 +-
 superset/datasets/api.py                           |  10 +-
 superset/datasets/schemas.py                       |   7 +
 superset/db_engine_specs/base.py                   |   6 +-
 superset/db_engine_specs/databricks.py             | 380 ++++++++++++++++-----
 superset/migrations/shared/catalogs.py             | 163 +++++++--
 .../migrations/shared/migrate_viz/processors.py    |   4 +
 ...0-52_58d051681a3b_add_catalog_perm_to_tables.py |   8 +-
 ...3_4081be5b6b74_enable_catalog_in_databricks.py} |  27 +-
 superset/models/core.py                            |   5 +
 superset/models/helpers.py                         |   2 +-
 superset/models/sql_lab.py                         |   5 +
 superset/queries/saved_queries/api.py              |  16 +-
 superset/security/manager.py                       |   5 +-
 superset/sqllab/query_render.py                    |   1 -
 superset/sqllab/schemas.py                         |   4 +
 superset/sqllab/sqllab_execution_context.py        |   4 +
 superset/sqllab/utils.py                           |   1 +
 .../utils/pandas_postprocessing/contribution.py    | 108 +++++-
 superset/views/css_templates.py                    |  31 +-
 superset/views/database/mixins.py                  |   4 +-
 superset/views/database/views.py                   |  82 ++---
 superset/views/datasource/schemas.py               |   3 +
 superset/views/datasource/views.py                 |   1 +
 superset/views/sql_lab/views.py                    |   1 +
 tests/integration_tests/conftest.py                |   1 +
 tests/integration_tests/core_tests.py              |   4 +-
 tests/integration_tests/dashboards/api_tests.py    |   2 +
 tests/integration_tests/databases/api_tests.py     |   9 +
 tests/integration_tests/datasets/api_tests.py      |  19 +-
 tests/integration_tests/datasets/commands_tests.py |   2 +
 tests/integration_tests/datasource_tests.py        |   8 +-
 .../queries/saved_queries/api_tests.py             |   1 +
 .../queries/saved_queries/commands_tests.py        |   2 +
 tests/integration_tests/reports/api_tests.py       | 217 +++++++++++-
 tests/integration_tests/sqllab_tests.py            |   4 +-
 tests/unit_tests/commands/dataset/test_update.py   |  60 ++++
 tests/unit_tests/commands/report/base_test.py      | 255 ++++++++++++++
 tests/unit_tests/connectors/sqla/models_test.py    |  76 +++++
 tests/unit_tests/dao/dataset_test.py               |   3 -
 tests/unit_tests/databases/api_test.py             |   2 +
 tests/unit_tests/datasets/commands/export_test.py  |   2 +
 .../datasets/commands/importers/v1/import_test.py  |   2 +
 .../unit_tests/db_engine_specs/test_databricks.py  |  27 +-
 .../unit_tests/migrations/shared}/__init__.py      |   0
 .../unit_tests/migrations/shared/catalogs_test.py  | 145 ++++++++
 .../pandas_postprocessing/test_contribution.py     |  86 +++--
 tests/unit_tests/security/manager_test.py          |  48 +++
 221 files changed, 4708 insertions(+), 1601 deletions(-)
 copy scripts/databases/hive/startup.sh => 
.github/workflows/github-action-validator.sh (66%)
 mode change 100644 => 100755
 create mode 100644 .github/workflows/github-action-validator.yml
 create mode 100644 CHANGELOG/3.1.3.md
 copy 
superset-frontend/packages/{superset-ui-core/src/validator/legacyValidateInteger.ts
 => superset-ui-chart-controls/src/utils/displayTimeRelatedControls.ts} (59%)
 create mode 100644 
superset-frontend/packages/superset-ui-chart-controls/test/utils/displayTimeRelatedControls.test.ts
 copy 
superset-frontend/packages/superset-ui-core/src/color/colorSchemes/categorical/{airbnb.ts
 => blueToGreen.ts} (70%)
 copy 
superset-frontend/packages/superset-ui-core/src/color/colorSchemes/categorical/{airbnb.ts
 => colorsOfRainbow.ts} (68%)
 copy 
superset-frontend/packages/superset-ui-core/src/color/colorSchemes/categorical/{airbnb.ts
 => modernSunset.ts} (68%)
 copy 
superset-frontend/packages/superset-ui-core/src/color/colorSchemes/categorical/{airbnb.ts
 => presetAndSuperset.ts} (67%)
 copy 
superset-frontend/packages/superset-ui-core/src/color/colorSchemes/categorical/{airbnb.ts
 => redToYellow.ts} (70%)
 copy 
superset-frontend/packages/superset-ui-core/src/color/colorSchemes/categorical/{airbnb.ts
 => wavesOfBlue.ts} (70%)
 create mode 100644 
superset-frontend/packages/superset-ui-core/src/utils/tooltip.ts
 create mode 100644 
superset-frontend/packages/superset-ui-core/test/utils/tooltip.test.ts
 delete mode 100644 superset-frontend/src/dashboard/util/colorScheme.ts
 create mode 100644 
superset-frontend/src/explore/components/StashFormDataContainer/StashFormDataContainer.test.tsx
 copy 
superset-frontend/{packages/superset-ui-core/src/hooks/useComponentDidUpdate/useComponentDidUpdate.ts
 => src/explore/components/StashFormDataContainer/index.tsx} (51%)
 copy superset-frontend/src/hooks/apiResources/{schemas.ts => catalogs.ts} (72%)
 create mode 100644 superset-frontend/src/utils/colorScheme.ts
 copy 
superset/migrations/versions/{2024-01-16_13-14_59a1450b3c10_drop_filter_sets_table.py
 => 2024-05-08_19-33_4081be5b6b74_enable_catalog_in_databricks.py} (69%)
 create mode 100644 tests/unit_tests/commands/dataset/test_update.py
 create mode 100644 tests/unit_tests/commands/report/base_test.py
 copy {superset/advanced_data_type => 
tests/unit_tests/migrations/shared}/__init__.py (100%)
 create mode 100644 tests/unit_tests/migrations/shared/catalogs_test.py

Reply via email to