-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[Workspace Chrome] Clean up some of EUI hacks #230419
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
[Workspace Chrome] Clean up some of EUI hacks #230419
Conversation
|
Pinging @elastic/appex-sharedux (Team:SharedUX) |
tsullivan
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.
Request a change to a comment that took me awhile to understand
src/platform/packages/shared/react/kibana_context/root/eui_provider.tsx
Outdated
Show resolved
Hide resolved
…vider.tsx Co-authored-by: Tim Sullivan <[email protected]>
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Public APIs missing comments
Count of Enzyme imports
Page load bundle
History
|
## Summary We introduced some EUI related hacks for flyouts for grid layout. After contributing some improvements to EUI we can clean the hacks up: - elastic/eui#8872 - this cleans up a hack to resize the push flyout using new exposed css variable - elastic/eui#8849 This allows us to specify which elements should be included in the flyout focus trap by default. Previously, it was the EUI fixed header, but in the grid layout, we don't have a fixed header. So, we need to tell EUI which elements to include: our header and sidenav. - Small unzyme --------- Co-authored-by: Tim Sullivan <[email protected]>
## Summary We introduced some EUI related hacks for flyouts for grid layout. After contributing some improvements to EUI we can clean the hacks up: - elastic/eui#8872 - this cleans up a hack to resize the push flyout using new exposed css variable - elastic/eui#8849 This allows us to specify which elements should be included in the flyout focus trap by default. Previously, it was the EUI fixed header, but in the grid layout, we don't have a fixed header. So, we need to tell EUI which elements to include: our header and sidenav. - Small unzyme --------- Co-authored-by: Tim Sullivan <[email protected]>
Summary
We introduced some EUI related hacks for flyouts for grid layout. After contributing some improvements to EUI we can clean the hacks up:
includeSelectorInFocusTrapeui#8849 This allows us to specify which elements should be included in the flyout focus trap by default. Previously, it was the EUI fixed header, but in the grid layout, we don't have a fixed header. So, we need to tell EUI which elements to include: our header and sidenav.