Rename section block to group#14920
Conversation
|
@kjellr - I think you might have been working on some patches for themes so that they work with what was the section block. I suppose this change affects that and the classes will have to be renamed? |
gziolo
left a comment
There was a problem hiding this comment.
It looks like a lot of work to rename a single block 😅
| @import "./rss/editor.scss"; | ||
| @import "./search/editor.scss"; | ||
| @import "./section/editor.scss"; | ||
| @import "./group/editor.scss"; |
There was a problem hiding this comment.
Can it be moved to be sorted alphabetically?
| import * as rss from './rss'; | ||
| import * as search from './search'; | ||
| import * as section from './section'; | ||
| import * as group from './group'; |
There was a problem hiding this comment.
Can it be moved to be sorted alphabetically?
| }, | ||
| core__section: { | ||
| originalBlock: 'Section', | ||
| core__group: { |
There was a problem hiding this comment.
Can it be moved to be sorted alphabetically?
Yep, that's right. None of the patches have been merged in yet, so this is a great time to make the change. 🙂 |
gziolo
left a comment
There was a problem hiding this comment.
The block itself can be inserted into post properly 👍
|
I love this. When I had taken my stab at the container block, this was the approach I was trying to take, along with the "Group" and "Ungroup" functionality. I think this makes so much sense, makes it more intuitive for users, and really opens the door for a better user experience! |
|
What it's confusing at the moment is that when you insert Group block, what you actually see is Paragraph block: Can we at least do something like: or what @mtias suggested in our private chat with reusing the bits of Block Navigation feature: Those aren't final design proposals by any means 😃 |
To be clear, should we consider this a separate task from the rename itself happening here? I expect the work from #14241 should help to improve the experience of the default block appender. |
Indeed my work on |
@chrisvanpatten Here's my first pass at "Group" #14908 |
|
I was sharing my experience from testing. I didn’t mean it should block this PR 👍 |
Do you know if there's a related issue for tracking these improvements? Is #9628 relevant? |
|
Great to see this rename get done so quickly @talldan 👍 |
* Rename section block to group * Update transforms test for rename of section block to group * Alphabeticalize




Description
Closes #14898
Renames the Section block to Group.
How has this been tested?
See also #13964 (comment) for further details on testing (but replace the word section with group in your mind).
Screenshots
Types of changes
Breaking change (but one that should be ok if it's merged before the next release)
Checklist: