gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Add help text for selecting a block with an override

Open richtabor opened this issue 1 year ago • 1 comments

A follow-up to https://github.com/WordPress/gutenberg/issues/61515, let's add help text to provide additional context about the block override, when selecting the block icon (instead of having no action).

CleanShot 2024-05-10 at 10 50 57

Note that we do not have an official "Learn more" link for overrides yet, but this would be a great place to link to additional information.

richtabor avatar May 10 '24 02:05 richtabor

When multiple blocks with overrides are selected, let's use this:

These blocks are editable using "Recipe Title" and "Recipe Description" overrides. 

richtabor avatar May 10 '24 03:05 richtabor

Is there a reason we are adding this to the toolbar instead of in block settings? I feel like we generally have stayed away from help text in the toolbar.

annezazu avatar May 14 '24 21:05 annezazu

Is there a reason we are adding this to the toolbar instead of in block settings? I feel like we generally have stayed away from help text in the toolbar.

Because the alternative is to leave it as "No transforms" and I think it'd be much easier to parse right in front here.

You can't transform, or do anything else here; this way the information is clear rather than somewhere in the Inspector.

richtabor avatar May 27 '24 23:05 richtabor