-
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
[7.0] Adds new K7 side navigation #28940
Conversation
💔 Build Failed |
5ce895b
to
0098ac9
Compare
retest |
💔 Build Failed |
💔 Build Failed |
src/ui/public/chrome/directives/header_global_nav/_header_global_nav.scss
Outdated
Show resolved
Hide resolved
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.
1. I'm still seeing the K logo section wider than the nav drawer:
2. Thoughts on allowing wrapping of recent items?
Also, was there any discussion over showing the app icon as well?
3. I found a bug where clicking on Graph keeps redirecting to the homepage
I'm guessing this has to do with the license of the user and it's somehow not getting hidden for the basic license.
4. Speaking of recent, can we go ahead and drop the recently viewed section on the homepage?
This will be fixed in the next build of EUI, these changes occurred after 6.4.0
I need to talk about this with Spencer. Upon a quick look, I don't see any values in the recent activity data that we could use to determine the source app other than the url, but that would be messy. I suspect we'd need to somehow capture this info at the time the object is viewed and stored.
That makes sense! There is a 'hidden' value in the link data, but I it's not being handled in terms of actually hiding the link. I'll dig into this.
Good question. The new homepage does display the recent items (in the keypad/icon list), so maybe we should keep it here for now. @alexf thoughts on this? |
2. Thoughts on allowing wrapping of recent items?These item names can be quite long, but we can make it a flag that only recent items can wrap text but the app links can't. |
We can drop it. It's duplicative at this point. Anything we can do to unclutter that already crowded screen is a good idea in my book. |
💔 Build Failed |
4c12549
to
addc724
Compare
💔 Build Failed |
💔 Build Failed |
Looking good! Just took the PR for a spin, some feedback from my end. Where'd we land with moving dev console, management, stack monitoring, etc. into an admin subgroup? I have a scroll on my macbook today, it'd be nice to avoid if possible. I believe (but am not certain) that code search will also be available in 7.0 but need to find out soon. @AlonaNadler @yaronp68 thoughts? For recently viewed, I think we need to find a way to better showcase long names. In the homepage today, on hover you'll get the full string. What can we do to improve this experience? Looks like we are no longer persisting the side bar if the window shrinks. At what size does this happen? And are we OK with this icon? This hover affect seems just a little to slow to react in my opinion. I think this is going to be key to the experience so would really like others feedback to tweak it right. Also, I think ordering will be important here. Did we end up removing the different "sections"? Great work @ryankeairns!! |
Took a quick look. This is looking really great! I agree with Alex about the animation though. As a user, I just want to get from X to Y, and I'm going to need to do it often. In this case, I think less is more -- the less the animation gets in my face, the less distracting it is, and the more quickly I can use the navigation. A few suggestions come to mind for making the animation feel snappier:
|
Thank you both for your feedback! |
This comment has been minimized.
This comment has been minimized.
6cd65f1
to
ad81e74
Compare
This comment has been minimized.
This comment has been minimized.
ad81e74
to
be202c0
Compare
This comment has been minimized.
This comment has been minimized.
be202c0
to
ecffa5e
Compare
4de5a5f
to
bdd551c
Compare
This comment has been minimized.
This comment has been minimized.
Thanks @ryankeairns and @snide! |
This comment has been minimized.
This comment has been minimized.
@ryankeairns @cchaos I added the icons to the recently accessed items by matching them to navLinks the same way we do for "last url" handling |
@spalger Thanks for pointing those out and continuing to chip away at this PR. I’ll take a look at both, though they may need to be follow up PRs just given time (and that we’ll have a longer QA period). I’ll poke around tomorrow and see what these might entail. One way or another, we’ll address them. Thanks! |
This comment has been minimized.
This comment has been minimized.
💚 Build Succeeded |
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.
Just giving the OK for this, with the understanding we have some follow up issues around:
- locking the minimized state
- dealing with the login chrome
- trying to think up somthing for tooltips. my guess is the container pattern will help here but we'll be SOL for non EUI tooltips, which is ok.
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.
SHIP IT! 😄
💚 Build Succeeded |
Closes #25736
Summary
Adds new side navigation to K7 design (see gif below), thus replacing the current app drawer button in the current K7 header. The side nav is always visible, expands upon hover, and overlays plugin/page content as opposed to pushing it over.
One notable addition is the placement of 'Recent activity' atop the navigation making it more easily accessible. Future plans include potentially adding search, pinning, and favorites to this new navigation.
There has been discussion of grouping a few 'Admin' apps together into a flyout similar to 'Recent activity', but more discussion is needed on the technical side.
Lastly, the Uptime app is awaiting a new icon, so you'll see an empty slot in the collapsed navigation.
Demo
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers
To-do items
hidden
prop toEuiListGroupItem
)