-
Notifications
You must be signed in to change notification settings - Fork 26
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
About: Add the full About section menu to the About pages #387
Conversation
IMO lean towards YAGNI |
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.
Nice, I always thought we needed sub nav for this page 👏
Works for me, I did notice that the focus outline is cut off when operating via keyboard:
Outline colors look a little off too, (not blueberry?) but maybe a more widespread issue, I see it in the page content too.
Maybe this should be addressed in WordPress/wporg-mu-plugins#535, but is it worth trying to align the top of the overlay with the bottom of the nav bar? Question for @WordPress/meta-design I guess. I notice that the global header overlays don't quite align either:
Good catch, that looks like the default focus style. I think in some other pages we have a customized 1.5px box shadow. That'd be nice to just apply across, if possible. It can be inset to avoid being cropped. |
@jasmussen's suggestion is documented in the local nav components as part of WordPress/wporg-mu-plugins#535 designs |
Yeah, as @fcoveram mentions, that will be applied with the other local nav improvements in wporg-mu-plugins.
The design has it offset like this (note that we can't have a different submenu background + mobile overlay background, which is why I went with the tan). This is also how the nav menu works by default, so it was easier to leave it be :) |
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.
LGTM
Fully agree.
Perfect. I'll update mockups for documentation purposes. |
Update the local navigation in the About section to be consistent across all About subpages, and add the menu to the main About page.
Requires WordPress/wporg-mu-plugins#570. Fixes #385.
Note: This does not add any of the iterations proposed in WordPress/wporg-mu-plugins#535, it only updates the navigation content.
This change makesUpdate: Changed this to_nav-about-details.php
,_nav-about-people.php
, and_nav-about-technology.php
have all the same content, but I've left them separate in case we decide to bring back this semi-sectioning idea. Happy to switch to a single_nav-about-subpage.php
file instead if we'd rather be aggressively DRY._nav-about-subpage.php
, removed the other files, and updated all the page templates to call the new pattern.Screenshots
And on small screens:
How to test the changes in this Pull Request:
Use WordPress/wporg-mu-plugins#570 for mu-plugins, otherwise there will be PHP errors.