-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
chore(viz): Rename legacy non-time-series Bar Chart #22430
chore(viz): Rename legacy non-time-series Bar Chart #22430
Conversation
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.
Love it. Pinging @villebro here just in case this indicates anything needing a revisit in his effort.
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 for catching! LGTM with a non-blocking suggestion.
@@ -35,7 +35,7 @@ const metadata = new ChartMetadata({ | |||
{ url: example2, caption: 'Grouped style' }, | |||
{ url: example3 }, | |||
], | |||
name: t('Bar Chart'), | |||
name: t('Bar Chart (legacy)'), |
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 think it might make sense to make this conditional on the feature flag being flipped (<feature flag check> ? 'Bar Chart (legacy)' : 'Bar Chart';
), as an env that's not using generic x-axis will not have an alternative to the legacy bar chart.
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.
Good idea, done!
Codecov Report
@@ Coverage Diff @@
## master #22430 +/- ##
==========================================
- Coverage 66.91% 66.90% -0.02%
==========================================
Files 1850 1850
Lines 70695 70693 -2
Branches 7750 7752 +2
==========================================
- Hits 47309 47295 -14
- Misses 21370 21382 +12
Partials 2016 2016
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
4df9e18
to
ace1212
Compare
b7c5401
to
50cba02
Compare
…CI; trigger CI; trigger CI.
50cba02
to
3c41e19
Compare
SUMMARY
As a follow-up to #22369, this PR renames the legacy non-time-series Bar Chart to Bar Chart (legacy). There is both a legacy Bar Chart and a legacy Time-series Bar Chart along with the non-legacy Time-series Bar Chart. When
GENERIC_CHART_AXES
is on, the non-legacy Time-series Bar Chart is displayed as just Bar Chart, so both the new and the old Bar Chart currently end up with the same name.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before:
After:
TESTING INSTRUCTIONS
GENERIC_CHART_AXES
is on and when it's off.ADDITIONAL INFORMATION
GENERIC_CHART_AXES