-
Notifications
You must be signed in to change notification settings - Fork 73
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
New Navigation Layout (Sidebar) #1069
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
432b1ae
to
1895f39
Compare
@vanessadespain should we have an icon here to give users another discoverable path to collapse this layered menu? |
@vanessadespain I'm wondering if it would be helpful to have a more noticeable state change when one hovers over a menu option. The 1st layer menu has a tool tip that pops up on hover and the icons become bold. Perhaps that's sufficient there. The 2nd layer menu has the same bold effect, but it seems really subdued to me. Should we consider adding a border radius around hovered items, or some other effect? |
hey @calebjacob, this is probably still wip but just to share that when on the mobile view, clicking on a menu option does not close the menu to reveal the selected content. |
@charleslavon Totally agree on more clear hover states! I'll pick this up next sprint as well as thinking through how we could collapse/uncollapse the layered menu. |
Thanks for the great feedback! And thanks for pointing out that issue for our small screen nav @charleslavon - hadn't fully battle tested the mobile nav yet. I just pushed changes that should iron things out. Also got the hover states updated to be a bit more obvious thanks to @vanessadespain. |
Nice! LGTM 🔥 |
463ea5f
to
6ce95b6
Compare
Hey @charleslavon @shelegdmitriy @vanessadespain, I just pushed an update that now includes the BOS components @shelegdmitriy built for the header area (search, notification dropdown, profile dropdown). Please feel free to test out the preview build. I'd consider this PR now functionally complete. It's just a matter of deciding when we're ready for these changes to make it to production. |
Hey @charleslavon, I'm realizing this PR has a few changes that would be really nice to have deployed to production. Mainly the changes to This got me thinking that it probably makes sense to tie our new sidebar layout to an environment variable (feature flag). We'd leave it disabled for now so that we could merge this PR now while still rendering our existing navigation until we're ready to break things out like we've been talking about. This would make our BOS component container refactor easier and prevent more merge conflicts as well. What do you think? |
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.
Great job!
@charleslavon @shelegdmitriy I just pushed some changes that should allow us to merge this PR now:
One important note on merging this PR: I'm going to wait to merge this until I have another PR up and ready on the components repo to adjust our pages to using the |
…iner and cookie prompt to avoid layout issues
…er has not signed in yet
…d preference in local storage
…tems, reworking small screen logic
…signed in users closes #1051
…ation, both layouts now handle signed in and signed out states, sidebar layout enabled behind feature/env flag
5dce930
to
8748651
Compare
Closes: #1051
<NavigationSignedOut />
.<RootContentContainer />
. This was required due to our new sidebar layout taking up horizontal screen space.<CookiePrompt />
to its own component and applied wrapping styles to make sure it doesn't impact the layout.The change to using
<RootContentContainer />
will also give component authors more control:flex-grow
ormargin: auto
.Important Notes: