* Use the Hero Product Split pattern as the initial one for all templates.
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Create product variations filter component
* Add slug to the product and variation attributes
This is needed to be able to filter variations by specific attribute slugs
* Add support to filter variations by many attribute options
* Integrate attribute options filter in variations table
* Fix rebase conflicts
* Set initial filter values
* Improve intial filter values and cache invalidation
* Add changelog files
* Fix linter errors
* Fix unit tests
* Change the min amount of options to show the search input
* Fix invalid cache key generation for the datastore
* Fix unit tests
* Fix linter errors
* Fix js tests
* Add terms pagination for varition filters
* Load terms on demand plus pagination
* Show selected option names as the dropdown button toggle text
* Fix invalida state when reset and on close the popover
* Revert adding selected options as part of the dropdown toggle text
---------
Co-authored-by: Fernando Marichal <ultimoround@gmail.com>
* Try getting a site preview in the banner working.
* Change to use iframe instead
* Changelog
* Fix lint issues
---------
Co-authored-by: Chris Runnells <chris.runnells@automattic.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
* Set default logo width when updating the template
* Set current logo width to the inserting patterns
* Add changelog
* Fix tests
* Apply logo width in use-patterns
* Disable header and footer on cys pages
* Support showNotices and showStoreAlerts to control Notices and StoreAlerts from the layout
* Disable Notices and StoreAlerts from CYS
* Support showPluginArea -- setting this value to false disables plugins
* Disable plugin area in cys
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* add a failing test for setting shipping total to empty string (fails on PHP 8.x)
* make the WC_Tests_Order_Item_Product::test_get_item_shipping_total test pass
* add changelog file
* add some more explicit conversions to float where we add values and can't be sure it's not a string
* appease the linter
* set array_reduce's initial value to 0.0
* Load standard includes and template functions in REST API and some admin contexts.
This is primarily needed to support the use of legacy shortcodes within the block editor, as pre-rendering means the shortcodes will be invoked (and therefore any frontend/template functions the shortcode handler might call need to be available).
* Check session is available before accessing its methods from within shortcodes.
* Changelog.
* Coding standards (no assignment inside a conditional).
* Whitespace.
* Support testing if the request is of type 'rest-api'.
This preserves the accuracy of the 'frontend' definition. Additionally, having tightened that up, we explicitly include REST API requests as a condition in which we should load frontend includes (needed, to support quirks in terms of how the block editor does things—such as creating FE previews of blocks).
* `rest-api` is not used, and this is a private method so it is essentially dead-code.
* Return type clean-up for `wc_print_notices()`.
* dequeue wpcom.editor on cys pages
* Add gutenberg_version to wcSettings.admin
* Use the new consent string for Gutenberg 16.9 and above
* Add changefile(s) from automation for the following project(s): woocommerce
* Revert "dequeue wpcom.editor on cys pages"
This reverts commit 85c039c7dc.
* Update changelog
* Add changefile(s) from automation for the following project(s): woocommerce
* Revert "Add changefile(s) from automation for the following project(s): woocommerce"
This reverts commit 4554626fde.
* Fix lint issues
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
Adds a new file browsing view for Logs and sets the stage for other UI improvements described in #40644. In this view, the list of log files can be sorted by several different parameters and also filtered by the log's "source" (which is essentially the prefix on the log's filename). It has the standard list table feature of being able to select multiple rows at once and perform a bulk action. In this case, the only bulk action is currently to delete files. Clicking on one of the files brings you to the single file view, which at this point is just the old log file view.
Fixes#40915
* remove superfluous test scripts
* Add changefile(s) from automation for the following project(s): @woocommerce/integrate-plugin
---------
Co-authored-by: github-actions <github-actions@github.com>
* Create initial version of TextControl
* Extract 'label' component for reusability
* Reduce gap
* Add label component to number control and add tooltip and required attributes
* Add changelog
* Remove unused CSS
* Add tooltip to type definitions
* Update doc for number block
* Add text block documentation
* Update parameters definition
* Set label to 'mandatory' in TypeScript
* Set label to mandatory
* Organize to alphabetical order
* Refactor required validation to be more consistent with name field
* Generify documentation
* Use createInterpolateElement for label with required indicator