Skip to content
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

Interactivity API iteration for WordPress 6.8 #67276

Open
3 of 40 tasks
luisherranz opened this issue Nov 25, 2024 · 7 comments
Open
3 of 40 tasks

Interactivity API iteration for WordPress 6.8 #67276

luisherranz opened this issue Nov 25, 2024 · 7 comments
Labels
[Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Iteration Scoped iteration of an effort from a tracking issue or overview issue ideally for a major release.

Comments

@luisherranz
Copy link
Member

luisherranz commented Nov 25, 2024


In WordPress 6.7, work focused on important improvements to enhance the stability and simplicity of the Interactivity API internals, the introduction of new APIs like getServerState/getServerContext and wp_interactivity_get_element, improvements to the types, and progress on the Gallery block lightbox and Query block’s Instant Search.

In WordPress 6.8, the primary focus will be on:

  1. Enhancing client-side navigation, advancing full page client-side navigation while addressing and improving the limitations of region-based client-side navigation.
  2. Finishing the lightbox of the Gallery Block and the Instant Search functionality for the Query and Search Blocks.

Work is also continuing to improve the documentation, tracked in the Interactivity API documentation's Tracking Issue.


This is the list of initial tasks, although we will edit this post as we progress and discover other things that we need to do.

Client-side navigation (priority)

General enhancements

Core blocks (priority)

Core blocks (optional)

Bug fixes

Optional

@luisherranz luisherranz added [Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Iteration Scoped iteration of an effort from a tracking issue or overview issue ideally for a major release. labels Nov 25, 2024
@sethrubenstein
Copy link
Contributor

Just an update that when we saw work on #63689 stop we decided to pick up what was there and continue development of a new core/tabs block. Hopefully (scheduling permitted) I should be able to open up an early PR for review next week. That and #61297 we're creating for a project we have launching Feb, hoping we can align on those two new iAPI powered blocks for WP 6.8 release.

@luisherranz
Copy link
Member Author

Wonderful, thanks Seth! 👏

I've added the Dialog block to the list 🙂

@sirreal
Copy link
Member

sirreal commented Nov 27, 2024

WordPress/wordpress-develop#7751 (.length support on server-processed directives) is ready for review.

@annezazu
Copy link
Contributor

annezazu commented Dec 6, 2024

Just a note of appreciation for proactively opening this and continuing to track work so clearly. Thank you ❤

@sirreal
Copy link
Member

sirreal commented Dec 10, 2024

each directives can and should be more resilient to values that don't have .map, especially null or undefined. Broader support for any iterable can be added at the same time: #67798

@DAreRodz
Copy link
Contributor

I have just opened a PR to solve the problems with style sheets. It's currently a draft. I'm working on adding e2e tests to ensure everything works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Interactivity API API to add frontend interactivity to blocks. [Type] Iteration Scoped iteration of an effort from a tracking issue or overview issue ideally for a major release.
Projects
None yet
Development

No branches or pull requests

6 participants