-
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
Adding a name to group blocks to be shown in block navigation #16296
Comments
Reusable blocks already have names, maybe we can use the same component for that. |
I think being able to add a name to a group block could be a really useful functionality. Thanks for suggesting this @lucspe. |
What we have now for reusable blocks is this: I took a little exploration into maybe how we could take a slightly different approach: This gives us both options and maybe even something to explore with reusable blocks. Noting the 'edit' or 'save' and even name only appears on interacting with the block. |
Definitely interesting and I like the idea. Thinking aloud here, but a few thought questions: Do you think this is important enough to be in the toolbar? Perhaps considering a control in the Sidebar Settings would be more appropriate. And should users be encouraged to add a name to a Group block? Or is it a specialty case? I'm wondering how this plays with the context of other blocks. For example, should any block be namable? What's the user's expectation on that front? |
A good point. I went with that location to build on the position of the nested blocks. I wouldn't at all be opposed to explorations there also for nested blocks.
I think as these have default names or 'group' 'nested', then naming unique names makes sense. However, it does make me wonder what the use case would be for naming anything and if that's something to explore. Thanks for making me think! |
Let's definitely try this first in the "advanced" panel in the block inspector. |
@mtias here is a quick mock-up to see if what you are thinking about: I actually quite like that as an option, but only if we also change reusable blocks to use that. |
It's more important for reusable blocks to have a name than it is for group blocks. For reusable blocks it is a primary action, for blocks it's just an advanced setting for certain circumstances. |
@karmatosed & @mtias, let me share some details about why this request came up, maybe it is useful for you. |
Are there any further discussions on implementing this feature? We generally try to organize our pages by break up different sections of a page into its own groupings, so a page with say 5 sections (header, content, unique design elements) would have 5 groups created. Seeing a list like the image below could be more useful with custom names for navigating. I also like the idea of having the name field appear in the "advanced" panel in the block inspector
|
I too would like to see this feature in the meantime we are using this plugin: |
I am glad I found this feature request already open as I was about to open a similar one, I'd definitely be interesed in being able to name blocks - either by showing the id/anchor or with a separate name field. I was also thinking of suggesting the name field in the Advanced section, it's a great-to-have, not a must in my opinion. Reusable blocks already show their names/post titles (since they're a post type) in the list view, and I think it could be handy for managing pages with lots of parent blocks that have content nested in them. |
Just came by to say I was looking for this too. I tend to use the breadcrumbs for navigation, and find it pretty much impossible to figure out which group I'm looking for in a theme I'm working on. Example:
At the very least, adding the |
Related #16307 |
I'm going to close this one out as a superseded by #33583 |
Hi,
Whilst testing the recently introduced "group" block, I find a bit frustrating that there is no way to assign a name to each of them to make it easier to go through the document using the block navigation.
Currently, each "group" block will appear in block navigation simply as "Group" as per screenshot
It would be great if there was a way to assign some kind of name to be able to identify what each of those groups are, as per screenshot
This is particularly frustrating when dealing with long posts or pages.
Beyond this particular block, in my opinion there are other blocks that could benefit from having the possibility of having a name assigned in the block navigation (such as images, videos, etc.) to make the block navigation a more effective tool.
@karmatosed, we discussed this briefly at WCEU and you suggested that I write it in GitHub. I hope the format is correct and the matter is clear.
Thank you
The text was updated successfully, but these errors were encountered: