-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Color consistency #17089
Merged
Merged
fix: Color consistency #17089
Changes from 15 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
c01c940
Update label colors on the fly
geido df8d585
Clean up
geido 8b60722
Improve getFormDataWithExtraFilters
geido 92c4829
Merge branch 'master' of https://github.com/apache/superset into fix/…
geido f284259
Improve code structure
geido 69b7b62
Remove labelColors from formData
geido 1c24ec5
Merge branch 'master' of https://github.com/apache/superset into fix/…
geido 3f9ea84
Exclude label_colors from URL
geido 70b477e
Refactor color scheme implementation
geido 600e1e2
Clean up
geido c97cbc3
Refactor and simplify
geido bf1e1fb
Merge branch 'master' of https://github.com/apache/superset into fix/…
geido 13aacf1
Fix lint
geido eb4b85a
Merge with latest changes
geido 8b94bfe
Remove unnecessary ColorMapControl
geido 0f408db
Merge branch 'master' of https://github.com/apache/superset into fix/…
geido 5eb2e5a
Merge
geido a327e74
Lint
geido c70d6ba
Give json color scheme precedence
geido 40640c7
Add label_colors prop in metadata
geido 3520606
Merge branch 'master' of https://github.com/apache/superset into fix/…
geido 56d9bc8
Separate owners and dashboard meta requests
geido 81359c2
Remove label_colors control
geido f24d57e
bump superset-ui 0.18.19
geido dfe719b
Merge branch 'master' of https://github.com/apache/superset into fix/…
geido 98650af
Fix end of file
geido 3988496
Update tests
geido 364e39b
Fix lint
geido 65ba985
Update Cypress
geido 3fccee6
Update setColorScheme method
geido acacba5
Use Antd modal body
geido File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that in
superset-frontend/src/dashboard/actions/hydrate.js
you're not callingresetColors
before setting the colors. Is it ok or do we need to change something?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fine. Resetting the colors is only useful when the colors of the label change or are removed. This is only the case here. As for the QA approval, we will need to discuss how is best to proceed as this requires potentially disruptive changes in Superset-UI.