-
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
Command Center: Add an API to open/close the command center #50423
Conversation
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.
Looks good, thanks Riad!
Size Change: +106 B (0%) Total Size: 1.38 MB
ℹ️ View Unchanged
|
Flaky tests detected in 3a31234. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4913097592
|
Extracted from #50369
Related #48457
Should unblock the work for #50375
What?
We want to add the ability to open the command center by clicking buttons in multiple places in the UI. This PR adds the APIs (actions) to be able to do so programmatically.
Testing Instructions
1- Nothing should change in this PR, we're just adding a new private API to the commands package.
wp.dispatch( wp.commands.store ).open()