Commit Graph

61904 Commits

Author SHA1 Message Date
github-actions[bot] d5c7664c57
Delete changelog files based on PR 41834 (#41885)
Delete changelog files for 41834

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-12-05 23:36:50 +08:00
Albert Juhé Lluveras 7f3b7e708c
Fix TypeScript error in 'Highlight templates changes' job (#41882)
Fix TypeScript in 'Highlight templates changes' job
2023-12-05 16:28:09 +01:00
Roy Ho 6df846d11a Product gallery/fix/view all link (https://github.com/woocommerce/woocommerce-blocks/pull/11995)
* Center align view all link

* Add thumbnail count specific styling

* Product Gallery Thumbnails: Improve the responsiveness of the View All overlay text

---------

Co-authored-by: Daniel Dudzic <daniel.dudzic@automattic.com>
2023-12-05 16:25:41 +01:00
github-actions[bot] 9f1231faff
Release: Remove 8.4 change files (#41655)
Delete changelog files from 8.4 release

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-12-05 09:53:10 -05:00
github-actions[bot] 8999de2938
Prep trunk for 8.5 cycle (#41654)
Prep trunk for 8.5 cycle with version bump to 8.5.0-dev

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
2023-12-05 09:48:52 -05:00
Mike Jolley fac4312664 Remove "shopper's" from string (https://github.com/woocommerce/woocommerce-blocks/pull/12049) 2023-12-05 12:37:19 +00:00
Thomas Shellberg 7b0affff3e
Fix z-index issue with the Image Background Removal Spotlight. (#41185)
* [Woo AI] - Fix z-index issue with the Image Background Removal Spotlight.
2023-12-05 13:08:57 +01:00
Paulo Arromba 9e200b390c
Update WooCommerce Blocks to 11.6.2 (#41869)
Updated woocommerce/woocommerce-blocks to 11.6.2
2023-12-05 11:21:14 +00:00
Albert Juhé Lluveras 38fbb179d9 Update versions to 11.8.0-dev 2023-12-05 10:58:14 +01:00
Albert Juhé Lluveras c50f395efd Add 11.7.0 testing steps and changelog 2023-12-05 10:57:17 +01:00
Christopher Allford 88969742f2
Regenerate PNPM Lock File & Fix Errors (#41830) 2023-12-05 00:36:30 -08:00
Sam Seay c5ad636e35 Upgrade TypeScript to 5.3.2 (https://github.com/woocommerce/woocommerce-blocks/pull/11926)
* Also add skipLibCheck option to TS Config.
2023-12-05 18:17:04 +13:00
Eason d57b9e1d05
Make the `useCampaigns` hook support being used with multiple instances (#41211)
* Add tests for the `useCampaigns` hook in the woocommerce-admin marketing.

* Add `channels` to the deps of `useSelect` in the `useCampaigns` hook to avoid outdated hook states.

* Make the `useCampaigns` hook support being used with multiple instances.

- Include the `perPage` in the page key of campaigns in the multichannel's data store.
- Move the processing of querying the campaigns paging to the selector of the multichannel's data store.
- Move `total` in each campaign's paging of the multichannel's data store.
- Remove unused properties and their types: `state.campaigns.perPage` and `state.campaigns.total`

* Add changelog

* Multichannel data store - Move the `total` from `campaigns.pages[*]` to `campaigns.meta` to have only one total value.

Related to:
- https://github.com/woocommerce/woocommerce/pull/41211#discussion_r1409634640
- https://github.com/woocommerce/woocommerce/pull/41211#discussion_r1409590559

* Multichannel data store - Return the pagination meta of campaigns along with the `getCampaigns` selector.

Address: https://github.com/woocommerce/woocommerce/pull/41211#discussion_r1412266127
2023-12-05 11:20:05 +08:00
Damián Suárez 7957314723
Remove unused @wordpress/scripts dependency (#41864) 2023-12-04 21:39:15 -03:00
Damián Suárez fda0cd13d5 Merge branch 'trunk' into fix/wrdpressscripts 2023-12-04 20:16:14 -03:00
Damián Suárez 37e824eca8
[Product Block Editor]: Handle Modal Editor visibility from UI state (#41859) 2023-12-04 18:52:02 -03:00
Corey McKrill 165495a015
Logging: Update doc block to more accurate return value
Improves the doc block of `wc_get_logger()` to reflect that the return
value will be a class that implements `WC_Logger_Interface`, but may
not actually be an instance of `WC_Logger`.

Fixes #41256
2023-12-04 13:06:31 -08:00
Damián Suárez 6c5cb1ed2b rename store folder 2023-12-04 16:51:54 -03:00
Nathan Schneider 1e3b7425dc Remove unused @wordpress/scripts dependency 2023-12-04 16:17:28 -03:00
Damián Suárez dfa1adaf44 changelog 2023-12-04 14:43:29 -03:00
Damián Suárez 7a1cb7619e handle Modal editor via store 2023-12-04 14:43:29 -03:00
Paulo Arromba 159ce527a7 Add/11.6.2 testing instructions and changelog (https://github.com/woocommerce/woocommerce-blocks/pull/12040)
* Updated readme.txt, versions, added testing steps

* Updated testing zip link
2023-12-04 17:24:58 +00:00
Albert Juhé Lluveras 9371318292 Revert "Remove unused Add to Cart product element (https://github.com/woocommerce/woocommerce-blocks/pull/11948)" (https://github.com/woocommerce/woocommerce-blocks/pull/12033)
This reverts commit 6a397d65f9.
2023-12-04 17:28:58 +01:00
Darren Ethier 795f008952 Implement the Block Hooks API to automatically inject the Mini-Cart block (https://github.com/woocommerce/woocommerce-blocks/pull/11745)
* Change the default for Mini Cart block

The Block Hooks API currently doesn’t allow for setting the default state of the block injected into content so this ensures the mini-cart block has a better default state for injection. The current default (displaying total value in cart) takes up more width increasing the risk of poor layout.

* Utilize Block Hooks to automatically inject mini-cart block.

* include experimental prefix on filters

* Fix filter name.

* remove experimental prefix.

On thinking about this, I don’t think these need to be experimental. They are intentionally provided as escape hatches for hosts/themes that want to opt-in/out so we’ll have to support them when this is shipped (at least until its no longer needed!)

* fix variable name!

* fix unit tests because of new default

* remove another incorrect text expectation

Defaults for the block affect this expectation.

* fix E2E tests

* Mini Cart Block: improve E2E test

* fix: improve check for the Product Collection block

---------

Co-authored-by: Luigi Teschio <gigitux@gmail.com>
2023-12-04 17:27:27 +01:00
Damián Suárez a22331f3db import, export and register the store 2023-12-04 13:25:52 -03:00
Damián Suárez 3b6e70ace0 introduce Product Editor store 2023-12-04 13:25:52 -03:00
Luigi Teschio 5b0e74383b Improve AI prompt for the Featured Category Triple pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11879)
* Improve AI prompt for the Featured Category Triple pattern

* test

* improve prompt
2023-12-04 16:28:36 +01:00
Luigi Teschio f74f5a2e61 Fix Testimonials 3 Column pattern width (https://github.com/woocommerce/woocommerce-blocks/pull/12030)
* Fix Testimonials 3 Column pattern width

* remove padding
2023-12-04 16:28:22 +01:00
Alba Rincón 4b63874ff8
Switch assembler theme to TT4 (#41736)
* Switch assemble theme to TT4

* Add changefile(s) from automation for the following project(s): woocommerce

* Rename changelog file

* Add changefile(s) from automation for the following project(s): woocommerce

* Remove duplicated changelog

* Add changefile(s) from automation for the following project(s): woocommerce

* Remove duplicated changelog

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-12-04 16:20:05 +01:00
Tung Du 2bc48e4e4a Fix: Ensure new filter blocks work with inherited query context (https://github.com/woocommerce/woocommerce-blocks/pull/12022)
* make the collection filters block available globally

* make query optional

* remove unnecessary editor contextual
2023-12-04 21:05:09 +07:00
Chi-Hsuan Huang f4e486d421
Update CYS task subheading (#41771)
* Update cys task subheading

* Add changelog
2023-12-04 21:35:34 +08:00
Fernando Marichal 0a6ca9e7db
Add max width to tooltip (#41797)
* Add max-width to tooltip

* Add changelog
2023-12-04 10:22:10 -03:00
Nathan Silveira 4f08753d0c
Add wc-settings to the footer when injecting wc-settings dependency (#41790) 2023-12-04 10:06:38 -03:00
Luigi Teschio 945e476648 Improve AI prompt for the header of the Hero Product 3 Split pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11877)
* Improve AI prompt for the header of the Hero Product 3 Split pattern

* improve prompt
2023-12-04 14:04:28 +01:00
Patricia Hillebrandt 5f4c8e2f7c [CYS] Fix regression and ensure AI-generated content is assigned to products after the third attempt (https://github.com/woocommerce/woocommerce-blocks/pull/12016)
* Fix restriction preventing the update of products with AI-generated content after the 3rd attempt.

* use set_slug rather than wp_update_post for updating the product permalink.

---------

Co-authored-by: Alba Rincón <alba.rincon@automattic.com>
2023-12-04 09:58:01 +01:00
Luigi Teschio af23649365 Hook `woocommerce_single_product_summary` action to `core/post-excerpt` block (https://github.com/woocommerce/woocommerce-blocks/pull/11953)
* hook woocommerce_single_product_summary into core/post-excerpt block

* Add E2E tests

* improve E2E test
2023-12-04 09:03:00 +01:00
Alba Rincón a387c93528 Update patterns design (https://github.com/woocommerce/woocommerce-blocks/pull/12005)
* Update "Just arrived full hero" pattern design

* Remove titles from galleries and update chessboard copy

* Remove unused patterns and old option
2023-12-04 08:58:32 +01:00
Panos (Panagiotis Synetos) 54b980c2d2
Use fallback colors wherever CSS variables are used in WooCommerce admin (#41803) 2023-12-04 09:17:41 +02:00
Patricia Hillebrandt 1f1ddd17d4 Merge branch 'trunk' into update/ai-product-endpoint-last-product-param 2023-12-04 04:04:02 -03:00
Panos (Panagiotis) Synetos 2ab2862185
activation.css does not have access to $woocommerce variable 2023-12-04 08:50:58 +02:00
Panos (Panagiotis) Synetos 3b151dd1db
Merge branch 'trunk' into fix/41774-use-fallback-colors-css-variables 2023-12-04 08:18:52 +02:00
Paul Sealock d25ebd0a1e
Shipping Settings: Revert removal of default method names (#41833) 2023-12-03 14:15:03 +13:00
Paul Sealock 3e139f3c73
Shipping Settings: Refresh shipping methods on every addition (#41834) 2023-12-03 14:14:53 +13:00
Alba Rincón 1a3cd9b328 Update product placeholders with products from design (https://github.com/woocommerce/woocommerce-blocks/pull/12007)
* Update product placeholders

* Fix errors

* WIP

* Fix image path and reduce image size

* Upload ai image only if present

* Replace typewriter image

---------

Co-authored-by: Patricia Hillebrandt <patriciahillebrandt@gmail.com>
2023-12-02 09:47:53 +01:00
Niels Lange 1c7d995e97 Decrease modal width (https://github.com/woocommerce/woocommerce-blocks/pull/12003) 2023-12-02 02:54:39 +00:00
Corey McKrill aaff5a0f43
Logging: Enable downloading log files singularly and in bulk (#41801)
Add functionality and UI for downloading log files directly from WC Admin.

Fixes #40645
2023-12-01 13:49:46 -08:00
paul sealock 2d8a192ef3 remove validation since no field are required 2023-12-02 10:37:01 +13:00
Chris Lilitsas 0f3c4ea4bd
Vertical alignment issue in the variations selector (#41369)
This PR removes a line-height rule causing vertical alignment issues in the variations selector and introduces a bottom margin on the single variation container.

Closes #41367
2023-12-01 12:22:47 -08:00
Seghir Nadir 226d7de6d6 import checkbox from single place (https://github.com/woocommerce/woocommerce-blocks/pull/12015) 2023-12-01 19:40:04 +01:00
Damián Suárez c6da01737c
[Product Block Editor]: minor Summary block enhancements (#41839) 2023-12-01 14:15:58 -03:00