-
Notifications
You must be signed in to change notification settings - Fork 392
refactor: [M3-8097] - Retire recharts feature flag #10483
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
Conversation
| } | ||
|
|
||
| // @todo recharts: delete this file when we decide recharts is stable (new version is AccessibleAreaChart) | ||
|
|
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.
we can't really delete it because LineCharts is till being used in longview (only place after this PR)
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.
Agreed, we should keep some kind of comment as a reminder to remove this though
|
Coverage Report: ✅ |
hkhalil-akamai
left a comment
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.
Great clean up 🧹
| } | ||
|
|
||
| // @todo recharts: delete this file when we decide recharts is stable (new version is AccessibleAreaChart) | ||
|
|
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.
Agreed, we should keep some kind of comment as a reminder to remove this though
Description 📝
This PR gets rid of the recharts feature flag in order to remove heavy dependencies we're shipping to our users in the Linode detail flow.
charts.jsmoment,js(which is a dpendency of the above)It cleans up conditional rendering of the old charts since everything has been stable since the new charts have been released.
Only remaining components using charts.js:
GaugePercentLineGraphwhich are both only for longview 🎉
🥇 Thanks @hana-linode for the super clean handling of splitting the feature initially, was very easy to clean up
Changes 🔄
Preview 📷
No visual change expected as part of this PR
How to test 🧪
Verification steps
As an Author I have considered 🤔
Check all that apply