-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
feat(plugins): add color options for big number with time comparison #27524
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #27524 +/- ##
=======================================
Coverage 67.39% 67.39%
=======================================
Files 1909 1909
Lines 74741 74741
Branches 8327 8329 +2
=======================================
Hits 50369 50369
Misses 22322 22322
Partials 2050 2050
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
visibility: ({ controls }) => | ||
controls?.comparison_color_enabled?.value === true, | ||
description: t( | ||
' Adds color to the chart symbols based on the positive or' + |
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.
Missing trailing space. Currently it's being rendered as positive ornegative
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.
nice catch, thank you!
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.
Thanks @lilykuang!
…pache#27524) (cherry picked from commit ae29427)
…pache#27524) (cherry picked from commit ae29427)
…pache#27524) (cherry picked from commit ae29427)
…pache#27524) (cherry picked from commit ae29427)
…pache#27524) (cherry picked from commit ae29427)
…pache#27524) (cherry picked from commit ae29427)
…pache#27524) (cherry picked from commit ae29427)
…pache#27524) (cherry picked from commit ae29427)
SUMMARY
This pull request adds a feature to the Big number with time comparison chart, allowing users to color-code positive and negative changes. It introduces a dropdown menu for selecting between two color schemes: the default "Green for increase, Red for decrease" or "Red for increase, Green for decrease." Users can switch between these options, and the chart will update automatically to reflect the change.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
After:
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION