* Add meta_data parameter in generateProductVariations
* Apply filter to get meta_data to generate variations
* Add meta_data parameter in generate variations endpoint
* Update name and add documentation
* Fix useEntityRecord in blockEditor
* changed LYS task id to hyphens for consistency with the other tasks
* add: lys hub sidebar
* ling
* lint2
* fixed sidebar title back button
* lint
* missed i18n
* sidebar title css
* unnecessary mutate
* hide test order toggle for now
* Recognise if Product Collection is inside Cart or Checkout blocks
* Upgrade priority block recognition over templates
* Update the comments to better depict the flow
* Add changelog
* Simplify the logic
* Add coming soon page banner on the frontend
* Add changefile(s) from automation for the following project(s): woocommerce
* Check for shop_manager
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add icons to ellipsis menu -- lys
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Copy update for coming soon badge
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Site visibility settings copy changes
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Make sure we are in admin area when using current_screen()
* Add changefile(s) from automation for the following project(s): woocommerce
* Check admin in preload_settings
* Remove unwanted changes from a different branch
---------
Co-authored-by: github-actions <github-actions@github.com>
* clean up woocommerce-blocks package.json
* update from feedback
* move entry to original location
---------
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
* Fetch all products for hand-picked products control
This commit modifies the `getProducts` function usage within the Hand-Picked Products control, aiming to fetch all products regardless of catalog size.
The change involves explicitly setting `queryArgs` to include `per_page: 0` in the function call. This adjustment overrides the default behavior based on the `isLargeCatalog` condition, ensuring that all available products are fetched from the Store API for selection within the control.
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
* Remove clickable cursor on post title
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Update plugins/woocommerce-blocks/assets/js/blocks/product-collection/edit/editor.scss
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
* Add missing semicolon
---------
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Karol Manijak <20098064+kmanijak@users.noreply.github.com>
* update WordPress version
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
---------
Co-authored-by: github-actions <github-actions@github.com>
* Remove ToS acceptance in WCPay banner and promotions JSON
* Add changefile(s) from automation for the following project(s): @woocommerce/onboarding, packages/php/remote-specs-validation
* Add line break in banner to look nicer
* Center banner content
* Style banner for mobile version
* fix js test to use another block (previous one no longer exist)
* Add changefile(s) from automation for the following project(s): @woocommerce/onboarding, packages/php/remote-specs-validation, woocommerce
* Add comment to css
---------
Co-authored-by: oaratovskyi <oleksandr.aratovskyi@automattic.com>
Co-authored-by: github-actions <github-actions@github.com>
* Ensure that each <CheckboxControl> component has a unique id
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Optimise setup and teardown settings
* Wrapping setup and teardown in act()
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add private link
* Add changefile(s) from automation for the following project(s): woocommerce
* Use useCopyToClipboard and remove label click behavior
* Preload settings for site visibility
* Default to live when woocommerce_coming_soon option is not available
* Remove use of classnames -- no longer needed
* Lint fixes
* Lint fixes
* Remove changes for label click behavior -- we will work on it in a separate PR
* Remove unused import
---------
Co-authored-by: github-actions <github-actions@github.com>
* Introduce 44084 and 44790 back to be reintroduced with back compat.
This reverts commit fcdbc76414.
* Add changelog.
* Manually call `rest_request_after_callbacks` filter for backward compatibility.
* Make the controller checks more robust.
* Dont call rest api when controller is found but response cant be calculated.
* Add unit test for hydration class.
* Update comment docs for future warning.
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
* Return unfiltered routes array to prevent overwriting.
* PHPCS fixes.
* Use hydration context filters instead of duplicating REST API filters.
* PHPCS fixes.
* Adjusted unit test for new filters.
---------
Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
* Link Payments task item to Overview if WooPayments is connected
* Link APMs task item to payments task page
* Add changelog for WooCommerce
* If WCPay is connected go to Payments Overview page
It shouldn't matter if the WCPay account is fully or partially onboarded.
* Add aria-labelledby attribute to rich text component
* Handle label click to focus rich text
* Remove unneeded ts-ignore
* Pass in label ID explicitly instead of hardcoding knowledge of its naming pattern
* Changelog
* Add tooltip attribute to block.json
* Focus text area when clicking on label
* Remove Label id... not needed
* Set text area labelled by to label
* Add aria-required to rich text
* Hide required asterisks from aria
* Adjust shipping calculations copy
* Add changefile(s) from automation for the following project(s): woocommerce
---------
Co-authored-by: github-actions <github-actions@github.com>
* Fix deprecated warning when applying a coupon on Cart in PHP > 8.0
* Add changefile(s) from automation for the following project(s): woocommerce
* Changed property type to protected
---------
Co-authored-by: github-actions <github-actions@github.com>
* Add e2e tests for virtual orders and refactor test names
* Add changefile(s) from automation for the following project(s): woocommerce-blocks
* Optimise setup and teardown
---------
Co-authored-by: github-actions <github-actions@github.com>
* Redirect to intro page when accessing the transitional page if no customized
* Remove only
* Add changefile(s) from automation for the following project(s): woocommerce
* Check if the task is completed
* Add transition screen class
* Remove unused import
---------
Co-authored-by: github-actions <github-actions@github.com>