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

diegopucci pushed a change to branch geido/fix/color-consistency-race-conditions
in repository https://gitbox.apache.org/repos/asf/superset.git


    from 7e236593c3 chore(Cypress): Enhance tests reliability
     add 3317776b0b feat(Dashboard): Edit original scheme when no scheme set 
for the Dashboard

No new revisions were added by this update.

Summary of changes:
 .../cypress-base/cypress/e2e/dashboard/utils.ts    |   4 +-
 .../src/shared-controls/sharedControls.tsx         |  28 +++-
 .../src/color/CategoricalColorNamespace.ts         |  35 ++++-
 .../src/color/CategoricalColorScale.ts             |  41 ++++--
 .../src/color/LabelsColorMapSingleton.ts           |  60 ++++-----
 .../test/color/CategoricalColorScale.test.ts       |   8 +-
 .../test/color/LabelsColorMapSingleton.test.ts     |  48 -------
 .../plugins/legacy-plugin-chart-chord/src/Chord.js |  22 +++-
 .../src/transformProps.js                          |   3 +-
 .../src/CountryMap.js                              |  10 +-
 .../src/transformProps.js                          |   2 +
 .../src/Histogram.jsx                              |   9 +-
 .../src/transformProps.js                          |   2 +
 .../legacy-plugin-chart-partition/src/Partition.js |   7 +-
 .../src/transformProps.js                          |   2 +
 .../plugins/legacy-plugin-chart-rose/src/Rose.js   |  14 +-
 .../legacy-plugin-chart-rose/src/transformProps.js |   2 +
 .../src/SankeyLoop.js                              |   8 +-
 .../src/transformProps.js                          |   3 +-
 .../legacy-plugin-chart-sankey/src/Sankey.js       |   9 +-
 .../src/transformProps.js                          |   3 +-
 .../legacy-plugin-chart-world-map/src/WorldMap.js  |  14 +-
 .../src/transformProps.js                          |   2 +
 .../src/CategoricalDeckGLContainer.tsx             |  18 ++-
 .../src/layers/Grid/Grid.tsx                       |   6 +-
 .../src/layers/Hex/Hex.tsx                         |   6 +-
 .../legacy-preset-chart-nvd3/src/NVD3Vis.js        |  12 +-
 .../legacy-preset-chart-nvd3/src/transformProps.js |   2 +
 .../src/BoxPlot/transformProps.ts                  |  13 +-
 .../src/Bubble/transformProps.ts                   |  14 +-
 .../src/Funnel/transformProps.ts                   |  10 +-
 .../src/Gauge/transformProps.ts                    |  11 +-
 .../src/Graph/transformProps.ts                    |  12 +-
 .../src/Histogram/transformProps.ts                |   7 +-
 .../plugin-chart-echarts/src/Pie/transformProps.ts |  10 +-
 .../src/Radar/transformProps.ts                    |  10 +-
 .../src/Sankey/transformProps.ts                   |  11 +-
 .../src/Sunburst/transformProps.ts                 |   5 +-
 .../src/Timeseries/transformProps.ts               |   8 +-
 .../src/Treemap/transformProps.ts                  |  11 +-
 .../src/dashboard/actions/dashboardState.js        | 145 +++++++++++----------
 .../DashboardBuilder/DashboardContainer.tsx        |  40 ++++--
 .../dashboard/components/PropertiesModal/index.tsx |  31 +++--
 .../components/SyncDashboardState/index.tsx        |   3 +-
 .../FilterBarSettings/FilterBarSettings.test.tsx   |   1 +
 .../src/dashboard/containers/Chart.jsx             |  10 +-
 superset-frontend/src/dashboard/types.ts           |   2 +
 .../util/charts/getFormDataWithExtraFilters.ts     |  21 ++-
 .../src/dashboard/util/crossFilters.test.ts        |   2 +
 .../components/ExploreChartHeader/index.jsx        |   9 +-
 .../components/ExploreViewContainer/index.jsx      |   7 +
 .../ColorSchemeControl/ColorSchemeControl.test.tsx |   1 +
 .../controls/ColorSchemeControl/index.tsx          |  73 ++++++++---
 .../getFormDataWithDashboardContext.ts             |   5 +
 superset-frontend/src/pages/Chart/index.tsx        |  10 +-
 .../src/types/DashboardContextForExplore.ts        |   1 +
 superset-frontend/src/utils/colorScheme.ts         |  62 +++++++--
 superset/daos/dashboard.py                         |   1 +
 superset/dashboards/schemas.py                     |   1 +
 tests/integration_tests/dashboards/api_tests.py    |   2 +-
 tests/unit_tests/fixtures/assets_configs.py        |   2 +
 tests/unit_tests/security/manager_test.py          |   1 +
 62 files changed, 615 insertions(+), 317 deletions(-)

Reply via email to