Jonathan Lane
d5c901e3b7
Update Playwright to 1.46.1 ( #50772 )
2024-08-20 10:40:46 +03:00
Adrian Moldovan
d7909ecb3c
[e2e tests] Add BuildKite reporter to Blocks e2e tests ( #50642 )
2024-08-15 13:48:44 +01:00
Corey McKrill
d569c419b2
wp-env: Update package dependency + add mysqlPort ( #50568 )
...
* wp-env: Update package dependency + add mysqlPort
Starting in v10.1.0, wp-env can take a `mysqlPort` property in both
`env.development` and `env.tests` objects, which allows you to specify
the database connection port. This port is otherwise randomly assigned
every time you start up the containers. This allows for having a more
consistent development environment.
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* Further update to pnpm lock file
2024-08-12 12:56:49 -07:00
Paul Sealock
bcdff6d134
[Beta Tester] Fix build:zip script to make sure dependencies are built first ( #50508 )
2024-08-09 20:43:26 +12:00
Chi-Hsuan Huang
450a4ce3bb
Add remote logging tool to beta tester ( #50425 )
...
* Add remote logging beta tester tool
* chore: Update log method return type to Promise<boolean>
* Update pnpm-lock.yaml
* Reformat
* Check window.wcSettings?.isRemoteLoggingEnabled
* Add changelogs
* Fix test
* Update toggle_remote_logging
* Fix toggle_remote_logging
* Improve message
* Fix lint
2024-08-08 11:12:51 +08:00
Bart Kalisz
1da62a3fb5
Core: Update @wordpress/e2e-test-utils-playwright to wp-6.6 ( #50274 )
...
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
2024-08-06 19:51:11 +03:00
Ames Plant
dbc3056845
[WIP][Accessibility] Add field for the email footer text color ( #49648 )
...
Co-authored-by: amesplant <95257231+amesplant-dmv@users.noreply.github.com>
Co-authored-by: Niels Lange <info@nielslange.de>
Co-authored-by: github-actions <github-actions@github.com>
2024-08-02 16:14:21 +01:00
Chi-Hsuan Huang
e8dacef7a6
Track frequency of unhandled JS errors with MC Stats ( #50155 )
...
* Add bumpStat and fix tests
* Add changelog
* chore: Update dependencies and add @woocommerce/tracks for remote logging
* feat: Track frequency of unhandled JS errors with bumpStat
* chore: Update error boundary to log unhandled JS errors with bumpStat
* Add changelog
* Fix lint
* Check if tracks is enabled before bumping stats
* Fix test
* Fix lint
* chore: Refactor buildQuerystring to buildQueryParams for clarity and consistency
* Add bumpStat to wc tracks mock
2024-08-02 03:04:31 +00:00
Chi-Hsuan Huang
ed81aa8201
Integrate JS remote logging package in WooCommerce Admin ( #50134 )
...
* Update remote logger to check dev env and whether logging is enabled
* Add changelog
* Integrate JS remote logging package in WooCommerce Admin
* Add changelog
* Update remote logger package
* Update test
* Log error in error boundary
* Update remote logger
* Fix webpack config
* Update log stack format
* Update handleError
* Add init debug
2024-08-02 10:25:39 +08:00
Chi-Hsuan Huang
76e1761cf7
Add JS remote logging package ( #49702 )
...
* Add remote logging package
* Update package.json
* Fix wca admin
* Add changefile(s) from automation for the following project(s): @woocommerce/remote-logging, @woocommerce/dependency-extraction-webpack-plugin, woocommerce
* Update .eslintrc.js
* Revert core changes
* Add tracks check and update tests
* Set hard limit to trace
* Fix filename
* Add filters to customise API endpoints
* Update REDAME.md
- Add filters
- Remove installation section
* Update REDAME.md
* Add composer.lock
* Fix filename
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-08-01 12:35:43 +08:00
Vladimir Reznichenko
474b7624d0
Monorepo: rework deps patching in favour of built-in pnpm functionality ( #49892 )
...
* Monorepo: added pach.
* Monorepo: added patch.
* Monorepo: added patch.
* Monorepo: added patch.
* Monorepo: added patch.
* Monorepo: cleanup.
* Monorepo: cleanup.
* Monorepo: changelog entry.
2024-07-24 08:38:32 -07:00
Ron Rennick
6d99ed6a1d
bump wp-env to 9.7.0, include blocks in syncpack ( #49310 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
2024-07-17 10:31:02 +03:00
Mike Jolley
77428b973d
Checkout: Add password strength meter to new field ( #49164 )
...
* Add validation message and fix rendering when account is required
* Adjust validation so we can change the label in messages with custom callback
* Add and style password meter
* Add validation feedback and zxcvbn support
* changelog
* Accessibility fixes
* Update lock file
* Fix initial state in safari
* Announce strength as you type
* Use React.ReactElement
* update lock file
* Update lock
* Downgrade local pnpm and recreate lock
* Feedback should only be shown when `showError` is true, not `hasError`
* Feedback should default to null
2024-07-15 16:22:42 +01:00
Sam Seay
e59decd222
Clean up unused files and dependencies from when WooCommerce Blocks was merged into the monorepo ( #49319 )
2024-07-12 16:40:07 +12:00
Vladimir Reznichenko
4311640de2
Monorepo: caching deps per target package in GH actions ( #49020 )
...
In this PR, we are implementing per-package build and caching, which optimizes build and fetching cached dependencies times across our workflows.
2024-07-10 14:39:49 +02:00
Jonathan Lane
07c9d2b7b1
Update Playwright to 1.45.1 ( #49202 )
...
* Update Playwright to 1.45.1
* Update lockfile
* Add changelog
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-07-08 15:22:13 -03:00
Adrian Moldovan
7b0f9457cf
[e2e tests] Add Allure reporter to Blocks e2e tests ( #49228 )
2024-07-08 15:02:31 +03:00
Nathan Silveira
96739fd6fd
Allow returning to input on selectTree when pressing escape ( #49106 )
...
* Allow returning to input on selectTree when pressing escape
* Call onEscape in single mode as well
* Close the menu on escape
* Extract handleEscapePress function
2024-07-04 14:00:32 +00:00
Adrian Moldovan
36c28b6ad2
Move buildkite-test-collector to devDependencies ( #49051 )
2024-07-03 11:31:40 +03:00
Albert Juhé Lluveras
ff8b7c00ca
Update WC blocks e2e tests to WordPress 6.6 ( #48436 )
...
* Update WC blocks e2e tests to WordPress 6.6
* Add changelog file
* Small change
* Update @wordpress/e2e-test-utils-playwright package
* Fix admin.visitSiteEditor and editor.saveSiteEditorEntities
* Update pnpm-lock.yaml
* Fix template-customization.block_theme.spec.ts
* Fix Cart, Checkout and Legacy Templates tests
* Fix tests in product-gallery.block_theme.spec.ts
* Fix tests in page-content-wrapper.block_theme.spec.ts
* Fix tests in template-customization.block_theme.spec.ts
* Fix Checkout and Local pickup tests
* Make closing the welcome popup conditional
* Use editor.canvas instead of custom locator
* Remove closing the welcome popup conditional
* Update plugins/woocommerce-blocks/tests/e2e/tests/templates/template-customization.block_theme.spec.ts
Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>
* Update to WP 6.6 beta 3
* Update plugins/woocommerce-blocks/tests/e2e/tests/templates/template-customization.block_theme.spec.ts
Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>
---------
Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>
2024-06-19 18:31:43 +02:00
Chi-Hsuan Huang
54321a5a60
Add generic error boundary component ( #48363 )
...
* Fix storybook
* Add experimental error boundary component
* Add error boundary component
* Fix empty content button
* Add changelog
* Fix storybook
* Reset state after actioned
* Fix story
* Address feedback
2024-06-13 05:05:28 +00:00
Adrian Moldovan
bc34fce4e9
Update @wordpress/env to 9.7.0 in blocks library ( #48443 )
2024-06-12 17:34:44 +00:00
Jonathan Lane
e5e51a41b8
Update Playwright to 1.44.1 from 1.41.1 ( #48291 )
...
Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Bart Kalisz <bartlomiej.kalisz@gmail.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
2024-06-11 21:52:48 +03:00
RJ
52e2e9f864
dev: core profiler xstate v5 migration ( #48135 )
...
* updated core profiler to xstate v5
2024-06-07 15:06:40 +08:00
Patricia Hillebrandt
5dd7713346
[Performance]: Replace `classnames` usage with `clsx` ( #47760 )
...
* Replace classnames with clsx within woocommerce-blocks.
* Undo unnecessary change to getClassnames const.
* Replace classnames with clsx within woocommerce-admin.
* Add changelog.
* Update the pnpm lock file
* Address lint.
* Address lint errors for the block-library.
2024-05-31 05:49:36 +02:00
Patricia Hillebrandt
1d593e3d89
Update pnpm lock file with react 18 ( #47993 )
...
* Update the pnpm lock file
* add changelog
2024-05-30 13:24:39 +02:00
Sam Seay
5080008e1d
Update the lock file on trunk ( #47990 )
2024-05-30 09:46:59 +00:00
Jonathan Lane
2f4c9ecf57
Update pnpm lock file with react 18 ( #47973 )
...
* Update pnpm-lock file with new react
* Changelog
---------
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-05-29 17:03:48 -03:00
Justin Palmer
8541afa418
Add filter to apply Base64 encoding to order attribution cookies ( #47597 )
...
* Add filter to set Sourcebuster JS base64 configuration value
* Use Sourcebuster v1.2.0
* Changelog
* Reduce line length for linter
2024-05-21 01:56:14 +02:00
Karol Manijak
96d951930c
Sync package.json and pnpm-lock.yaml ( #47575 )
...
* Add changes added automatically by install/postinstall
* Add changelog
2024-05-17 15:44:58 +02:00
Damián Suárez
ff4422aff9
Product Block Editor: improve the process when creating a new attribute ( #47518 )
...
* introduce onAddNew() combobox property
* use onAddNew prop to handle adding new attributes
* changelog
* update packs after mergining with trunk
* move changelog file location
* remove unneeded change
2024-05-16 10:54:21 +01:00
Sam Seay
fcc421d550
Update cart/checkout usage of the @wordpress/components Slot Fill ( #47105 )
2024-05-16 21:46:24 +12:00
Sam Seay
3ef7a01840
Update blocks JS tests to React 18 ( #47383 )
2024-05-15 21:33:36 +12:00
Ron Rennick
00c6293728
update pnpm lock ( #47423 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-05-13 17:40:52 +00:00
Sam Seay
2db29164f9
Update to pnpm 9.1 ( #47385 )
...
* Update to pnpm 9.1 and fix a mini css bug
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/product-editor, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/ai, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* temporarily disable swallowing build output to diagnose issue with perf workflow
* Ignore some type issues that commonly resurface when deps slightly change
* Fix persistent type issues that have recurred many times
* Add more ignores
* Fix lint issue
* Revert change to swallow build error
* Improve access of the config that needs updated build dir.
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-05-13 10:57:39 -03:00
Jonathan Lane
396c29d3ec
Install and set up BuildKite test analytics ( #47202 )
...
Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
2024-05-10 11:47:23 +03:00
Chi-Hsuan Huang
f2cf6b56aa
Update @automattic/tour-kit to 1.1.3 and @automattic/components to 2.1.1 ( #47129 )
...
* Use @automattic/tour-kit@1.1.3
* Update onPreviousStep and onNextStep callback
* Add changelog
* Add changelog
* Update @automattic/components
* Update package.json
* Fix pnpm-lock.yaml
* Update changelog
* Add changelog
* Enable autoScroll for shipping tour
2024-05-09 08:56:08 +08:00
Sam Seay
3a5721c0d8
Replace @wordpress/components Button, Radio, RadioGroup with Ariakit Button ( #45974 )
2024-05-03 15:28:39 +12:00
Sam Seay
75b7775e1b
Update Webpack in blocks to latest version ( #46711 )
2024-04-29 15:50:47 +12:00
dependabot[bot]
f9a7ff04f0
Bump fast-xml-parser from 4.2.4 to 4.2.5 ( #41982 )
...
* Bump fast-xml-parser from 4.2.4 to 4.2.5
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser ) from 4.2.4 to 4.2.5.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases )
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.2.4...v4.2.5 )
---
updated-dependencies:
- dependency-name: fast-xml-parser
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add changelog
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-26 15:25:30 -07:00
dependabot[bot]
3d8e20c62c
Bump octokit from 2.1.0 to 3.1.2 ( #42891 )
...
* Bump octokit from 2.1.0 to 3.1.2
Bumps [octokit](https://github.com/octokit/octokit.js ) from 2.1.0 to 3.1.2.
- [Release notes](https://github.com/octokit/octokit.js/releases )
- [Commits](https://github.com/octokit/octokit.js/compare/v2.1.0...v3.1.2 )
---
updated-dependencies:
- dependency-name: octokit
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
* Rename env variable
* Add changelog
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2024-04-26 10:52:25 -03:00
Bart Kalisz
5f7cc39330
Block E2E: Eliminate side effects through improved test isolation ( #46125 )
2024-04-26 11:39:11 +02:00
Ron Rennick
d69a36b1d5
Remove follow-redirects from dev dependencies ( #46503 )
...
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2024-04-15 12:00:02 +01:00
Ron Rennick
4fa2e3822c
Update the monorepo to node v20 ( #45148 )
...
* test bumping node to v18
* remove community contributor condition from review assignment
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* bump node to v20
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, packages/php/remote-specs-validation, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/extend-cart-checkout-block, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/create-woo-extension, @woocommerce/create-product-editor-block, @woocommerce/components, @woocommerce/api, @woocommerce/admin-e2e-tests, woocommerce-blocks, woocommerce-beta-tester, woocommerce, woo-ai
* add blocks eslint-plugin-woocommerce to project workspace
* add e2e-environment as a peer to e2e-utils
* restore version on @woocommerce/api
* update lock file
* move e2e-environment to devDependencies
* add undefined location check to admin js test
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-12 13:49:55 -03:00
Ron Rennick
c6048b5c49
Add glob, rimraf, and uuid to Syncpack ( #46278 )
...
* add uuid to syncpack
* add rimraf to syncpack
* add glob to syncpack
* Add changefile(s) from automation for the following project(s): @woocommerce/tracks, @woocommerce/product-editor, @woocommerce/onboarding, @woocommerce/number, @woocommerce/notices, @woocommerce/navigation, @woocommerce/internal-js-tests, @woocommerce/integrate-plugin, @woocommerce/expression-evaluation, @woocommerce/explat, @woocommerce/experimental, @woocommerce/eslint-plugin, @woocommerce/dependency-extraction-webpack-plugin, @woocommerce/date, @woocommerce/data, @woocommerce/customer-effort-score, @woocommerce/currency, @woocommerce/csv-export, @woocommerce/components, @woocommerce/block-templates, @woocommerce/ai, @woocommerce/admin-layout, @woocommerce/admin-e2e-tests, woocommerce
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-11 12:52:49 -03:00
Alexandre Lara
87f31f8ed0
Bump eslint-import-resolver-typescript from 3.2.4 to 3.6.1 ( #45910 )
...
* Bump eslint-import-resolver-typescript from 3.2.4 to 3.6.1
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-04-10 13:54:12 -03:00
Alexandre Lara
060befe8e8
Bump dataloader from 2.1.0 to 2.2.2 ( #45906 )
...
* Bump dataloader from 2.1.0 to 2.2.2
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
2024-04-10 12:14:04 -03:00
Sam Seay
f9c4b284ce
Remove the base tabs component from blocks. It is no longer used. ( #46219 )
2024-04-06 15:03:07 +13:00
Ilyas Foo
7e7be4f9d0
Add launch your store success screen ( #46103 )
...
* Initial commit with LYS components
* Update CustomerFeedbackSimple component to support emoji value props
* Add confetti package in woocommerce components
* Add confetti usage
* Remove unnecessary files
* Update pnpm lock
* Changelogs
* Lint and temporarily comment out tests
* Lint css and rename image
* Various fixes
* Rename transitional to congrats
* Add copy link functionaility from Moon's code and move whatsnext component
* Rename components
* Move and renames
* Fix ref type
* Add temporary dynamic actions
* Remove confetti background
* Add header
* Update xstate actions for launch success page
* Add temporary spinner
* Combine congrats data fetching to a single action and service
* Add functioning dynamic actions list
* Temporarily remove test
* Cleanups
* More cleanups
* Small lint
* add url listener for content param
* Update comment on confetti package
* Remove lodash and replace with reduce
* Fix Woo Express condition
---------
Co-authored-by: rjchow <me@rjchow.com>
2024-04-05 10:44:57 +08:00
Ron Rennick
bfb376abea
Sync stylelint, classnames, wp-prettier, sass-loader versions ( #45597 )
...
* bump husky, remove remnants from blocks
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* add @playwright/test to syncpack
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* update pnpm-lock.yaml
* add github-label-sync to syncpack
* add stylelint to syncpack
* add classnames to syncpack
* manually sync wp-prettier
* sync sass-loader version
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
2024-04-04 09:48:54 -07:00