-
Notifications
You must be signed in to change notification settings - Fork 4.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
Navigation Block: De-emphasize "Link" block. #30172
Conversation
Size Change: +5 B (0%) Total Size: 1.41 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.
Makes sense. This is how it was done in the customiser as well if I remember correctly.
Thank you for the review! Turns out there was a legitimate test failure, and in trying to fix it (see 8f8b436), I touched code that @gwwar tinkered with just a few weeks ago. Because that specific test was sensitive, I've converted this PR to a draft until she has a chance to look and see if I fixed it right. |
🤔 The current link search allows us to insert all types if we search for it (post, page, category, etc), did we want to limit it to an arbitrary title/url combo?
eg Let me know if you run into trouble with this. |
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.
Agreed on the intent behind this and switching to Custom Link. Great thinking! Can't speak to the code so will leave that to others ;) Appreciate you jumping in on improving this so rapidly.
Thanks for that clarification! Maybe? #30170 was created to outline some of the confusion around the different types of blocks you can insert, and the fact that it all sort of blends together is part of the problem. However in absence of more obvious transformation tools, it's probably not a good time to make such a change. But it might be in the future. Thanks a bunch for the test pointeres. I've udpated! |
Welp, I commented on the wrong PR. I meant to comment on #30047 |
1caf827
to
3d02a4e
Compare
Description
One thing recent rounds of FSE testing has surfaced, is that when you create a navigation menu and start empty, people seem to very commonly be choosing the "Link" block to insert their navigation links, when in nearly all cases the "Page Link" block would've been a better choice, actually suggesting pages on your site to link to.
This PR renames "Link" to "Custom Link", to de-emphasize it. Before:
After:
Checklist: