Commit Graph

62050 Commits

Author SHA1 Message Date
Jonathan Lane 8e2e7de7ce
Migrate Puppeteer test action from Blocks repo (#42733)
* Migrate Puppeteer test action from Blocks repo

* Update file path

* Use pnpm

* Use npm

* Updates based on feedback

* Comment out paths for testing

* Fix paths with working directory

* Use pnpm

* Fix missing pnpms

* npm instead

* Do use pnpm

* Update command

* Blocks wp-env config

* Update paths, config files

* Run test commands from blocks

* Config update

* Uncomment paths so that e2e checks only run on Blocks

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-12-13 16:01:34 -08:00
Christopher Allford d0d49b49f5
Fix Component Project Changelog Checking (#42794) 2023-12-13 15:41:11 -08:00
Paul Sealock a232c32c8e
Shipping Settings: Add busy animation to Continue button (#42688) 2023-12-14 12:26:21 +13:00
github-actions f908d9bec5 Add changefile(s) from automation for the following project(s): woocommerce 2023-12-13 22:28:37 +00:00
github-actions 2b6f10311f Add changefile(s) from automation for the following project(s): @woocommerce/create-product-editor-block, woocommerce-blocks, woocommerce 2023-12-13 22:26:53 +00:00
github-actions 4bb43d87b9 Add changefile(s) from automation for the following project(s): woocommerce 2023-12-14 11:26:18 +13:00
paul sealock abe2e7a322 Add busy animation to Continue button 2023-12-14 11:26:09 +13:00
paul sealock ba64a21f46 Add busy animation to Continue button 2023-12-14 11:23:33 +13:00
Christopher Allford 2fa8f357f8
Fixed Blocks' `wp-env` Configuration (#42798)
* Fixed Blocks' `wp-env` Configuration

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-12-13 13:07:15 -08:00
Christopher Allford e231be78f9
Fixed PHPUnit Tests Broken by Merge (#42731) 2023-12-13 12:38:59 -08:00
Jonathan Lane 97647b850e
Remove link to Blocks repo from issues reporting config (#42788)
Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-12-13 10:09:38 -08:00
Mike Jolley db9be95f5d
Allow built in payment method descriptions to contain HTML when rendered on the block checkout (#42706) 2023-12-13 15:49:29 +00:00
Christopher Allford 8cf2f54ab8
Migrated Blocks' PR Assignment Workflow (#42782) 2023-12-13 07:30:15 -08:00
Mike Jolley 6dfcbbd525 Blocks changelog 2023-12-13 15:24:18 +00:00
Mike Jolley b6e3e32d7c changelog 2023-12-13 14:37:21 +00:00
Mike Jolley 2abd0422a8 Allow HTML in built in payment method descriptions 2023-12-13 14:37:21 +00:00
Nathan Silveira 35a68e212c
Update template to use new function register_block_type_from_metadata (#42711) 2023-12-13 10:38:33 -03:00
Niels Lange 550cecf866
Display update quantity notice on classic cart (#42750) 2023-12-13 18:42:35 +07:00
Niels Lange 31c9eed519
Fix ESLint issue 2023-12-13 17:06:38 +07:00
Niels Lange 040038a339
Add changelog entry 2023-12-13 16:46:23 +07:00
Niels Lange ca73ac42b6
Display update quantity notice on classic cart 2023-12-13 16:44:16 +07:00
Christopher Allford be290984b9
`setup-woocommerce-monorepo` Action in Highlight Changes Workflow (#42740) 2023-12-12 21:33:52 -08:00
Christopher Allford ec9b7852f9
Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
Jonathan Lane dd255a2820
Update daily test workflows post Blocks-merge (#42716)
* Update action for API tests

* Changelog

* Update e2e tests

* Rename WooCommerce Payments to WooPayments

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-12-12 14:50:18 -08:00
nigeljamesstevenson 7e085b2fdc
Update stable tag to 8.4.0 (#42726) 2023-12-12 22:18:24 +00:00
nigeljamesstevenson c50c0f1488 woorelease: Update stable tag to 8.4.0 2023-12-12 22:16:13 +00:00
Ron Rennick d1498d45f2
update woo-gutenberg-products-block text domain to woocommerce in src folder (#42718)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-12-12 14:13:15 -08:00
Ron Rennick 60b445510d
update woo-gutenberg-products-block text domain to woocommerce in patterns and templates folders (#42720)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-12-12 14:13:03 -08:00
Ron Rennick 4fddface47
update text domain in plugins/woocommerce-blocks (#42717)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-12-12 14:12:36 -08:00
Ron Rennick a2812bdb59
remove PHP related scripts from blocks package.json (#42722)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-12-12 13:46:53 -08:00
Paul Sealock 5b393e78c6
Shipping Settings: Add a back button to method configuration screen (#41958) 2023-12-13 10:02:50 +13:00
Christopher Allford 4c4e89bc98
Enhance Build Watching (#42712)
Similarly to `build:project`, a new `watch:build:project`
script will watch individual projects for changes. The
`watch:build` script has been updated so that it does
a deep watch in the same vein as `build`. We have also
hooked up tool-level watching for faster performance.
2023-12-12 12:43:48 -08:00
Damián Suárez 0c8b1b2624
[Product Block Editor]: replace custom preview component with BlockPreview core (#42019) 2023-12-12 17:19:29 -03:00
Damián Suárez 8b9651276a Merge branch 'trunk' into update/product-editor-use-block-preview-in-description-block 2023-12-12 16:56:53 -03:00
Ron Rennick 76b4f39116
remove woocommerce-blocks from text domain substitution (#42017)
* remove woocommerce-blocks from text domain substitution

* restore prior art commented out

* add internal-js-tests composer.json

* covert internal-js-tests/changelog to a folder

* update blocks composer.json

* fix path, add composer install to changelog script

* add woo-ai changelog

* add composer install to beta tester changelog script

* add composer.json to woocommerce-admin

* add changelog folder & file to woocommerce-admin

* add composer install to woocommerce changelog script

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-12-12 15:38:20 -04:00
Christopher Allford 4e89debd0c
Fix Jest Preset (#42707)
When using a preset we need to keep in mind that the transformation
paths are relative to the preset, not the consuming package. We get
around this by using `<rootDir>` in the transform paths. However,
doing this means fixing the root directory for all of the jest tests.
This keeps the tests working in the same way but lets us fix the
preset too.
2023-12-12 09:58:13 -08:00
Jonathan Lane 7692fa5430
Fix flaky tests, failures from Blocks merge (#41815)
* Clean up created pages and posts

* Move tax tests so that they run last

* Improve locators

* Changelog

* Improve locators

* Improve locator on heading

* Change assertions to look for alert text

* Change assertion to look for text

* Update locators

* Update locator

* Update alternate elements

* Specify first order amount

* Update locator

* Changelog

* Increase reliability of checkout test

* Update a few locators

* Remove .slice()

* Add some console output to checkout test

* Make command palette tests Mac-compatible

* Added update for why download test flaky

* Improvements to checkout tax tests

* Add changelog

* Assert on range of prices

* Improve the regex for matching the price

* Changelog

* Clean up locator

* Unskip analytics tests

* Remove logging statements

* Update variations selector

* Remove comment

* Fix disable block tests

* Remove skipped legacy coupon page test

* Account for multiple products in test

* Cleaned up some console.logs

* Added specificity to locator

* Better price parsing

* Fix cart block shipping test

* Fix syntax error

* Update Playwright, fix logic error

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-12-12 07:56:56 -08:00
Damián Suárez fcb9b60ced Merge branch 'trunk' into update/product-editor-use-block-preview-in-description-block 2023-12-12 10:59:47 -03:00
Leif Singer 0a0351aa6a
Logging: Prevent fatal type error when submitting empty search (#41847) 2023-12-12 12:36:21 +01:00
Christopher Allford 1c635cda6f
Optimized `wireit` Fingerprinting File Inputs (#42684)
Having an explicit `"files"` definition will allow us to fingerprint
dependencies in `wireit` more granularly. This avoids problems
that can be caused by different source files and directories that
trigger a rebuild in a dependee before a dependent finishes.
2023-12-11 16:21:35 -08:00
Corey McKrill 44ab680fe1
Logging: Fix pagination and filtering on DB log list table (#41870)
Fixes some issues where pagination and filters were not persisting in the DB log list table view after running a bulk action. Also adds a way to customize the number of log entries shown per page.

Fixes #39359
2023-12-11 12:27:26 -08:00
Christopher Allford a4bbdffd31
Added Transfer Project Failure Detection (#42021) 2023-12-11 11:18:53 -08:00
Ron Rennick 7c2aff354b
add default manifest ignore (#41969) 2023-12-11 13:59:30 -04:00
Nathan Silveira 120a3dba87
Add meta_data type to Product (#41961) 2023-12-11 14:45:00 -03:00
Damián Suárez 5901533b4a move changelog file to proper location 2023-12-11 14:43:23 -03:00
Damián Suárez 61e8b26d20 changelog 2023-12-11 14:13:44 -03:00
Damián Suárez b7e4d06a42 set viewport width to 800px 2023-12-11 10:07:56 -03:00
Damián Suárez 871469de7e set 320px height when description has content 2023-12-11 10:06:44 -03:00
Damián Suárez f919a5526f tweak preview box padding 2023-12-11 10:06:44 -03:00
Damián Suárez 8b84134bff clean unused styles 2023-12-11 10:06:44 -03:00