-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[charts] Fix empty series pie chart v7 #16657
[charts] Fix empty series pie chart v7 #16657
Conversation
Deploy preview: https://deploy-preview-16657--material-ui-x.netlify.app/ |
Is this worst a small test? If our tests run in <5ms, it feels like yes, if it's slower, maybe not worth the CI slowness. |
Yeah ok, I think it used to be faster but it's not too bad: Screen.Recording.2025-02-19.at.22.52.22.movpushed (in v8, the code doesn't have this problem) |
Could be good, we just need to cherry-pick the test in v8 again |
@oliviertassinari didn't realize that you had added a unit test already. I tested that the "No data" overlay is present, which also implicitly tests that the component doesn't throw. Ran it against v7 without the fix and the test failed. |
Cherry-pick PRs will be created targeting branches: v8.x |
Automatic cherry-picked failed, so made it manually: #16663 |
Fixes #16655.
This issue does not happen in v8, so I'm only fixing it for v7.
Before:
Screen.Recording.2025-02-19.at.17.37.01.mov
After:
Screen.Recording.2025-02-19.at.17.36.31.mov