-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Spacing inconsistencies in Navigation #194448
Comments
Pinging @elastic/appex-sharedux (Team:SharedUX) |
For reference, the EUI components were aimed at producing a design with spacing as seen here Screenshot from linked storybook ![]() |
The sidenav component can be customized to have flexibility in the spacing. The flyout component can hold either a standard panel or a custom component. In the case of security they use a custom component (cc: @semd ). SharedUX will be happy to fix common components once design settles on a standard. |
Hey, all. I've been far removed from this project for quite a while now. However, based on what I'm seeing in the current serverless environments, it seems that most (if not all) of the inconsistencies are self-inflicted by the aforementioned solutions. The Elasticsearch solution's navigation in serverless appears largely as intended (compared to Ryan's Storybook example), but both Observability and Security solution navigations appear to be injecting a lot of spacers in various locations. These bespoke spacer injections are what is creating these inconsistencies. I'm assuming the ability to add custom components (such as spacers) was provided to ensure ultimate flexibility with these navigations, but this flexibility is resulting in inconsistency. If they wish to be consistent, I imagine the simplest direction is to advise them to follow the Storybook example and not deviate (acknowledging that if they do decide to deviate, it will result in these sort of inconsistencies). Alternatively, we could consider being more strict about the sort of customizations that could be made to the navigation, but I'm guessing that isn't desired by the solution teams (recalling from past navigation conversations). Anyway, I'm happy to help in any way, but this looks like something that will ultimately need to be addressed by the Observability and Security engineers. |
Hey @ek-so & @tsullivan , and @MichaelMarcialis , with Seb gone, we've lost engagement on this and I want to rekindle. This seems super straight forward. Decide on what the spacing standard should be, and we fix it. Is the effort to get a design consensus on this still active or do we need to rekindle as well? |
++ this is one of the items we have on our enhancements list for Q4. will be reviewing designs in the WG |
Current stateConsistency of navigation across solutions
Other notes about the navigation tree framework
Screenshots of current state: 2025-01-23-current-state-screenshots.zip |
I've summarized issues with the current state in two parts: |
@yanwalton I think we can replace this issue with https://github.com/elastic/kibana-team/issues/1439, yes? |
@tsullivan Yes, i'll close this older issue now as you are covering it in that newer issue |
@dimadavid made me aware that we have spacing inconsistencies throughout our navigation. It would be good to find out why this happened and make the fix so that switching between navs is graceful.
Let's investigate what the final spacings should be @ryankeairns and @MichaelMarcialis and who can fix this - either Shared UX or EUI
CC: @JasonStoltz and @petrklapka
Screenshot here

The text was updated successfully, but these errors were encountered: