gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Remove duplicative "Rename" control from the Block Inspector

Open richtabor opened this issue 2 years ago • 4 comments

The "Advanced" panels in the Block Inspector have become a catch-all of sorts; I'd like to clean up and organize what we have.

The first thing that comes to mind is the duplicative "Block Name" control. Renaming currently happens for blocks within the block toolbar, or in List View.

It's much easier, and requires less steps, from either—and both open the same familiar modal for renaming blocks (which is also used for templates, template parts, patterns, and perhaps pages soon).

This control populated in each block's "Advanced" panel is the only of its kind for renaming. I think we should remove it and keep the rename flow consistent across the editing experience.

Current

CleanShot 2024-03-22 at 10 52 29

richtabor avatar Mar 22 '24 14:03 richtabor

@richtabor I disagree with the notion that we should remove the rename field here. It was just introduced as a new field in WordPress 6.5 and therefore is now out there with real users. Removing this for the sake of removing it feels like it is introducing unnecessary friction and confusion for users.

If the root issue is too many settings appearing in the advanced settings panel maybe we can look at switching the advanced section over to using the Tools UI like most of the design tools have now where you can add any of the settings you want to have.

I just don't think it is a good practice for us to add a new field in one release only to remove it again in the next release. That type of experimentation should happen in the Gutenberg plugin but once something has shipped in WordPress core it just leads to users losing trust in the UI because controls they get used to disappear for them.

fabiankaegy avatar Apr 03 '24 13:04 fabiankaegy

Removing this for the sake of removing it feels like it is introducing unnecessary friction and confusion for users.

As we iterate, we often uncover areas that need to adapt. If the change is worth the cost of change, then change is fine.

In this case:

  • it's interfering with the other useful/relevant advanced controls. If it's harder to identify the Additional Classes control, we've regressed the usefulness of this panel (and I think we have).
  • it's utility in the List View, not the Inspector, as the effect is only apparent within List View.
  • it's causing UX issues with overrides, making them unnecessarily complex (leading to even more complexity of the advanced panels).

Those lead me to think it's worth the change. Having duplicative controls, and in this case, varying experiences, is not ideal to understanding how to best leverage renaming blocks in WordPress.

richtabor avatar Apr 04 '24 04:04 richtabor

If the root issue is too many settings appearing in the advanced settings panel maybe we can look at switching the advanced section over to using the Tools UI like most of the design tools have now where you can add any of the settings you want to have.

The root problem is duplicative ways to achieve the same thing, introducing variance and perceived complexity.

Having rename as a Tool in that UI would actually make the overrides experience even more complex (as there is some connectivity between overrides and renaming). And conditionally rendering the rename control based on overrides will lead to more confusion, as they're not clearly connective in the first place. Users would not expect it to be available sometimes.

richtabor avatar Apr 04 '24 04:04 richtabor

I think there should be at least a one-release notice, tucked in its previous location, to alert users of the change.

I had not seen this mentioned in an article or video on 6.6. The confusion cost me at least an hour switching themes, checking older installations, toggling plugins. etc., and ultimately filing a bug. It was only then that I noticed the Rename feature under the "kebab" menu beside the block’s name, never having used it there before.

sidewaysdesign avatar Jul 18 '24 19:07 sidewaysdesign