-
Notifications
You must be signed in to change notification settings - Fork 14k
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(plugin-chart-pivot-table): color weight of Conditional formatting metrics not work #20396
fix(plugin-chart-pivot-table): color weight of Conditional formatting metrics not work #20396
Conversation
… metrics not work
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.
Lgtm
Codecov Report
@@ Coverage Diff @@
## master #20396 +/- ##
==========================================
+ Coverage 66.67% 66.70% +0.03%
==========================================
Files 1738 1739 +1
Lines 65097 65135 +38
Branches 6887 6897 +10
==========================================
+ Hits 43405 43450 +45
+ Misses 19942 19932 -10
- Partials 1750 1753 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@stephenLYZ this overlaps (and now conflicts) with #20353 so I'm trying to figure out the best way to fix my conflicts. So is everything moving toward 8 digit hex colors for alpha, rather than 'rgba(R,G,B,A)' strings? Looks like it is so I'll assume so for now. If so, there may be future issues in https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/src/color/utils.ts since it expects hex codes to be 3 or 6 digits. |
@stevetracvc hi, thanks for your work! At the moment I think color schemes are hex colors, so here I still use 8 digit hex colors for consistency, but we can't completely avoid using rgba, like linear-gradient property. so if you need to introduce rgba in your PR it's also acceptable. BTW, there is an |
SUMMARY
Since our color scheme uses hex values, the previous way of RGB is not working, so we fix it here.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
before
after
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION