-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
17488 legend color picker bugfix #17489
17488 legend color picker bugfix #17489
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
Jenkins, test this |
💚 Build Succeeded |
jenkins test this |
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.
hi @varundbest
thanks for this. Seems to fix it
💚 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.
there are a couple of issues:
-
left/right positioned legend: opening the color picker covers all the other legend entries below the current one
(this might not be bad, but its a change from current behaviour) -
top legend: chart still shifts down a bit, since "filter in" and "filter out" buttons appear on a new line
-
bottom legend: color picker is not visible at all
In regards to building a custom chart component in EUI (elastic/eui#536) and replace our existing chart implementations by that, I wonder if we should touch this topic at all for the existing legend, if it's not that simple of a fix, and can cause multiple edge cases. |
@ppisljar |
what about fixed bottom offset ? |
@ppisljar Then the color picker will hide the legend toggle and user will be unable to get rid of it.
For bottom case? |
can you try applying all of the above to this PR so i can test it out easily ? thanks! |
@ppisljar Changes Pushed. |
Could you please rebase that on master, so we can get all the tests running with x-pack together and better check if there isn't an issue with regards to reporting? |
9722320
to
7ba68da
Compare
Jenkins, test this |
💚 Build Succeeded |
@ppisljar What do you feel? |
Sure, will look into those issues. |
can you pull master into this branch and re run the tests and address the feedback. Thanks. |
💔 Build Failed |
Since so much has changed since this PR was opened (less to sass, new class names, new markup structure...) I will close this PR. The bug will be fixed by #30960 Thank you very much @varunsharma27 for working on this - your changes were the starting point for the new PR. |
#17488 legend color picker bugfix