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

Sync canary -> main #1563

Merged
merged 20 commits into from
Sep 13, 2023
Merged

Sync canary -> main #1563

merged 20 commits into from
Sep 13, 2023

Conversation

blakewilson
Copy link
Contributor

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

Related Issue(s):

Testing

Screenshots

Documentation Changes

Dependant PRs

blakewilson and others added 13 commits August 24, 2023 15:25
…es is enabled (#1548)

* Disable `createHttpLink` `useGETForQueries` option if persisted queries is enabled

* Testing commit

* Revert "Testing commit"

This reverts commit 2e1f9d4.

* Add changeset
* WIP: Setup auth client with server actions

* Remove temp server action

* Add login button

* Set auth in place

* Restructure src dir

* Clean example project

* Fix linting issues

* Add to env var

* Set refresh token cookie
* Create `getAuthClient` changeset

* Create `faustRouteHandler` changeset
* * If code is not present in token handler pass `undefined` to the authorize endpoint
* `tokenHandler` tests
* `faustRouteHandler` tests

* `fetchAccessToken` tests
Updated release-packages workflow to automatically deploy the WP plugin
* Feat: InspectorFields component

* Feat: getControlFields()

* Refactor: Fix getControlFields find call.

* Lint: Eslint fixes

* Test: Add Unit tests for InspectorFields.

Co-authored-by: Teresa Gobble <[email protected]>

* Refactor: (tests) Cleaning up InspectorFields.test

* Update InspectorFields.tsx

* CI/CD: Fix audit vulnerability.

---------

Co-authored-by: Teresa Gobble <[email protected]>
* added onLogout function to the server actions for App Router Experimental
…wing a post (#1556)

* Added preview typeName query to edit functionality

Co-authored-by: Joe Fusco <[email protected]>
Co-authored-by: Blake Wilson <[email protected]>

* Fixed TypeScript error

* Create funny-starfishes-melt.md

* Update postID and postType to accept edge case of undefined

Co-authored-by: Blake Wilson <[email protected]>

* Fixed moderate severity vulnerability in css-tools

* Revert test for failing E2E toolbar.test.tsx

* Revert "Revert test for failing E2E toolbar.test.tsx"

This reverts commit d8e86df.

* Update .changeset/funny-starfishes-melt.md

Co-authored-by: John Parris <[email protected]>

* Test implementation of mocked useRouter call

* Added mocked useRouter call to additional tests

* Added databaseId to failing tests

* Added regression testing for edit button in preview

* Added databaseId to test

* Reordered tests to fix test package check on GitHub

* Merged updated package-lock.json

---------

Co-authored-by: Joe Fusco <[email protected]>
Co-authored-by: Blake Wilson <[email protected]>
Co-authored-by: Blake Wilson <[email protected]>
Co-authored-by: John Parris <[email protected]>
* Feat: (editor-utils) EditorForm component.

* Refactor: Removed unused code in Edit.tsx

* Testing: Add unit tests.
* Add custom toolbar example

Signed-off-by: Joe Fusco <[email protected]>

* Add newline at EOF

Signed-off-by: Joe Fusco <[email protected]>

* Remove top-level links for dropdown example

Signed-off-by: Joe Fusco <[email protected]>

* Update lockfile

Signed-off-by: Joe Fusco <[email protected]>

* Update lockfile

Signed-off-by: Joe Fusco <[email protected]>

* Linting fixes

Signed-off-by: Joe Fusco <[email protected]>

* Remove uncessary deps

Signed-off-by: Joe Fusco <[email protected]>

* Remove unused deps

Signed-off-by: Joe Fusco <[email protected]>

* Rename plugin

Signed-off-by: Joe Fusco <[email protected]>

* Use appropriate versions

Signed-off-by: Joe Fusco <[email protected]>

* Rename

Signed-off-by: Joe Fusco <[email protected]>

* Add changeset

Signed-off-by: Joe Fusco <[email protected]>

* Temp remove custom toolbar example

Signed-off-by: Joe Fusco <[email protected]>

* Remove unused prop

Signed-off-by: Joe Fusco <[email protected]>

* Remove custom toolbar example

Signed-off-by: Joe Fusco <[email protected]>

* Fix linting issues

Signed-off-by: Joe Fusco <[email protected]>

* Fix accessibility linting issue

Signed-off-by: Joe Fusco <[email protected]>

* Add exception due to wpadminbar styles

Signed-off-by: Joe Fusco <[email protected]>

* Update changelog entry

Signed-off-by: Joe Fusco <[email protected]>

* Clean up

Signed-off-by: Joe Fusco <[email protected]>

* Space should not open the menu to match WP core

Signed-off-by: Joe Fusco <[email protected]>

* Update changeset

Signed-off-by: Joe Fusco <[email protected]>

---------

Signed-off-by: Joe Fusco <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@blakewilson blakewilson requested a review from a team as a code owner September 6, 2023 15:04
@changeset-bot
Copy link

changeset-bot bot commented Sep 6, 2023

🦋 Changeset detected

Latest commit: deb5767

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@faustwp/block-editor-utils Patch
@faustwp/experimental-app-router Patch
@faustwp/cli Patch

Not sure what this means? Click here to learn what changesets are.

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

@headless-platform-by-wp-engine

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
faustjs preview-env-canary https://hw…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

josephfusco
josephfusco previously approved these changes Sep 6, 2023
@headless-platform-by-wp-engine

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
faustjs preview-env-canary https://hw…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

* Feat: (editor-utils) EditorForm component.

* Refactor: Removed unused code in Edit.tsx

* Testing: Add unit tests.

* Feat:(editor-utils) Text Control.

* Chore: Changeset

* Style: Border set in EditorForm only.

* Tests:(block-editor-utils) Update snapshots.
@headless-platform-by-wp-engine

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
faustjs preview-env-canary https://hw…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

…#1566)

* Added Color.tsx and index reference

* Reconfigured label, removed ColorIndicator in colorControl component

* Added margin between label and colorPicker

* Added changeset

* Delete Color.test.tsx

---------

Co-authored-by: theodesp <[email protected]>
@headless-platform-by-wp-engine

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
faustjs preview-env-canary https://hw…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

* Feat: (editor-utils) NumberField component.
@headless-platform-by-wp-engine

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
faustjs preview-env-canary https://hw…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

* Fix regression in exit codes

* Fix package-lock.json

* Add tests

* Add changeset

* Clear all mocks after each test
@headless-platform-by-wp-engine

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
faustjs preview-env-canary https://hw…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

* Added RadioControl to editor blocks utilities
@headless-platform-by-wp-engine

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
faustjs preview-env-canary https://hw…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

* Added SelectControl for editor block utiities
@headless-platform-by-wp-engine

Check out the recent updates to your Atlas preview environment:

App Environment URL Build
faustjs preview-env-canary https://hw…wered.com ✅ (logs)

Learn more about preview environments in our documentation.

@blakewilson blakewilson merged commit 3b02ac7 into main Sep 13, 2023
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.

6 participants