-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Interface: move Fullscreen mode component to interface package #21334
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: +728 B (0%) Total Size: 885 kB
ℹ️ View Unchanged
|
Addison-Stavlo
left a comment
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.
Smoke tested the editors. This works well on my end!
noahtallen
left a comment
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.
This works perfectly for me as well. My only thought (similar to the other PR) is that we should probably update style.scss. For example, edit-post-fullscreen-mode__slide-in-animation could probably be renamed. edit-post-header also seems out of place (especially since we use this from edit-site), but that might need updated somewhere else
|
I personally think the header animation is not useful at all epsecially since it's fullscreen by default, I'd vote for removing it which would save us the need to move it to the right package (edit-post since the element is rendered there) cc @kjellr |
I agree, especially in light of this exploration which will make it obsolete #21121. |
Move Fullscreen mode component from block-editor to interface package.
e2bd307 to
72246c8
Compare
|
I removed the |
youknowriad
left a comment
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.
LGTM 👍 Thanks
Description
Move Fullscreen mode component from block-editor to interface package.
How has this been tested?
Toggle the fullscreen mode in post editor and site editor and verify that they still work as expected.
Types of changes
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist: