You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Navigation Block] Add introductory text to adding a new menu item #24007
Currently, when adding a new item to the menu, there's no prompt or introductory text to help nudge the user along. With work being done to expand the number of types of blocks that can be added to the Navigation Block, there should likely be some sort of explanation. Otherwise, it feels a bit like something is broken.
I think your suggestion with adding a title to this makes sense to give context to the choices.
We should remove the "Browse All" button as there are only two options and opening the left sidebar is unnecessary as all options are shown in the quick library.
From a dev standpoint, we should take another look at how we're styling elements within the library containers so that it degrades well (the removal of the search box completely collapses the top padding, as shown in your screenshots)
Attached is a super quick example of the added section heading:
Currently, when adding a new item to the menu, there's no prompt or introductory text to help nudge the user along. With work being done to expand the number of types of blocks that can be added to the Navigation Block, there should likely be some sort of explanation. Otherwise, it feels a bit like something is broken.
@annezazu is what Noah proposed what you are expecting or were you proposing something more like a walkthrough or popover with more information?
Ah apologies. I reacted with a heart but should have used my words ;) I dig what Noah proposed as a minimalist way to lightly introduce this interaction. I wonder if even just saying "Options" is enough in case this kind of situation happens again where a limited set of blocks can be used in the interface. It could help create some nice consistency rather than having unique headers.
Minor note: I definitely think Link should be listed before Search as adding repeated links seems far more likely than a bunch of search boxes.
It feels like the text could even expand a bit more instead of just being a heading. In any case, this seems like a good thing to support in the inserter API (a description? a tip? a heading?) that can be optionally added when blocks are restricted (i.e. when allowedBlocks is present). cc @youknowriad@pablohoneyhoney
Adding a navigation. I added an existing menu but it contained only one link. Clicking to the right of the black square with a + in it I expect to be able to add a text link. But I have to click the black square. I am not able to select Posts or Pages. (That is probably because I have to click the Browse all button.) The Inserter add block panel shows up. With very limited options. Design and Widgets areas. I go back to the Navigation. Click to add a link. There I can add a post or page.
Helpful to think about the above context when/if this is addressed :)
Confusing: adding the pages to Navigation. I wouldn’t have known I needed to use the Page Link block if you hadn’t instructed me to do so.
I've even caught myself clicking + and then starting to type a page title forgetting to first select the Page Link block. This might just be something to adjust to but a visual prompt would go a long way.
@jasmussen what I have in mind is some help text whenever you open the inserter in a restricted area that says "These are the blocks available to insert within the {ParentBlockName} block".
Do you want to be able to customize the message per parent block, or do you think a standard message and then just switch out the name of the block it applies to?
The implementation might be slightly different depending, I'm still digging in to how we might pass the property down into the QuickInserter, so much of it is abstracted within InnerBlocks it is not quite as easy as I hoped.
A perspective....
With the latest mockup I get the impression that it is only the 6 blocks one can insert into the navigation. A user might not even know (understand) that they can click Browse all to access additional blocks that can be inserted into the navigation.
The text takes about as much space as another row of blocks would do. Btw merging the Navigation editor and the Navigation block into how various aspects are handled with help the learning curve for users. As adding a Nav block would have similarities into how working with the Nav editor becomes.
The quick inserter definitely needs iteration as far as both curation of the default 6, but also how you explore additional ones. But even without that, the "Browse all" at the bottom means it isn't a dead end, so I think it could still be a quick win:
This could be a fine small step to solve this ticket, so long as it isn't the end of the road.
And we do want to improve the quick inserter. It is arguably the most used interface, and right now the frecency inside means that some blocks get more prominence than they deserve simply because you don't discover others to bump them down the list. So just to explore the idea, here's what it would look like if we added a custom scrollbar:
Note it would have to be custom so it doesn't fade out on Mac or mobile systems, or the point is lost.
Another option is to add paging dots:
That 3rd option would be the same as the current "Browse all" button.
For the first option adding text it needs to be clear that those are the top 6 block options that can be used for the Navigation bar (+ editor).
The second option I did not even initially see the scrollbar until I read the text. I believe that scrollbars can easily be overlooked.
The third option uses the wide Browse all in a more practical way.
Brain storming. The Browse all is a big button which gives a hint that says if you do not see what you are looking for in the 6 blocks above you will need to click the Browse all and see all the blocks even those not related to Navigation.
Keeping the user inside the quick inserter will help focus on the current task at hand. Adding a block to a Navigation.
Some explorations.
Adds the arrow/chevron we are used to from opening and closing the sidebar settings panels.
Adds dots in the side of the Browse all bar.
Adds dots to the top center area giving a hint that this is just one of three block areas one can click through. It gives clarity showing that there are more than 6 quick inserter blocks available.
Activity
noahshrader commentedon Jul 30, 2020
Good catch!
Attached is a super quick example of the added section heading:
MichaelArestad commentedon Aug 11, 2020
@annezazu is what Noah proposed what you are expecting or were you proposing something more like a walkthrough or popover with more information?
annezazu commentedon Aug 11, 2020
Ah apologies. I reacted with a heart but should have used my words ;) I dig what Noah proposed as a minimalist way to lightly introduce this interaction. I wonder if even just saying "Options" is enough in case this kind of situation happens again where a limited set of blocks can be used in the interface. It could help create some nice consistency rather than having unique headers.
Minor note: I definitely think Link should be listed before Search as adding repeated links seems far more likely than a bunch of search boxes.
MichaelArestad commentedon Aug 12, 2020
In that case. I think Noah's mock works. Let's run with that.
annezazu commentedon Aug 12, 2020
Sounds good to me!
mtias commentedon Aug 26, 2020
It feels like the text could even expand a bit more instead of just being a heading. In any case, this seems like a good thing to support in the inserter API (a description? a tip? a heading?) that can be optionally added when blocks are restricted (i.e. when
allowedBlocksis present). cc @youknowriad @pablohoneyhoneyannezazu commentedon Mar 16, 2021
Noting the current experience as of Gutenberg 10.1.1 and WordPress 5.7:

annezazu commentedon Mar 17, 2021
Pulling in feedback from the third call for testing for the FSE program from @paaljoachim:
Helpful to think about the above context when/if this is addressed :)
annezazu commentedon May 18, 2021
This feedback came up once more in the sixth round of testing for the FSE Outreach Program:
I've even caught myself clicking + and then starting to type a page title forgetting to first select the Page Link block. This might just be something to adjust to but a visual prompt would go a long way.
jasmussen commentedon Jul 8, 2021
I'm seeing this at the moment:
What, if anything, does that mean for the original ticket as reported?
mtias commentedon Jul 12, 2021
@jasmussen what I have in mind is some help text whenever you open the inserter in a restricted area that says "These are the blocks available to insert within the {ParentBlockName} block".
jasmussen commentedon Aug 2, 2021
That seems like it could be a quick win, and potentially benefit other limited nesting containers such as Social Links.
@vcanales @mkaz any thoughts on the level of effort this would take to build? Seems simple enough.
mkaz commentedon Sep 8, 2021
@jasmussen @mtias Are you looking for something like this?
Do you want to be able to customize the message per parent block, or do you think a standard message and then just switch out the name of the block it applies to?
The implementation might be slightly different depending, I'm still digging in to how we might pass the property down into the QuickInserter, so much of it is abstracted within InnerBlocks it is not quite as easy as I hoped.
paaljoachim commentedon Sep 9, 2021
A perspective....
With the latest mockup I get the impression that it is only the 6 blocks one can insert into the navigation. A user might not even know (understand) that they can click Browse all to access additional blocks that can be inserted into the navigation.
The text takes about as much space as another row of blocks would do. Btw merging the Navigation editor and the Navigation block into how various aspects are handled with help the learning curve for users. As adding a Nav block would have similarities into how working with the Nav editor becomes.
jasmussen commentedon Sep 10, 2021
The quick inserter definitely needs iteration as far as both curation of the default 6, but also how you explore additional ones. But even without that, the "Browse all" at the bottom means it isn't a dead end, so I think it could still be a quick win:
This could be a fine small step to solve this ticket, so long as it isn't the end of the road.
And we do want to improve the quick inserter. It is arguably the most used interface, and right now the frecency inside means that some blocks get more prominence than they deserve simply because you don't discover others to bump them down the list. So just to explore the idea, here's what it would look like if we added a custom scrollbar:
Note it would have to be custom so it doesn't fade out on Mac or mobile systems, or the point is lost.
Another option is to add paging dots:
That 3rd option would be the same as the current "Browse all" button.
paaljoachim commentedon Sep 10, 2021
For the first option adding text it needs to be clear that those are the top 6 block options that can be used for the Navigation bar (+ editor).
The second option I did not even initially see the scrollbar until I read the text. I believe that scrollbars can easily be overlooked.
The third option uses the wide Browse all in a more practical way.
Brain storming. The Browse all is a big button which gives a hint that says if you do not see what you are looking for in the 6 blocks above you will need to click the Browse all and see all the blocks even those not related to Navigation.
Keeping the user inside the quick inserter will help focus on the current task at hand. Adding a block to a Navigation.
Some explorations.

Adds the arrow/chevron we are used to from opening and closing the sidebar settings panels.
Adds dots in the side of the Browse all bar.
Adds dots to the top center area giving a hint that this is just one of three block areas one can click through. It gives clarity showing that there are more than 6 quick inserter blocks available.
annezazu commentedon Feb 7, 2022
This experience has been iterated upon SO MUCH since I opened this issue thanks to the work around a lighter experience: #34041
Here's a current view:
I'm going to close this out as a result as I don't think this feedback applies anymore :)