* update: new simplified markup and style
* add: editor preview
* add: show 15 items initially
* fix: render li class for checked items
* chore: naming
* chore: changelog
* update: set some preview items checked for styling purpose
* fix: only show show more button when the list is long
* chore: lint
* fix: e2e tests
* CYS: disable zoom out on fonts iframe
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Reschedule jobs blocked by other delayed jobs
* Add changelog entry
* Comment next action time fallback
* Allow actions to be scheduled in the past
---------
Co-authored-by: Eason <eason.su.tw@gmail.com>
Create a new filter wc_lock_sku_query to allow third party to filter the SKU lock query.
Fixes#49660
* Create new filter wc_lock_sku_query.
* Bail early with filter prop @coreymckrill
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Moves the check for low/no stock to the point when a product's stock quantity is updated. This decouples the check from orders, since stock can also change in other contexts (such as updates via REST API).
Fixes#31664
* CYS: Fix autoscroll when a new block is added
* add E2E test
* Add changefile(s) from automation for the following project(s): woocommerce
* remove not necessary changes
* rename blockToScroll to insertedPattern
* add smooth scroll
---------
Co-authored-by: github-actions <github-actions@github.com>
* CYS: fix survey tracking
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Customer Account - Maintain the size of the icon in smaller screens
* Hide overflow text
* Update logo and buttons color
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix lint error
---------
Co-authored-by: github-actions <github-actions@github.com>
* fix: always return an object
* tweak: fallback to the default product attribute
* add: default product attribute pattern
* update: use default product attribute pattern in the template part
* chore: changelog
* tweak: escaping
* performance: add in memory cache
* chore: lint and use strtr for readability
* CYS - Move the ai/store-title endpoint to woocommerce admin api
* Add middleware and callback
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix lint error
* Use constant and normalize site title values
* Add base AI Endpoint class
* Fix lint error
* Extract the ai title option name
---------
Co-authored-by: github-actions <github-actions@github.com>
* Register remote log handler in WooCommerce class
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix lint
---------
Co-authored-by: github-actions <github-actions@github.com>
* Customer Account - Maintain the size of the icon in smaller screens
* Hide overflow text
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
Add ability for a screen reader to announce the current tab on a single product page.
Co-authored-by: amesplant <95257231+amesplant-dmv@users.noreply.github.com>
* Remove manual include PHP file since we have autoloading
* Delete transient on store country change
* Attach store country to data sources URLs
* Add WCPay default promotions
* Fallback to WCPay default promotions when marketplace suggestions are off
* Remove unused constant
* Replace deprecated uses
* Fix typos and off-brand docs
* Add changelog
* Lint fixes
* test: Update unit tests
* Cleanup
* Declare strict types
* Lint fixes
* Use default specs when remote ones are empty
* test: Update unit tests
* Lint fixes
* Lint fixes
* Remove needless condition
* Compatibility Layer: fix 'woocommerce_before_single_product_summary' hook position
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add tests for geolocation_ajax_get_location_hash
* Make geolocation_ajax_get_location_hash case-insensitive
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix changelog.
* Docblock.
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix changelog.
* Strict types is required.
* Set state before assertion
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
* Refactor to add steps in 'can create a simple product' test
* Remove unnecessary await
* Fill in shipping dimensions
* Add frontend verification step
* Get permalink from editor page
* Verify shipping dimensions
* Verify sku and gtin
* Fix label association for sku field
* Fill in shipping class
* Fill custom field
* Handle SKU auto-update before filling in SKU
* Changelog
* Changelog
* Add more specific locator for attributes "Add new" button
* Update comment for why click() is used instead of check() for toggle
* Fix incorrect selector for attributes "Add new" button
* Remove check for toggle being checked, as it is flaky
* Await isChecked()
* Scroll custom fields toggle into view if needed
* Make custom field toggling more reliable
* Break filling into a separate step
* Break filling and verifying of full description into separate steps
* Verify the description and fix verifying shipping details
* Make showing of description toolbar more reliable
* Suppress errant warning
* Suppress warning for conditional and add comment about why it is okay
* Remove unused const
In this PR we spin off usage of recently introduced packageManager-property across CI workflows and consolidate the version of pnpm/action-setup action we are using.
* Use Playwright's last info run
* Add changelog
* Fix workflow syntax
* Fix workflow syntax
* Try with continue-on-error
* Try with merge-multiple
* Try with pattern instead of name
* Print the run command
* Print the run command
* Use LAST_RUN_FLAG
* Update outputDir
* Update upload paths and parse the file content
* Don't try to download lat run info if the test type is not e2e
* Rename the downloaded file
* Rename the downloaded file
* Rename the downloaded file
* Full path to the downloaded file
* Check download path content
* Check download path content
* Check the last-run file in the right path
* Fail different tests on different run attempts
* Fix artifact name
* Force test failures
* Cleanup console logs
* Cleanup console logs
* Cleanup console logs
* Log if last run info exists but no tests are found
* Revert test changes