-
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
Move InserterButton from components package to block-editor package #56494
Conversation
Size Change: 0 B Total Size: 1.7 MB ℹ️ View Unchanged
|
….com/WordPress/gutenberg into rnmobile/move-mobile-inserter-button
Flaky tests detected in f649c78. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7013318599
|
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 🎊 !
I added some minor comments that shouldn't block the merge of the PR. Let me know if you'd like to address them, otherwise feel free to merge the PR as is.
packages/block-editor/src/components/block-variation-picker/index.native.js
Outdated
Show resolved
Hide resolved
packages/block-editor/src/components/block-types-list/index.native.js
Outdated
Show resolved
Hide resolved
8e16d06
to
f649c78
Compare
@fluiddot Thanks for the review - I updated the relative import paths and linked the block-experiments PR. I also opened a companion Gutenberg Mobile PR, but I'm not sure it really needs one (or at least, I don't think it needs an update to the RELEASE-NOTES.txt in Gutenberg Mobile). WDYT? |
@derekblank The only reason for creating the companion PR is due to the update in the |
@fluiddot I agree. I'll update the block-experiments ref in the Gutenberg Mobile PR once the block-experiments PR is approved/merged. 👍 |
@derekblank I've approved all the PRs, feel free to start updating the references and merge them. Thanks 🙇 ! |
…56494) * Move mobile InserterButton from components package to block-editor package * Add @wordpress/primitives to block-editor package dependencies * Update react-native-editor CHANGELOG * Move SVG and Path imports from @wordpress/primitives to @wordpress/components * Update components package CHANGELOG * Update InserterButton import paths
What?
This PR moves the mobile
InserterButton
from the components package to the block-editor package.Why?
There is an ongoing effort to remove block-editor package dependencies in native files from the components package in order to eliminate cyclic dependencies:
block-editor
package in native files within thecomponents
package #52692How?
Moves code and code references to
InserterButton
from the components package to the block-editor package.Testing Instructions