-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Move copy and pasting styles menu items to a separate menu group #47430
Conversation
Size Change: +52 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
Flaky tests detected in e180b7c. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4009244323
|
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.
Good change. The before image below is not very clear about the feature-set, that you can copy and paste styles:
This after image below is much clearer that you can both copy blocks, or copy styles. Yes, the copy action might technically be the same, but the actual feature becomes much clearer for it:
There's a future followup of improving this menu further, in terms of leveraging flyouts for a couple of actions when possible. But in lieu of that, this is a stronger starting point, even if the menu becomes taller. Nice work!
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.
A good interim solution for 6.2. 💪
What?
Closes #47164 by adding a MenuGroup with "Copy styles" and "Paste styles" within and removing the standalone "Copy styles" MenuItem.
Technically, "Copy styles" and "Copy block" are the same functionality, but having a separate control for copying styles makes this more discoverable.
Why?
Makes the copy/pasting of styles more discoverable, as in the current state copying styles is undiscoverable.
Testing Instructions
The functionality has not changed, just the presentation.
Screenshots or screencast
CleanShot.2023-01-25.at.14.18.23.mp4