Skip to content

Conversation

@ahuseyn
Copy link
Member

@ahuseyn ahuseyn commented Oct 21, 2025

Tasks

  • I have signed a Contributor License Agreement (CLA) with WP Engine.
  • If a code change, I have written testing instructions that the whole team & outside contributors can understand.
  • I have written and included a comprehensive changeset to properly document the changes I've made.

Description

This PR integrates HWP Toolbar into Faust kitchen-sink (nextjs) example. It uses existing template-hierarchy and auth packages, and draft-mode feature to provide the context to the toolbar.

Related Issue(s):

Testing

Screenshots

  • Link to Faust docs, wpadmin link and link to logged in user profile
Screenshot 2025-10-21 at 12 49 16
  • Exit preview button when Draft mode is on
Screenshot 2025-10-21 at 12 49 44
  • Edit post/page link, when visiting post/page
Screenshot 2025-10-21 at 12 49 19

Documentation Changes

Dependant PRs

@changeset-bot
Copy link

changeset-bot bot commented Oct 21, 2025

⚠️ No Changeset found

Latest commit: 81a807b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "@faustwp/core" specified in the `linked` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.
The package or glob expression "@faustwp/cli" specified in the `linked` option does not match any package in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.
The package or glob expression "@faustwp/getting-started-example" is specified in the `ignore` option but it is not found in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch.

@ahuseyn ahuseyn changed the base branch from canary to next October 21, 2025 10:52
@ahuseyn ahuseyn changed the base branch from next to next-auth-poc October 21, 2025 10:53
@ahuseyn ahuseyn marked this pull request as ready for review October 22, 2025 10:28
@ahuseyn ahuseyn requested a review from a team as a code owner October 22, 2025 10:28
@github-project-automation github-project-automation bot moved this to 🆕 Backlog in Headless OSS Oct 22, 2025
@ahuseyn ahuseyn removed this from Headless OSS Oct 22, 2025
@ahuseyn ahuseyn linked an issue Oct 22, 2025 that may be closed by this pull request
@ahuseyn ahuseyn merged commit 74f9ea9 into next-auth-poc Oct 22, 2025
@ahuseyn ahuseyn deleted the next-toolbar-integration branch October 22, 2025 14:01
ahuseyn added a commit that referenced this pull request Oct 22, 2025
* init preview example

* update gql client, add headers param

* update template-hierarchy, add id and asPreview

* add preview utility to @faustjs/nextjs package

* initial

* new templates

* add homepage

* style fixes

* update uri expression

* rename example name, add readme

* init project

* update templates, add data fetching

* remove logs, add comments, minor fixes

* add kitchen-sink example

* add seedNode to templateHierarchy

* add preview

* add preview to sveltekit templateHierarchy

* add auth package and example usage

* add alternative preview with auth package, add login page, client updates

* remove token handler

* Update examples/nextjs/kitchen-sink/src/components/Header.js

Co-authored-by: Copilot <[email protected]>

* todo updates

* Update packages/nextjs/package.json

Co-authored-by: Copilot <[email protected]>

* init: toolbar integration (#2202)

---------

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[next]: Integrate Toolbar into Kitchen Sink Example

2 participants