* Include a request to the PTK for the woocommerce site
* Parse _woo_* categories
* Add changefile(s) from automation for the following project(s): woocommerce
* Add changefile(s) from automation for the following project(s): woocommerce
* Continue the flow when fetching dotcom patterns fails
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Return 404 when using the REST API to access a non existing tax class for consistency with other endpoints
* Add changelog
* Update test
* Make JS linter happy
* add badge
* Add changefile(s) from automation for the following project(s): woocommerce
* no show 0
---------
Co-authored-by: github-actions <github-actions@github.com>
* fix toolbar position
* improve layout toolbar
* Add changefile(s) from automation for the following project(s): woocommerce
* fix import
* fix position during the scroll
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix e2e test for product filters overlay template part
* Add changelog
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* fix: match actual template part, not template part area
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
* CYS: fix crash of CYS on WordPress 6.6
* Add changefile(s) from automation for the following project(s): woocommerce
* CYS: fix crash of CYS on WordPress 6.6
---------
Co-authored-by: github-actions <github-actions@github.com>
* * Use run_attempt in the artifact name
* Remove the Allure report steps
* Test change to trigger tests
* Only run the publish report step if there is an artifact-id
* Only run the publish report step if there is an artifact-id
* Revert test changes
* Also condition the deprecated publish report step
* Revert "Add To Cart Form: Improve the default style and add the `Stepper` style (#47664)"
This reverts commit 0712c6037b.
* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Feat: add filter to toggle showing tooltips over Order statuses in dashboard
* Use status labels when hovering over Order status badge
* wip
* Add changelog
* Fix lint issues
* Reset indentation
* Reset indentation
---------
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Make the handpicked product filter in Product Collection usable for high product number stores
* Add changelog
* Include selected products in the search
* Limit the search result to 40 as 100 is unreadible anyway
* Replace fill with pressSequentially to better mimic users behaviour
* Apply two strategies for fetching products: small catalog up to 100 products and large catalog with refetching when typing
* Add comment explaining the logic
* Bring back the Loading placeholder
* Pass explicitly perPage 0 for a small catalog to fetch all the products
* Remove duplicate
* Add is-coming-soon-page endpoint
* Render invalid cache warning
* Use meta tag instead
* Add url for debug purpose
* Use a different copy for the congrats page when the cache is still shown
* Clean up unused codes
* Guard the api with permission
* Add changefile(s) from automation for the following project(s): woocommerce
* Reuse $is_fse_theme
* Lint fixes
* Update 48586-update-48516-detect-cache-when-launching-store
* Add changefile(s) from automation for the following project(s): woocommerce
* Add changefile(s) from automation for the following project(s): woocommerce
* Update plugins/woocommerce/changelog/48586-update-48516-detect-cache-when-launching-store
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
* Add changefile(s) from automation for the following project(s): woocommerce
* changed to js method
* Add changefile(s) from automation for the following project(s): @woocommerce/data, woocommerce
* empty commit to trigger CI
* Add changefile(s) from automation for the following project(s): @woocommerce/data, woocommerce
* empty commit to trigger CI
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: rjchow <me@rjchow.com>
* Check WC_Legacy_API instead of WC_API as that seems to be cached by lightspeed servers.
* Improve the detection of the legacy API:
1. Modify the autoloader so that it never loads the WC_API class.
This is needed bacause the legacy REST API plugin itself does a
"class_exists('WC_API')". The plugin itself will continue to load
its own copy of the class without issues.
2. Detect the WC_Legacy_REST_API_Plugin class in the legacy API stub.
This is a performant and bulletproof way to detect if the plugin
is isntalled.
* Rearrange code a bit
---------
Co-authored-by: Nestor Soriano <konamiman@konamiman.com>
* fix null strpos param
check whether $plugin_page is set prior to passing it to strpos
* Add changefile(s) from automation for the following project(s): woocommerce
* Update plugins/woocommerce/src/Internal/Admin/Orders/PageController.php
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
* Update PageController.php
fix eslint error
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Darren Ethier <darren@roughsmootheng.in>
* chore: Invalidate cache for SiteGround Speed Optimizer and WP Engine
The code changes in `ComingSoonCacheInvalidator.php` add cache invalidation for SiteGround Speed Optimizer and WP Engine. This ensures that the cache is cleared when necessary, improving the performance of the website.
* Add changelog
* Add a slash to ensure calls are made in global namespace
* Use sg_cachepress_purge_cache
* Update plugins/woocommerce/src/Internal/ComingSoon/ComingSoonCacheInvalidator.php
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Fix lint
* Update plugins/woocommerce/changelog/update-purge-cache-siteground-wpengine
---------
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
Co-authored-by: moon <moon.kyong@automattic.com>
* show terms optimistically
* define values as TokenItem array
* introduce TokenItem type
* add token animation when adding
* terms could be undefined
* remove unused action
* changelog
* minor doc enhancements
* rename consts
* simplify items selector
* clean the temporary items, one by one
* do not pass selectedTerms when adding a new one
* pull and update form terms when creating new ones
* fix typo
* do not export TokenItem type
* rename and tweak jsdoc
* skip E2E test
* Update issue template to use the new SSR feature for GitHub
* Update issue template to use the new SSR feature for GitHub
* Update .github/ISSUE_TEMPLATE/1-bug-report.yml
---------
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
* Optimize intro `professional-theme.svg` image
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Redacted sensitive info from SSR for GutHub
* Redacted database section
* lint fix
---------
Co-authored-by: Naman Malhotra <naman03malhotra@gmail.com>
* WIP
* CYS: Refactor routing approach
* fix type
* Add changefile(s) from automation for the following project(s): woocommerce
* remove focus logic
* remove routekey prop
* fix scroll after insert pattern
* pass onNavigateBackClick callback as prop
* fix scroll
* Add changefile(s) from automation for the following project(s): woocommerce
* fix back arrow click
* fix css
* fix tooltip position
* create dedicated CSS class
* lint css
* restore change
* improve css class name
* remove not necessary class
* add github link to the todo
* lint css
* add want more pattern section
* remove not used import
* CYS: set new default patterns
* Add changefile(s) from automation for the following project(s): woocommerce
* fix logic after merge trunk
* CYS: fix tooltip position
* Add changefile(s) from automation for the following project(s): woocommerce
* trigger CI
* CYS: add pattern category in the block toolbar
* remove not necessary import
* improve style
* Add changefile(s) from automation for the following project(s): woocommerce
* improve CSS
---------
Co-authored-by: github-actions <github-actions@github.com>
* WIP
* CYS: Refactor routing approach
* fix type
* Add changefile(s) from automation for the following project(s): woocommerce
* remove focus logic
* remove routekey prop
* fix scroll after insert pattern
* pass onNavigateBackClick callback as prop
* fix scroll
* Add changefile(s) from automation for the following project(s): woocommerce
* fix back arrow click
* fix css
* fix tooltip position
* create dedicated CSS class
* lint css
* restore change
* improve css class name
* remove not necessary class
* add github link to the todo
* lint css
* add want more pattern section
* remove not used import
* fix logic after merge trunk
* CYS: fix tooltip position
* Add changefile(s) from automation for the following project(s): woocommerce
* trigger CI
* improve logic
* use Optional Chaining
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add a note about connection to WooCommerce.com to readme
* Add link to the Privacy Policy
* Remove extra new lines
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Refactored get_pages() to reduce the amount of get_post() used, avoid unnecessary ifs, and fixed a bug where the classic shortcode block would trigger a false block usage value.
* Added block/shortcode usage to the system report for the Cart & Checkout pages. Also added a warning when a page contains both experiences.
* Added support info for templates out of sync not loading the page content.