Skip to content

Try more descriptive summary and labels for Group block and associated actions#16002

Closed
kjellr wants to merge 9 commits into
masterfrom
update/group-block-text
Closed

Try more descriptive summary and labels for Group block and associated actions#16002
kjellr wants to merge 9 commits into
masterfrom
update/group-block-text

Conversation

@kjellr

@kjellr kjellr commented Jun 5, 2019

Copy link
Copy Markdown
Contributor

This PR includes two small changes:

  1. It updates the description for the Group Block.
  2. It updates the "Group" and "Ungroup" action labels to be more descriptive.

1. Updated Group Block description

The current description is:

A block that groups other blocks.

... which is a bit unfortunate because it includes the word "Group" in it. 😄 This PR updates that to:

A block that contains other blocks.

Other suggestions are welcome!

Screen Shot 2019-06-05 at 8 57 48 AM


2. Updated "Group" and "Ungroup" labels

This came up in #15602 (comment). I'm not 100% sure this is necessary, or if I'm overthinking it. I'd definitely love feedback on this too.

Updates:

  • "Group" changes to "Create a Group Block"
  • "Ungroup" changes to "Ungroup Blocks"

Screen Shot 2019-06-05 at 8 57 25 AM

Screen Shot 2019-06-05 at 8 57 40 AM

(Note that these screenshots are using the icons from #16001)

@kjellr kjellr added Needs Design Feedback Needs general design feedback. [Type] Copy Issues or PRs that need copy editing assistance Needs Copy Review Needs review of user-facing copy (language, phrasing) [Block] Group Affects the Group Block (and row, stack and grid variants) labels Jun 5, 2019
Comment thread packages/block-library/src/group/index.js Outdated
onClick={ onConvertToGroup }
>
{ _x( 'Group', 'verb' ) }
{ _x( 'Create a Group Block', 'Creates a new Group block containing the selected blocks in the Editor' ) }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only concern I have is that it is implying you are just creating a new Block. It doesn't imply that you are necessarily containing the selected blocks within a new group block.

@kjellr kjellr Jun 5, 2019

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I struggled a bit with this one. "Group Blocks" didn't actually make a ton of sense, since you can trigger this from just one block. Maybe "Add to a Group Block"? My concern with that was that it wasn't clear that it was actually creating a new Group block. 😄

onClick={ onConvertFromGroup }
>
{ _x( 'Ungroup', 'Ungrouping blocks from within a Group block back into individual blocks within the Editor ' ) }
{ _x( 'Ungroup Blocks', 'Ungrouping blocks from within a Group block back into individual blocks within the Editor ' ) }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me and is clearer.

@michelleweber

Copy link
Copy Markdown

I like the updated labels -- it makes it clearer that this is an actual block that contains other blocks as opposed to just some kind of mechanism for linking blocks together.

@mapk

mapk commented Jun 6, 2019

Copy link
Copy Markdown
Contributor

I have trouble with "A block that contains other blocks". While I like being explicit that it's also a block, I feel we have several blocks that contain other blocks, ie. Columns, Media+Text, Cover, etc.

Maybe we can use this opportunity to differentiate it from those others? Is there a way we can say this by also stating a purpose for this block? Maybe I'm overthinking this?

A block that contains other blocks for the purpose of... [I really don't know what to add here]

On the other hand, I think it's okay to just use the word to describe the action it's meant to perform, especially if the word describes it best, like "group". So I guess what I'm saying is that a Group block "groups" other blocks together is pretty straightforward IMO.

Here's an example of the Column block.

Screen Shot 2019-06-06 at 10 00 13 AM

+1 to the actions labels in the dropdown.

@kjellr

kjellr commented Jun 6, 2019

Copy link
Copy Markdown
Contributor Author

I tend to think of the descriptions as definitions of the block. With that mindset, it'd be very weird to use the same word in both places. It's possible I'm thinking about that wrong though. I guess the Image block description uses the word image in it. 😄

To @michelleweber's point though, I do like using the word "contain" here because structurally, that's exactly what this is doing. It's not just linking the blocks together, it's creating a new block that contains them.

@mapk

mapk commented Jun 7, 2019

Copy link
Copy Markdown
Contributor

It's not just linking the blocks together, it's creating a new block that contains them.

I'm totally willing to accept this. 👍 A lot of our blocks seem to use the same word in the description as in the title, so I'm okay with that as well. "Group" to me, gives it a purpose while "contain" states it's function. I'm good either way! I don't want to hold this up. Thanks for thinking it through.

@sarahmonster

Copy link
Copy Markdown
Member

Our block descriptions tend to use the action + subject format, like:

Start with the building block of all narrative.

Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.

Create a bulleted or numbered list.

Give quoted text visual emphasis. "In quoting others, we cite ourselves." — Julio Cortázar

Given this (wordier!) format, we should change the description here to follow this convention. It may also help to give some context about why you might want to group blocks together. I think it's for easier moving and manipulation, but please correct me if I'm wrong there.

A few suggestions:

Unite two or more blocks into a single unit.
Combine two (or more!) blocks into a single block for easy manipulation.
Create a single block that contains other blocks.

Alternatively, there's an opportunity to reference a Spice Girls song here I'm sure. 😉

@mapk

mapk commented Jun 15, 2019

Copy link
Copy Markdown
Contributor

Alternatively, there's an opportunity to reference a Spice Girls song here I'm sure. 😉

Spice girls or New Kids on the Block? 😆

@sarahmonster, great insight on the sentence structure of those descriptions. I like your second example best, myself.

Combine two (or more!) blocks into a single block for easy manipulation.

@kjellr

kjellr commented Jun 17, 2019

Copy link
Copy Markdown
Contributor Author

@sarahmonster, great insight on the sentence structure of those descriptions. I like your second example best, myself.

Combine two (or more!) blocks into a single block for easy manipulation.

Agreed. I've updated the PR to match:

Screen Shot 2019-06-17 at 8 09 18 AM

@mapk

mapk commented Jun 25, 2019

Copy link
Copy Markdown
Contributor

Looks good, Kjell! :shipit:

mkaz pushed a commit that referenced this pull request Jul 8, 2019
mkaz pushed a commit that referenced this pull request Jul 8, 2019
* Establish explicit naming convention for blocks in UI & docs.

See #16118.

* Elaborate on sentence format for block descriptions.

Vaguely related: #16002.

* Update docs/designers-developers/designers/block-design.md

Co-Authored-By: Marcus Kazmierczak <marcus@mkaz.com>

* Minor copyedit to Block Description section.
@kjellr kjellr requested review from nerrad and ntwb as code owners July 31, 2019 12:55
@kjellr

kjellr commented Jul 31, 2019

Copy link
Copy Markdown
Contributor Author

I dusted off this old PR and fixed the failing tests. Would someone mind giving it another look?

@mapk

mapk commented Aug 6, 2019

Copy link
Copy Markdown
Contributor

Just tested again. Everything looks right.

Block Settings

Screen Shot 2019-08-05 at 5 12 04 PM

Ungrouping option

Screen Shot 2019-08-05 at 5 12 39 PM

Grouping option

Screen Shot 2019-08-05 at 5 12 54 PM

:shipit:

@estelaris

Copy link
Copy Markdown
Member

Reviewed in Gutenberg triage and we all agreed that a simple description with easy to understand words can be very helpful. The description should also follow the naming convention mentioned above by @sarahmonster: Our block descriptions tend to use the action + subject format

Few suggestions:

  • Combine blocks into a group

  • A block that contains other blocks

Also, descriptions shouldn't use exclamation marks

@paaljoachim

Copy link
Copy Markdown
Contributor

Here is the link to the discussion we had during the Gutenberg Design Triage session. (Slack registration required.)
https://wordpress.slack.com/archives/C02S78ZAL/p1595952693450100

@mapk

mapk commented Jul 29, 2020

Copy link
Copy Markdown
Contributor

Switching to this branch basically took down my local site. It's an old PR, can we get a rebase, @kjellr ?

@kjellr

kjellr commented Jul 29, 2020

Copy link
Copy Markdown
Contributor Author

Switching to this branch basically took down my local site. It's an old PR, can we get a rebase, @kjellr ?

Oof — I just tried to sync this up with master but my computer's fans started buzzing and it failed. 🙃

I'm heading out for a short vacation, but I'll add this to my list for when I return. If someone else wants to pick it up before I get back, you're more than welcome to!

@mapk

mapk commented Jul 30, 2020

Copy link
Copy Markdown
Contributor

I can pick this up real quick with a new PR.

@mapk

mapk commented Jul 30, 2020

Copy link
Copy Markdown
Contributor

With the new PR created, #24297, I'm going to close this one out.

@mapk mapk closed this Jul 30, 2020
@aristath aristath deleted the update/group-block-text branch November 10, 2020 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Group Affects the Group Block (and row, stack and grid variants) Needs Copy Review Needs review of user-facing copy (language, phrasing) Needs Design Feedback Needs general design feedback. [Type] Copy Issues or PRs that need copy editing assistance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants