-
Notifications
You must be signed in to change notification settings - Fork 818
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
[EuiPageTemplate] Account for new serverless header style #7765
Comments
Minor correction: there are 2 fixed headers on ESS, not 1: the black header and then the white header below that. As far as If you want EuiPageTemplate to account for this new "header" type, we likely need a specific EUI component for it, likely an CC @MichaelMarcialis / @ryankeairns for design input on the above: is the second screenshot part of the official header for serverless? |
Hi EUI Team, do you have a view on when this might be looked into? We are planning where we are with the Observability solution in Kibana for serverless and this is on our radar for elastic/kibana#176177. Thanks. |
We can look into it now if y'all need - I know serverless work is high priority. What's your preferred timeline on this? |
Thanks for the ping, @cee-chen. When we were originally designing the serverless navigation, we consolidated Kibana's then double fixed headers (one dark, one light) down to a single fixed header. However, by reducing the number of fixed headers, we were left with no home for the conditionally appearing action buttons that are present in some Kibana applications (which would typically appear right aligned in the second fixed header). For that reason, we suggested that these action buttons should be housed in a conditionally appearing toolbar container. This conditionally appearing toolbar was intended to be positioned at the top of the viewport, immediately below the new singular header. It shouldn't scroll with the rest of the page content, allowing it to be visible and within reach at all times (similar to the Kibana header). Unlike the Kibana header however, it would be adjacent to the navigation (rather than above it). As such, the toolbar would need to be treated as part of the flow in regard to the navigation being collapsed or expanded (making the toolbar wider or narrower respectively). Will share some older mockups below that may do a better job conveying this. Let me know if that makes sense. CCing @ryankeairns to keep me honest. |
Should flyouts sit above it or below it? Kibana headers are above FWIW EDIT: Whoops, I see that in the 2nd to last screenshot now - it sits below flyout overlays. Yeah, this is definitely going to need a separate component from EuiHeader. |
My current work is the stateful side nav 😊 which does not touch the page templates. I would need to go into the code to see how those serverless actions are rendered in Kibana currently. I would have thought that this could be solved with CSS (some class added to the wrapping div) but I trust your judgment if a component is required 👍 |
I noticed that there's an unnecessary scroll on serverless when the page content does not take up the full page height.
Screen.Recording.2024-05-16.at.10.37.35.AM.mov
Although there is no additional content, the page scrolls due to the specified min-height. I noticed this style applied to the EuiPageTemplate.
This works well for ESS where there is only one fixed header.
However there are two fixed headers in serverless, requiring a different calculation.
The text was updated successfully, but these errors were encountered: