-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Site Editor: Add navigation type to title labels map #53074
Conversation
Size Change: +1 B (0%) Total Size: 1.44 MB
ℹ️ View Unchanged
|
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.
This tests as advertised for me 👍
My only question is whether it should be Navigation Menu
or Navigation
as per the entity label in some other places e.g. here.
Yeah, I'm not entirely sure about that. @jameskoster, @richtabor, any suggestion on which label string we should use here? |
236c10e
to
c3f4b14
Compare
Good question. 'Navigation menu' is used in the dark sidebar: But as @aaronrobertshaw pointed out it's just 'Navigation' in the Inspector: I don't know that we've really nailed down the terminology here so would welcome insight from @WordPress/gutenberg-design. My perception is that 'Navigation' is a label for the general menu management experience, and 'Navigation menu' refers to specific entries within that context. So in this case I'd lean towards the latter, and suggest that the Inspector should be updated to match. I do wonder if we could simplify though...
Iirc there were concerns about conflating 'menu' with restaurant menus, but given these menus live under the 'Navigation' umbrella I'm not sure how relevant that is. |
Thanks, @jameskoster! I'll merge this fix, and we can follow up with general changes once there's a consensus around terminology. |
Flaky tests detected in c3f4b14. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5689718776
|
Personally, I'll always prefer to call it purely "Navigation", and in every instance where we can, omit the term "Menu", exactly for the restaurant aspect mentioned. By being consistent with this, the term "Navigation" itself also gains further weight. Short and sweet. Not a strong opinion, and not blocking, but hey, there you go. |
I can live with; Editor → Navigation → Menu name 👍 |
I changed the label to "Navigation". |
What?
PR adds the
wp_navigation
label to the post-type label map for the Site Editor.P.S. I've not included this fix in #53071, since we can't backport new string in RCs.
Why?
It was incorrect.
Testing Instructions
Screenshots or screencast