* Add site_visibility_badge feature
* Update feature check on badge
Previously the WooCommerce Admin LYS feature flag was used, however this is slated to be removed in an upcoming release. This is updated to use the core level feature flag for the badge.
* Add changelog
* Fix lint issues
* Revert "Fix lint issues"
This reverts commit cf05d2b74f.
* Lint fixes
* lint
* Add missing classnames for WP blocks
* Add changefile(s) from automation for the following project(s): woocommerce
* Fix unwanted extra whitespace within class property
* Remove unnecessary whitespace in class attribute for the Product Image block
* Remove unnecessary whitespace in class attribute for the Product Rating block
* Remove unnecessary whitespace in class attribute for the Product Rating blocks
* Fix php lint errors
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
* Handle notice if displayed
* Make `Reply to comment` more unique, and wait for comment area to disappear
* Skip on WPCOM - error 404
* Fix copy/paste error
* Make area more unique
* Add changefile(s) from automation for the following project(s): woocommerce
* Expand WPCOM suite
---------
Co-authored-by: github-actions <github-actions@github.com>
* Return empty string from template_include filter instead of null
* Update phpdoc return tag
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Alba Rincón <albarin@users.noreply.github.com>
In this PR, we are re-iterating the job speedup and leveraging single wp-instance, incremental builds, and baseline reports caching. The original benchmarking tool is still available but bypassed as we evaluate results for this iteration approach.
In this PR we refine cleaning build artifacts to build-folders only and leverage wireit integration in GitHub actions for leveraging incremental build approach in the job and improving the job running time.
* Pass extra CSS classes to the block
* get className using wrapper method
* amends from CR
* remove not needed class
* Merge remote-tracking branch 'upstream/trunk' into fix/add-extra-css-classes-to-product-image
* add missing variables
* fix lint error
* add changelog
* remove not necessary code
* add extra_classses parameter
---------
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
* Force block to be inserted after account summary
* Clean up block hooks
* Changelog
* Escape strings in default content
* Init $notice to prevent PHP notice
* Add aria-label for page numbers within pagination
* Add changelog
* Fix innerText to camel case format
* Update plugins/woocommerce/src/Blocks/BlockTypes/ProductCollection.php
Co-authored-by: Darin Kotter <darin.kotter@gmail.com>
* Add screen reader text to the page numbers in the pagination partial
* Fix linting spacing errors
* Fix linting space remaining
* Bump template on pagination template
* Update plugins/woocommerce/templates/loop/pagination.php
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
* Add aria-label to pagination numbers
* Improve logic to get current page number
* Rename $r parameter to $html
* Fix post-increment php lint error
* Account for two dots elements to add aria-label to page link
---------
Co-authored-by: amesplant <95257231+amesplant-dmv@users.noreply.github.com>
Co-authored-by: Darin Kotter <darin.kotter@gmail.com>
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
Co-authored-by: Gabriel Manussakis <9420947+Manussakis@users.noreply.github.com>
Co-authored-by: Gabriel Manussakis <gabrielmanussakis@gmail.com>
* Remove underline from sale prices in WooCommerce block themes
* Add changefile(s) from automation for the following project(s): woocommerce
* Improve css properties
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add global_unique_id to Exporter
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* We are now using 16:9 images for themes in the in-app marketplace, so we need to change the image ratio.
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* In-App Marketplace: hide subscriptions for maxed out connections
If we don't add this check, subscriptions with no connection allowances,
still show up in the "Available to Use" table. This can be misleading.
* In-App Marketplace: Fix My Subscriptions table row statuses
When there are multiple subscriptions for a product, we can't manage the
state between "installed" and "available to use". This commit separates
some of the functionality between the tables in the My Subscriptions
page.
1) Don't show "not connected" badge on the "available to use" table
2) Don't show the "update" button on the "available to use" table
We can't test the number two, because I noticed we no longer send the
verison number in the WCCOM endpoint
* Add changefile(s) from automation for the following project(s): woocommerce
* Marketplace: remove unused useEffect
---------
Co-authored-by: github-actions <github-actions@github.com>
* Make themes util compatible with ext env and unskip relevant tests
* Add theme activation in test helper apis and update util
* Fix whitespace lint issue
* Make the util compatible with local and external envs
* Rename to activate theme
* Add theme name empty check
* Simplify theme util and update relevant tests
* Remove only from the test
* Add missing brackets to the shopper test
* Include error handling to see failure on CI
* Include themes installation in the test setup
* Revert and refact util helper
* Fix WooCommerce Blocks storybook
* Add blocks storybook to main storybook
* Add post build for iframe.html
* Only add WooCommerce Blocks when building storybook
* Use manager file again and add blocks build for storybook build
* Add changelog