fix: Color consistency (#17089)

* Update label colors on the fly

* Clean up

* Improve getFormDataWithExtraFilters

* Improve code structure

* Remove labelColors from formData

* Exclude label_colors from URL

* Refactor color scheme implementation

* Clean up

* Refactor and simplify

* Fix lint

* Remove unnecessary ColorMapControl

* Lint

* Give json color scheme precedence

* Add label_colors prop in metadata

* Separate owners and dashboard meta requests

* Remove label_colors control

* bump superset-ui 0.18.19

* Fix end of file

* Update tests

* Fix lint

* Update Cypress

* Update setColorScheme method

* Use Antd modal body
This commit is contained in:
Geido
2021-11-03 19:22:38 +02:00
committed by GitHub
parent 85a19a9cc2
commit 59a6502efe
26 changed files with 488 additions and 500 deletions

View File

@@ -68,35 +68,35 @@
"@emotion/cache": "^11.4.0",
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
"@superset-ui/chart-controls": "^0.18.18",
"@superset-ui/core": "^0.18.18",
"@superset-ui/legacy-plugin-chart-calendar": "^0.18.18",
"@superset-ui/legacy-plugin-chart-chord": "^0.18.18",
"@superset-ui/legacy-plugin-chart-country-map": "^0.18.18",
"@superset-ui/legacy-plugin-chart-event-flow": "^0.18.18",
"@superset-ui/legacy-plugin-chart-force-directed": "^0.18.18",
"@superset-ui/legacy-plugin-chart-heatmap": "^0.18.18",
"@superset-ui/legacy-plugin-chart-histogram": "^0.18.18",
"@superset-ui/legacy-plugin-chart-horizon": "^0.18.18",
"@superset-ui/legacy-plugin-chart-map-box": "^0.18.18",
"@superset-ui/legacy-plugin-chart-paired-t-test": "^0.18.18",
"@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.18.18",
"@superset-ui/legacy-plugin-chart-partition": "^0.18.18",
"@superset-ui/legacy-plugin-chart-pivot-table": "^0.18.18",
"@superset-ui/legacy-plugin-chart-rose": "^0.18.18",
"@superset-ui/legacy-plugin-chart-sankey": "^0.18.18",
"@superset-ui/legacy-plugin-chart-sankey-loop": "^0.18.18",
"@superset-ui/legacy-plugin-chart-sunburst": "^0.18.18",
"@superset-ui/legacy-plugin-chart-treemap": "^0.18.18",
"@superset-ui/legacy-plugin-chart-world-map": "^0.18.18",
"@superset-ui/legacy-preset-chart-big-number": "^0.18.18",
"@superset-ui/chart-controls": "^0.18.19",
"@superset-ui/core": "^0.18.19",
"@superset-ui/legacy-plugin-chart-calendar": "^0.18.19",
"@superset-ui/legacy-plugin-chart-chord": "^0.18.19",
"@superset-ui/legacy-plugin-chart-country-map": "^0.18.19",
"@superset-ui/legacy-plugin-chart-event-flow": "^0.18.19",
"@superset-ui/legacy-plugin-chart-force-directed": "^0.18.19",
"@superset-ui/legacy-plugin-chart-heatmap": "^0.18.19",
"@superset-ui/legacy-plugin-chart-histogram": "^0.18.19",
"@superset-ui/legacy-plugin-chart-horizon": "^0.18.19",
"@superset-ui/legacy-plugin-chart-map-box": "^0.18.19",
"@superset-ui/legacy-plugin-chart-paired-t-test": "^0.18.19",
"@superset-ui/legacy-plugin-chart-parallel-coordinates": "^0.18.19",
"@superset-ui/legacy-plugin-chart-partition": "^0.18.19",
"@superset-ui/legacy-plugin-chart-pivot-table": "^0.18.19",
"@superset-ui/legacy-plugin-chart-rose": "^0.18.19",
"@superset-ui/legacy-plugin-chart-sankey": "^0.18.19",
"@superset-ui/legacy-plugin-chart-sankey-loop": "^0.18.19",
"@superset-ui/legacy-plugin-chart-sunburst": "^0.18.19",
"@superset-ui/legacy-plugin-chart-treemap": "^0.18.19",
"@superset-ui/legacy-plugin-chart-world-map": "^0.18.19",
"@superset-ui/legacy-preset-chart-big-number": "^0.18.19",
"@superset-ui/legacy-preset-chart-deckgl": "^0.4.13",
"@superset-ui/legacy-preset-chart-nvd3": "^0.18.18",
"@superset-ui/plugin-chart-echarts": "^0.18.18",
"@superset-ui/plugin-chart-pivot-table": "^0.18.18",
"@superset-ui/plugin-chart-table": "^0.18.18",
"@superset-ui/plugin-chart-word-cloud": "^0.18.18",
"@superset-ui/preset-chart-xy": "^0.18.18",
"@superset-ui/legacy-preset-chart-nvd3": "^0.18.19",
"@superset-ui/plugin-chart-echarts": "^0.18.19",
"@superset-ui/plugin-chart-pivot-table": "^0.18.19",
"@superset-ui/plugin-chart-table": "^0.18.19",
"@superset-ui/plugin-chart-word-cloud": "^0.18.19",
"@superset-ui/preset-chart-xy": "^0.18.19",
"@vx/responsive": "^0.0.195",
"abortcontroller-polyfill": "^1.1.9",
"antd": "^4.9.4",