-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Remove extraneous "Detach" ToolbarButton for synced patterns #53121
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
Conversation
Size Change: -323 B (0%) Total Size: 1.44 MB
ℹ️ View Unchanged
|
Flaky tests detected in be3ff5f. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5707833424
|
I’ll have a look on Monday 🙌 |
Makes sense to me. Detaching is relatively uncommon so the action in the block options menu seems adequate. |
I think it makes sense to tuck away "destructive" actions in the "Options" dropdown. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
I can't comment much about the patterns feature, but as for reusable blocks, our team does use the detach feature quite a lot every single day. It was a big regression for us the fact that the function is now hidden under the three-dot menu. 😓 Do you guys have statistics' data from general WordPress usage that corroborates the fact that our usage of this feature is that uncommon? |
As of WordPress 6.5, there's now a big button to edit the original block as if that's what people usually most do (and the detach command is still hidden under the three-dotted menu). I don't understand… |
What?
An alternative to #52998, removing the ToolbarButton altogether — as the option is included in the block options popover already. I don't think it's necessary to have duplicate controls; especially as the "Ungroup" icon is confusing by itself; and the toolbar for synced patterns may be extended with additional controls (perhaps "Edit").
@Mamaduka do you mind helping/arranging help with the reusable-blocks test? They may need updated to leverage the "Detach patterns" control within the block options toolbar. 🙇♂️
Testing Instructions
Screenshots or screencast