-
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
Mobile - Supporting List block V2 #42624
Comments
Anything I can do to help? |
To start, I'm working on testing @geriux 's changes so far, with a focus on switching between posts created on web and then mobile (and then vice versa) to note the HTML markup changes are all working ok. |
Hey @ellatrix, thank you very much for offering your help 🙇. In relation to the following item:
We'd really appreciate it if you could help us with adding a flag to the block editor settings endpoint, very similar to how it was done for the Quote v2. This will help us to know when we have to enable the List v2 in the native version and control the version via the backend. Let us know if you have any questions or concerns, thanks 🙇 ! |
No worries! What's next? |
@geriux I've opened draft PRs for the feature flag in WordPressKit-iOS and WordPress-FluxC-Android, also linked above. Outside of normal code review, we just need to update the Gutenberg ref, too. Can you confirm which ref we should use at this point? Or, let me know if there's anything else needed to do first before we can update the Gutenberg ref. |
We are wrapping up the implementation and we will begin testing, as of now all of the tasks are done unless any bugs come up. Once the PRs are ready for review we'll add you as a reviewer as there are some small changes needed to share some of the code with the web editor. Thanks for the help! |
Awesome! Thanks! Let's use this reference of this PR, since it has all of the latest changes, so we can test it on devices. We will need to generate the bundles though. |
Quick update, the main PR is now ready for review and for one last round of testing. 🎉 |
I'll have a look for the web side. |
Description
This issue highlights the needed work to support the new List block (V2), this is a general view of the first tasks to tackle but there might be other ones.
list-item
block to the block registration.packages/block-library/src/index.native.js
list-item
block native variant, since it will require quite a few changes so it'll be difficult to share with the Web code.edit.js
for mobile.List
use-ref-effect
hook in mobile importpackages/compose/src/index.native.js
ordered
lists since we can't use the built-in implementation of Aztec. This has to include supporting thereverse
andstart
options.The feature branch is: rnmobile/list-v2
To enable V2 of the block you could apply this patch:
The text was updated successfully, but these errors were encountered: