Skip to content

Interactivity API: mention client-side-navigation scaffold variant in getting-started guide#76543

Merged
luisherranz merged 2 commits intotrunkfrom
copilot/update-client-side-navigation-guide
Mar 27, 2026
Merged

Interactivity API: mention client-side-navigation scaffold variant in getting-started guide#76543
luisherranz merged 2 commits intotrunkfrom
copilot/update-client-side-navigation-guide

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 16, 2026

The "Getting started with the Interactivity Router" section only referenced the default @wordpress/create-block-interactive-template scaffold, omitting the client-side-navigation variant added in #76331 — leaving users without a purpose-built starting point for router work.

Changes

  • Promotes the client-side-navigation variant as the recommended entry point for new router projects, describing what it demonstrates (router regions, prev/next navigation, loading indicator, state-persistence stopwatch)
  • Retains the default variant as a secondary option for developers adding navigation manually
# Quickest start — fully wired client-side navigation out of the box
npx @wordpress/create-block@latest my-interactive-block \
  --template @wordpress/create-block-interactive-template \
  --variant client-side-navigation

# Default variant — add navigation yourself following the steps below
npx @wordpress/create-block@latest my-interactive-block \
  --template @wordpress/create-block-interactive-template

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…ted guide

Co-authored-by: luisherranz <3305402+luisherranz@users.noreply.github.com>
Copilot AI changed the title [WIP] [GUT-76331] Update client-side navigation guide with new variant docs(interactivity): mention client-side-navigation scaffold variant in getting-started guide Mar 16, 2026
Copilot AI requested a review from luisherranz March 16, 2026 16:34
Copy link
Copy Markdown
Member

@luisherranz luisherranz left a comment

Choose a reason for hiding this comment

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

LGTM!

@luisherranz luisherranz requested a review from DAreRodz March 16, 2026 17:06
@luisherranz luisherranz marked this pull request as ready for review March 16, 2026 17:06
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 16, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Unlinked Accounts

The following contributors have not linked their GitHub and WordPress.org accounts: @Copilot.

Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Unlinked contributors: Copilot.

Co-authored-by: luisherranz <luisherranz@git.wordpress.org>
Co-authored-by: juanmaguitar <juanmaguitar@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@github-actions
Copy link
Copy Markdown

Flaky tests detected in 1817248.
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/23154644135
📝 Reported issues:

@im3dabasia im3dabasia added [Package] Interactivity /packages/interactivity [Type] Enhancement A suggestion for improvement. [Type] Developer Documentation Documentation for developers and removed [Type] Enhancement A suggestion for improvement. labels Mar 17, 2026
@luisherranz luisherranz changed the title docs(interactivity): mention client-side-navigation scaffold variant in getting-started guide Interactivity API: mention client-side-navigation scaffold variant in getting-started guide Mar 27, 2026
@luisherranz luisherranz merged commit 2314a2d into trunk Mar 27, 2026
55 of 62 checks passed
@luisherranz luisherranz deleted the copilot/update-client-side-navigation-guide branch March 27, 2026 08:44
@github-actions github-actions bot added this to the Gutenberg 22.9 milestone Mar 27, 2026
adamsilverstein pushed a commit that referenced this pull request Mar 31, 2026
…in getting-started guide (#76543)

* Initial plan

* docs: mention client-side-navigation scaffold variant in getting started guide

Unlinked contributors: Copilot.

Co-authored-by: luisherranz <luisherranz@git.wordpress.org>
Co-authored-by: juanmaguitar <juanmaguitar@git.wordpress.org>
ObliviousHarmony pushed a commit that referenced this pull request Apr 1, 2026
…in getting-started guide (#76543)

* Initial plan

* docs: mention client-side-navigation scaffold variant in getting started guide

Unlinked contributors: Copilot.

Co-authored-by: luisherranz <luisherranz@git.wordpress.org>
Co-authored-by: juanmaguitar <juanmaguitar@git.wordpress.org>
adamsilverstein pushed a commit that referenced this pull request Apr 7, 2026
…in getting-started guide (#76543)

* Initial plan

* docs: mention client-side-navigation scaffold variant in getting started guide

Unlinked contributors: Copilot.

Co-authored-by: luisherranz <luisherranz@git.wordpress.org>
Co-authored-by: juanmaguitar <juanmaguitar@git.wordpress.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Interactivity /packages/interactivity [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants