Skip to content

Interactivity API: new store() API docs - #56764

Merged
DAreRodz merged 9 commits into
trunkfrom
interactivity-api-new-store-api-docs
Dec 5, 2023
Merged

DAreRodz merged 9 commits into
trunkfrom
interactivity-api-new-store-api-docs

Conversation

@luisherranz

Copy link
Copy Markdown
Member

What?

Update the Interactivity API docs to accommodate the changes introduced in:

Fixes #56640

Tracking Issues:

Why?

Because we merged that PR without a documentation update.

How?

By working on the API reference document.

I did this pretty fast, so I've probably missed some things. It needs a thorough review.

@luisherranz luisherranz added [Type] Developer Documentation Documentation for developers [Feature] Interactivity API API to add frontend interactivity to blocks. labels Dec 4, 2023
@github-actions

github-actions Bot commented Dec 5, 2023 •

Copy link
Copy Markdown

Flaky tests detected in a60bd69.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7103564045
📝 Reported issues:

@SantosGuillamot SantosGuillamot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We made some changes and this looks great to me 🙂

@DAreRodz
DAreRodz marked this pull request as ready for review December 5, 2023 16:49
@DAreRodz
DAreRodz self-requested a review as a code owner December 5, 2023 16:49
@cbravobernal cbravobernal added the Backport to Gutenberg RC Pull request that needs to be backported to a Gutenberg release candidate (RC) label Dec 5, 2023
@cbravobernal cbravobernal added this to the Gutenberg 17.2 milestone Dec 5, 2023
@cbravobernal

Copy link
Copy Markdown
Contributor

@vcanales can we include this PR into 17.2?

Thanks in advance!

@DAreRodz
DAreRodz merged commit 62b933e into trunk Dec 5, 2023
@DAreRodz
DAreRodz deleted the interactivity-api-new-store-api-docs branch December 5, 2023 17:02
vcanales pushed a commit that referenced this pull request Dec 5, 2023
* New store() API docs

* Update interactivity API diagram

* Small fixes to the docs

* Update interactivity docs assets

* Update `data-wp-interactive` in getting started

* Add docs for private stores

* Slightly improve `wp-class` example

* Clarify `store()` returns the same references

* Mention how to read props from other ns

---------

Co-authored-by: Mario Santos <santosguillamot@gmail.com>
Co-authored-by: David Arenas <david.arenas@automattic.com>
@vcanales

vcanales commented Dec 5, 2023

Copy link
Copy Markdown
Member

Backported to 17.2 RC

@vcanales vcanales removed the Backport to Gutenberg RC Pull request that needs to be backported to a Gutenberg release candidate (RC) label Dec 5, 2023
cbravobernal pushed a commit that referenced this pull request Dec 7, 2023
* New store() API docs

* Update interactivity API diagram

* Small fixes to the docs

* Update interactivity docs assets

* Update `data-wp-interactive` in getting started

* Add docs for private stores

* Slightly improve `wp-class` example

* Clarify `store()` returns the same references

* Mention how to read props from other ns

---------

Co-authored-by: Mario Santos <santosguillamot@gmail.com>
Co-authored-by: David Arenas <david.arenas@automattic.com>
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] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Interactivity API - New store() API

6 participants