-
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
Rename blocks: surface new name in more places in the UI #56523
Comments
Feels entirely valid. I think the only question is whether the block description will feel disconnected if renamed. Shown here the inspector says "Group", and then a description, "Gather blocks in a container". If renamed to "Content", like it is in the list view, it would say "Content", followed by "Gather blocks in a container". I don't think this is an issue, and we should try the change as-is. If we do find this to be problematic, the description could be augmented when a block is renamed. |
Can the description be updated to include the original name? Remember that not only users, but themes and plugins can rename blocks in the markup of patterns and templates. |
Breadcrumbs sure, but not the block card/inspector. Renaming blocks is particularly useful for finding and navigating among many blocks, as seen in list view and the breadcrumbs. The block card/inspector is not where you're finding one block among others—you've already selected the block. |
Sounds like an initial first step is to just update the breadcrumbs based on this discussion! |
Down the road it might be interesting to surface both the custom and the technical name in the Inspector. |
Would be great to still see the block type after renaming somewhere. Examples: |
I'm not sure. Maybe, but for many cases it may be too much information. Like for paragraphs or headings, or for synced patterns with overrides. In the meantime, you can name it with the block name manually. |
Right now, when you rename a block, the rename is only visible in List View and under advanced in the block settings. Since renaming is such an intentional action for better organization and clarity, the question remains of whether to show the name in more places in the UI. For now, these two places come to mind:
@WordPress/gutenberg-design curious to hear what you think and the best way to strike the proper balance.
The text was updated successfully, but these errors were encountered: