-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat(cxl-ui): [cxl-marketing-nav] navigation height #265
base: master
Are you sure you want to change the base?
Conversation
…ter than their parent
1eb4302
to
5fdd1d6
Compare
size-limit report 📦
|
Udemy has a rather clean menu similar to this. - Our shadow work is a bit over the top. Needs to be toned down in both size and darkness. A smaller lighter shadow.- We need a little separation or at least appear under the main navbar, not overlap- They align text to the left and the arrows to the right eating up some of the margin on that left hand side. |
This PR should focus only on alignment, and associated white-space. Udemy example shows some people just live with massive negative space below menu items. Let's also note that Google apps avoid mega-menus As an SOP, we should probably research well known expert centers like NNGroup and Baymard first. So I'll be looking through https://www.nngroup.com/articles/mega-menus-work-well/ for one, and will post findings later. |
One simple action item here could be to improve our limited menu item sample to be more realistic. These
|
Indeed our reality makes the below almost entirely redundant.
|
We are not. Our only problematic case is when sub-menu is (significantly) shorter than parent. But do we even have that live, ever? And perhaps it signals a problem in itself, that should be fixed at IA level. |
c8c3f2d
to
b00ce75
Compare
I added additional navigation items as well as used realistic labels. Moving to the REST API should be a priority for us. Most mega menus I've encountered have a fixed height(meaning each menu and child menus have the same height). We need to be careful though and add checks so that our logic only runs on |
b00ce75
to
555ed34
Compare
Correct, we trigger Vaadin overrides only on I'm still not convinced that mobile Back button is worth the complicated code it brought in. |
@lkraav If i remember correctly this was a rogue project by syed added unnecessecarily into the spec of sticky nav bar task. |
#264