-
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
Site Logo: Move Reset button to the Replace menu dropdown #35372
Conversation
Size Change: +71 B (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
I am unsure about the trashcan icon. It makes me wonder if the image is also deleted from the media library. |
I agree with @carolinan. We have the |
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.
Just adding that this change is testing nicely for me, I like the addition of allowing children
in the MediaReplaceFlow
component, and it doesn't appear to cause any issues for any of the existing usages of that component (tested File, Image, Media & Text block, etc).
Other than the decision surrounding which icon to use that the others mentioned above, this change LGTM!
Good points -- this would also go further to mimic the appearance of |
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.
Thanks for the quick follow-up, @stacimc.
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.
@jasmussen, I like the idea of having a separate group for "Reset." I can do a follow-up PR later today. |
It's in hyperoptimization territory, not urgent, just nice. Thanks as always for looking! |
I want to join the department of subtleties, so it’s not a problem :) |
I already consider you an honorary member 🚀 |
Description
This is a quick follow-up to #34820, which added a Reset button to the Site Logo block toolbar which clears the media. The original design gives the Reset button high prominence, so this PR just moves it from the top level of the block toolbar into the
Replace
dropdown menu as a new option.How has this been tested?
Manually using the same testing instructions from #34280 and verifying that the Reset button now appears as a new menu item under
Replace
(see screenshots).Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).