-
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
Add transform between core/site-logo and core/site-title blocks #37920
Conversation
Size Change: +60 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
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 PR @richtabor!
Code wise this looks good. Initially this threw me off a bit as I have mentally mapped transformations to/from blocks by keeping existing content. On the other hand I believe these two blocks are really connected(interchangeable(?)) in many designs and that there is no harm at all to implement them and adds value.
I'm going to approve this one, but before merging I'd like some thoughts maybe from @jameskoster or @jasmussen that have thought a lot about such flows.
Whoah, that's quite a transform! Seems good to me: transforms are so full of untapped potential, and I'd love to see the interface for transforming evolved to embrace that fact. Clicking the block icon to see what options, styles, transform, pattern conversions, or layout options are available at any given moment, it could be big! That's just to say: I hope we can improve the transforms interface as a whole, so it can better contextualize the available transforms and help imply what it's all about. But in the mean time, this seems cool to me — you can always undo! Thanks for the PR! |
I think of similar transformations as "replace with" action 😄 |
Closes #37919 by adding a transform between the site logo and site title blocks.
Description
Added block transforms between the
core/site-logo
andcore/site-title
blocks.Screenshots
CleanShot.2022-01-12.at.11.57.02.mp4
Types of changes
Add block transforms between the site-logo and site-title blocks.