-
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
Tracking Issue: Expose the full Interactivity API in @wordpress/interactivity
#51056
Comments
I'm working on the |
There you go: I'll start migrating the SSRing next. I'll update the Tracking Issue with more detailed tasks for that. |
I recently created a draft PR with the branch where I started working on porting the entire Interactivity API runtime (without CSN). So far, I moved the missing directives and all the e2e tests unrelated to the client-side navigation feature. I had to refactor the tests a little bit, and I'm not yet convinced with the current arrangement. I think we can get rid of our fixture to serve local HTML files and use a custom plugin with compiled Also, I'm not compiling any |
There you go:
I don't think it's necessary anymore as I did all the tasks in that PR. |
Surficing this comment here. I will work on a PR to do the syntax changes from WordPress/block-interactivity-experiments#239. Also, I added a task to the list to work on |
Done: Let's try this order:
|
Ok, those are merged and I also merged |
I just merged the PR that adds the missing directives and the e2e tests we had in the block-interactivity-experiments repository. Those tests have been adapted to follow the same format used in Gutenberg. |
I created a small PR to improve security on the store serialization. It's ready for review. |
An update on the progress of these tasks, and other related Interactivity API improvements:
So this is almost ready to go. I think we can consider it completed as soon as David publishes his e2e PR, we merge the JSDocs one, and Weston's After that, we'll think about the next milestones and we'll publish a new Tracking Issue. |
@DAreRodz opened a draft PR for the last task, add missing e2e tests: |
An update on the progress of these tasks, and other related Interactivity API improvements:
Apart from that, @juanmaguitar opened a new Docs Tracking Issue to coordinate the documentation efforts, so I won't report documentation updates here anymore. Please subscribe to that Tracking Issue to keep track of that progress. |
Everything here is finished, including: I've opened a new Tracking Issue with a new set of improvements to the Interactivity API. Please, subscribe to the new one if you want to keep updated! |
In Expose the minimal Interactivity API in a public package, we exposed publicly the private and minimal version of the Interactivity API that we were using to test the Core blocks.
This new list of tasks is aimed to complete the Interactivity API publicly testable version, so it's the same full version as the one used in the block interactivity experiments repository (but without client-side navigation yet, which we'll add in a second phase).
Please, refer to the new Docs Tracking Issue to keep track of the documentation efforts.
Tasks
body
,init
andon
directives #52952wp_store
function: Interactivity API: addwp_store
#51191defer
again to all the interactive blocks (and runtime): Use defer loading strategy for frontend view scripts #52536Discarded
Addwp-html
(decide final name and research security issues).The text was updated successfully, but these errors were encountered: