-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Global styles: relocate revisions from fill to sidebar component #57034
Global styles: relocate revisions from fill to sidebar component #57034
Conversation
…ar, so it doesn't need to be included via fill. This commit moves the button from ui.js to the sidebar component in the hope that it will make both maintenance and working with parallel states, e.g., style book visibility easier later.
Size Change: -12 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Flaky tests detected in 88ee36d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7202576448
|
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.
The global styles revisions button looks and works just as on trunk, and this simplifies things a bit by consolidating everything in the one place. LGTM! ✨
…ar, so it doesn't need to be included via fill. (#57034) This commit moves the button from ui.js to the sidebar component in the hope that it will make both maintenance and working with parallel states, e.g., style book visibility easier later.
What? Why? How?
The revisions button is a permanent member of the global styles sidebar, so it doesn't need to be included via fill.
This commit moves the button from ui.js to the sidebar component in the hope that it will make both maintenance and working with parallel states, e.g., style book visibility easier later.
Context: #56800 (comment)
Testing Instructions
Check that the global styles revisions button is still there 😄 and works as before.