-
Notifications
You must be signed in to change notification settings - Fork 862
[EuiContextMenu] Add line separator as menu item #4018
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
Conversation
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4018/ |
7d3d060 to
39f7f2b
Compare
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4018/ |
|
Jenkins, test this |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4018/ |
cchaos
left a comment
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.
Thanks @streamich ! I think this looks pretty good. I'm noticing that panel props aren't very helpful in our docs at the moment so we'll want to directly add a line in our docs about how to add this separator. Can you add something to the Using panels with mixed items & content section of context_menu_example.js?
Also, I'll update the checklist in the summary, the main outstanding one being a Changelog entry.
|
Thanks @cchaos for the review! I've updated the docs and added a line to CHANGELOG. |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4018/ |
|
jenkins test this |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4018/ |
cchaos
left a comment
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.
Thanks for tackling the documentation! Just a couple suggestions on wording. But overall design and docs LGTM 👍
I'll pass it to @chandlerprall for the code side.
chandlerprall
left a comment
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.
One last request.
Additionally, I pushed a small refactor that is tangentially related: now that EuiHorizontalRuleProps is being exported as an externally accessible interface, this ensures it contains all of the applicable props that a usage could specify.
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4018/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_4018/ |
chandlerprall
left a comment
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.
Changes LGTM! Pulled & tested types locally - feel free to merge, @streamich
|
@chandlerprall @cchaos Wanted to ask you, do you think this change will make Kibana 7.10, so we can actually make use of it already in 7.10? |
|
OK, I see it was merged. |
|
Yep! We update Kibana's |
Summary
This is a Proof-of-Concept for line separator that we need for elastic/kibana#66051
Checklist
[ ] Props have proper autodocs[ ] Checked Code Sandbox works for the any docs examples[ ] Checked for breaking changes and labeled appropriately[ ] Checked for accessibility including keyboard-only and screenreader modes