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
mgr/dashboard_v2: Improve charts tooltips #20757
Conversation
f07db1a
to
e219881
Compare
Modified the font-family used in the tooltips to match the old one. |
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.
Please add more type declarations to your code.
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.
lgtm
Added a new scss and class for the tooltip. Signed-off-by: Tiago Melo <tmelo@suse.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
Extracted the charts into a new component and it is now using a new tooltip. Signed-off-by: Tiago Melo <tmelo@suse.com>
e219881
to
ce4379b
Compare
|
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.
lgtm
This PR adds custom tooltips to all the charts in the dashboard.
This will fix a current problem, where the tooltips would be cropped if its body was outside of the chart element (the original dashboard widgets had the same issue).
Old:
New: