Skip to content

Interactivity API: Backport of WooCommerce's Interactivity API improvements #70372

Closed

Description

@luisherranz

This issue tracks the progress of backporting some improvements @DAreRodz and I made to the Interactivity API version included in WooCommerce.

Activity

  1. added
    [Type] Tracking Issue
    [Feature] Interactivity API
    on Jun 10, 2025
  2. DAreRodz commented on Jun 13, 2025

    @DAreRodz
    Contributor

    Hi folks! 👋 This is an update on the status of the back-porting efforts.

    The main changes to the iAPI router are included in this PR:

    It includes a whole revamp of the client-side navigation logic, supporting new style sheets and script modules on newly visited pages. The PR required some changes to the PHP code, including a Gutenberg experiment similar to the one that existed previously, to enable experimental full-page client-side navigation.

    This PR is ready for review. Some unrelated e2e tests are consistently failing, though, and need to be checked.

    These PRs have also been ported:

    They were constructed on top of the previously mentioned #70353, so it is better to wait for that one to be merged first. They are also ready for review.

    Lastly, here is a bug fix draft for a recently discovered bug in the data-wp-each directive:

    The code is mostly ready, but I want to verify first that all possible cases are covered and the solution is robust enough. That's why that PR is still a draft.

  3. DAreRodz commented on Jun 13, 2025

    @DAreRodz
    Contributor

    Forgot to mention this PR from @SantosGuillamot, which solves some issues in the Image block that arose with the new client-side navigation implementation:

  4. fabiankaegy commented on Jun 16, 2025

    @fabiankaegy
    Member

    I would love to see a post somewhere either on the make core or the developer blog about all the cool new enhancements that are currently getting brought back onto core here :) really exciting stuff you all ❤️

  5. luisherranz commented on Jun 18, 2025

    @luisherranz
    MemberAuthor

    Ok, all the fixes and improvements we made to the Interactivity API included in WooCommerce have been backported and should be available in the next version of Gutenberg, 21.1.

    We still need to look into how to fix this initialization problem, but since we're not sure about the solution yet, we'll leave it for later and can close this tracking issue as completed.

    As always, awesome work @DAreRodz, and also thanks to @SantosGuillamot for helping with the image fixes! 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Interactivity API[Type] Tracking Issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions