-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Infra UI] Replace EUI Charts with Elastic Charts on node detail page #41262
Conversation
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
💔 Build Failed |
💚 Build Succeeded |
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.
Some of the Elastic Charts design elements look a little broken to me but I checked their docs and I think it's just how they implement things (like the colored rings that appear on hover but only when you hover right over the element, or how those rings are the same color as the area chart so they disappear half or all the way a lot of the time, etc.)
Other than that, this appears to work. @snide will be pleased.
Awesome! If you have issues with the actual charts I'd bring it up with @markov00 and add an issue on their repo. I agree there's room for improvement and we've been helping them style stuff up. |
…elastic#41262) * Remove EUICharts from node detail replace with Elastic Charts * Moving stream check inside onChangeTimerange check * Fixing typo * Adding error message back in * Removing exception from getMaxMinTimestamp() * Checking for valid data * Adjusting i18n names
Pinging @elastic/infra-logs-ui |
Summary
This PR fixes #29135 by replacing the EUI Charts with Elastic Charts on the node detail page. I also to this opportunity to clean up the ChartSection component a bit. I removed the
bounds
override because was only used on the CPU chart and I felt it look better without it. Also Elastic Charts doesn't have support for synchronized tooltips so I removed that feature for now.Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n supportDocumentation was added for features that require explanation or tutorialsUnit or functional tests were updated or added to match the most common scenariosThis was checked for keyboard-only and screenreader accessibility