-
Notifications
You must be signed in to change notification settings - Fork 842
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
[DATA GRID] Column header menu #3087
Conversation
💚 CLA has been signed |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
@kertal asked me to reset this PR since we had a git snafu. |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
@cchaos thx, did that, ready for checking if there are more CSS adaptions necessary |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
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.
The change making the header cell a button appears to have broken the close-popover-on-click functionality
Looks like setIsPopoverOpen is called with false, but then React bubbles the click event back up to the cell's button and re-opens the popover.
While working with it I've encountered a problem in Chrome, use the mouse to expand a header cell menu, click on another one, check lot's of errors in console:
I'm going to take my pending focus trap changes and test them here to see if it is the culprit behind those maximum call stack errors.
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
flaky unit test - jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
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.
Yessssss! Nice cleanup. Changes LGTM, tested in all the places many times 😄 Ship it! 🦑
quick changelog cleanup
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
1 similar comment
Preview documentation changes for this PR: https://eui.elastic.co/pr_3087/ |
Summary
Add column header menu with actions providing direct access to the following functionality:
Furthermore it allows you add custom actions
Fixes #2461
Checklist