Commit Graph

178 Commits

Author SHA1 Message Date
Alba Rincón 197028eadb Rename pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11487) 2023-10-30 14:39:59 +01:00
Alba Rincón 91358647dd Remove group and separator to get rid of the extra space (https://github.com/woocommerce/woocommerce-blocks/pull/11477) 2023-10-27 17:27:10 +02:00
Alba Rincón 758bb7f296 [Store Customization] Update the design for the Product Gallery pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11464)
* Remove rating, show only title and price

* Improve title spacing and level
2023-10-27 15:23:32 +02:00
Luigi Teschio 50baa530e8 Patterns with Search Bar: improve style (https://github.com/woocommerce/woocommerce-blocks/pull/11478) 2023-10-27 14:57:16 +02:00
Luigi Teschio 83b75cb2ea Unify the search bar layout across patterns (https://github.com/woocommerce/woocommerce-blocks/pull/11445)
* Unify the search bar layout across patterns

* restore changes
2023-10-26 14:11:41 +02:00
Alba Rincón 7f2a98adcc [CYS Woo Express] Footer with simple menu and cart (https://github.com/woocommerce/woocommerce-blocks/pull/11409)
* Update footer simple menu cart

* Change structure to use rows not columns

* Make search fill space

* Fix spacing and switch mini-cart and menu

* Unify the search bar

* Remove mini cart
2023-10-26 14:05:00 +02:00
Alba Rincón 76cb3fa7e8 Make groups to adapt better to mobile views (https://github.com/woocommerce/woocommerce-blocks/pull/11463) 2023-10-26 12:18:40 +02:00
Alba Rincón bcdc9489f7 [CYS Woo Express] Fix essential header (https://github.com/woocommerce/woocommerce-blocks/pull/11449)
* Fix essential header

* Fix spacing
2023-10-26 09:33:29 +02:00
Alba Rincón c706e9b885 Remove the fontSize for the button (https://github.com/woocommerce/woocommerce-blocks/pull/11433) 2023-10-25 12:36:38 +02:00
Alba Rincón 6fa2617589 Fix outer space and title (https://github.com/woocommerce/woocommerce-blocks/pull/11434) 2023-10-25 10:59:25 +02:00
Alba Rincón 65b093309f Improve vars name and remove duplicated user name (https://github.com/woocommerce/woocommerce-blocks/pull/11430) 2023-10-24 15:24:05 +02:00
Alba Rincón 2d0ee28a97 Add overlay with 30% opacity (https://github.com/woocommerce/woocommerce-blocks/pull/11428) 2023-10-24 14:57:42 +02:00
Alba Rincón 7043156159 [Store Customization] Update the "Footer with 3 Menus" (https://github.com/woocommerce/woocommerce-blocks/pull/11379)
* Fix search bar, spacing and show text in one line

* Set site log width

* Adjust margins and search bar

* Make the search bar fill space on mobile

* Update column sizes

* Remove width from site logo
2023-10-24 13:49:49 +02:00
Alba Rincón af6bfd2bbf [CYS Woo Express] Update large footer (https://github.com/woocommerce/woocommerce-blocks/pull/11413)
* Update large footer

* Update space between icons

* Remove with from site logo
2023-10-24 11:23:14 +02:00
Luigi Teschio c095dd617d Improve Just Arrived Full Hero pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11406) 2023-10-23 14:07:57 +02:00
Alba Rincón d6df0d451b Update Large footer: social links, columns, logo size, spacing (https://github.com/woocommerce/woocommerce-blocks/pull/11381) 2023-10-20 13:34:05 +02:00
Alba Rincón da8bd0d713 Change the structure to allow aligning left the icons on mobile (https://github.com/woocommerce/woocommerce-blocks/pull/11355) 2023-10-19 16:35:51 +02:00
Alba Rincón 55faf5222f Decrease spacing between menu items (https://github.com/woocommerce/woocommerce-blocks/pull/11356) 2023-10-19 16:35:28 +02:00
Alba Rincón 499a7f2145 Re-enable the `Product Hero 2 Column 2 Row` pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11346) 2023-10-19 13:59:11 +02:00
Alba Rincón 70c3f56cd0 Fix white space on the right of the pattern by using groups instead of columns (https://github.com/woocommerce/woocommerce-blocks/pull/11315) 2023-10-19 13:44:59 +02:00
Alba Rincón 6c51ec61ac Adjust margins and paddings for the Featured Category Triple (https://github.com/woocommerce/woocommerce-blocks/pull/11319) 2023-10-19 08:40:01 +02:00
Karol Manijak 9a1e26057c Remove hardcoded queryIds from patterns that include Product Collection (https://github.com/woocommerce/woocommerce-blocks/pull/11290) 2023-10-18 09:43:20 +02:00
Alba Rincón 795242af1a [Store Customization] Fix the "Testimonials 3 Columns" title alignment (https://github.com/woocommerce/woocommerce-blocks/pull/11281) 2023-10-17 13:50:19 +01:00
Alba Rincón 7563bea081 [Store Customization] Fix pattern spacing in homepage template 3 (https://github.com/woocommerce/woocommerce-blocks/pull/11279)
* Fix pattern spacing

Removes the top/bottom paddings, adds margins to the bottom of each pattern

* Add margin between patterns to ensure consistency between themes

* Add margin to the bottom of patterns
2023-10-17 11:09:20 +02:00
Alba Rincón 2b4754ff2e [Store Customization] Fix pattern spacing in homepage template 2 (https://github.com/woocommerce/woocommerce-blocks/pull/11278)
* Fix pattern spacing

Removes the top/bottom paddings, adds margins to the bottom of each pattern

* Add margin between patterns to ensure consistency between themes
2023-10-17 11:09:11 +02:00
Alba Rincón a918602c71 Fix pattern spacing (https://github.com/woocommerce/woocommerce-blocks/pull/11268)
Removes the top/bottom paddings, adds margins to the bottom of each pattern
2023-10-17 10:56:02 +02:00
Tom Cafferkey 01c8d45efd Store Customization > Remove placeholder text from the image on the Hero Product Chessboard pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11250) 2023-10-17 08:55:27 +01:00
Alba Rincón 606308de6f Remove empty pattern file (https://github.com/woocommerce/woocommerce-blocks/pull/11256) 2023-10-16 10:31:35 +02:00
Alba Rincón 0691226cd3 Temporarily disable the woocommerce-blocks/product-hero-2-col-2-row pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11234) 2023-10-13 14:05:10 +02:00
Alba Rincón 494a50cb55 [Store Customization MVP] Add fallbacks to all the pattern titles, descriptions and buttons (https://github.com/woocommerce/woocommerce-blocks/pull/11208)
* Add fallbacks to all the pattern titles, descriptions and buttons

* Remove pagination in pattern
2023-10-13 10:08:35 +02:00
Alba Rincón 62ab092822 [Store Customization MVP] Add image alts to the ai prompt if available (https://github.com/woocommerce/woocommerce-blocks/pull/11101)
* Add image alts to the ai prompt if available

* Update images index and remove randomness

* Update pattern with missing content

* Add image alts to the pattern array

* Improve prompt

* Fix typo

* Use the correct business_description in both the scheduled action and the endpoint
2023-10-13 09:32:35 +02:00
Alba Rincón c6de93a5d9 Make patterns full width and fix margin (https://github.com/woocommerce/woocommerce-blocks/pull/11206)
* Make patterns full width and fix margin

* Fix horizontal spacing
2023-10-12 09:06:33 +02:00
Tom Cafferkey cffea366a5 Product Collection 5 Columns pattern - Update title and price to be rows instead of columns (https://github.com/woocommerce/woocommerce-blocks/pull/11205) 2023-10-11 12:20:16 +01:00
Tom Cafferkey a45e3699a2 Product Collection: Featured Products 5 Columns - Remove no results block. (https://github.com/woocommerce/woocommerce-blocks/pull/11198) 2023-10-11 08:11:57 +01:00
Tom Cafferkey 41724e9400 Product Gallery pattern: Use the Product Collection block (https://github.com/woocommerce/woocommerce-blocks/pull/11194) 2023-10-10 17:17:17 +01:00
Patricia Hillebrandt df2a3d72d2 Store Customization > Update aspect ratio, icons and default text for the Social: Follow us on social media pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11161)
* Add titles to patterns and set the aligment to Wide

* Replace product query patterns with product collection ones

* Add group and spacing to the 3-cols and social patterns

* Fix alignment issue in the testimonals 3 in the editor

* Add padding to the featured catergory triple pattern

* Remove pagination and no results query from product query patterns

* Add aspect ratio to the product image attributes

* Add portrait aspect ratio to product X column and product gallery patterns

* Fix PHP warning and remove the padding for the Testimonials 3 Columns pattern.

* Ensure the Just Arrived Full Hero pattern can have an AI managed image assigned to it and update the content assignment.

* Add background dim

* Update dim to 30

* Add aspect ratio to the Social: Follow us on social media

* Update the icons color to primary

* Update the default title for the Follow us on social media pattern within the dictionary.

* Update text for the main header.

---------

Co-authored-by: Alba Rincón <alba.rincon@automattic.com>
2023-10-06 11:45:26 +00:00
Patricia Hillebrandt 75c48ffb47 Store Customization > Ensure the Just Arrived Full Hero pattern can have an AI selected image assigned to it (https://github.com/woocommerce/woocommerce-blocks/pull/11159)
* Add titles to patterns and set the aligment to Wide

* Replace product query patterns with product collection ones

* Add group and spacing to the 3-cols and social patterns

* Fix alignment issue in the testimonals 3 in the editor

* Add padding to the featured catergory triple pattern

* Remove pagination and no results query from product query patterns

* Add aspect ratio to the product image attributes

* Add portrait aspect ratio to product X column and product gallery patterns

* Fix PHP warning and remove the padding for the Testimonials 3 Columns pattern.

* Ensure the Just Arrived Full Hero pattern can have an AI managed image assigned to it and update the content assignment.

* Add background dim

* Update dim to 30

* Update text for the main header.

---------

Co-authored-by: Alba Rincón <alba.rincon@automattic.com>
2023-10-06 11:17:31 +00:00
Patricia Hillebrandt 15d24a227f Store Customization > Fix the Testimonials 3 Columns pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11158)
* Add titles to patterns and set the aligment to Wide

* Replace product query patterns with product collection ones

* Add group and spacing to the 3-cols and social patterns

* Fix alignment issue in the testimonals 3 in the editor

* Add padding to the featured catergory triple pattern

* Remove pagination and no results query from product query patterns

* Add aspect ratio to the product image attributes

* Add portrait aspect ratio to product X column and product gallery patterns

* Fix PHP warning and remove the padding for the Testimonials 3 Columns pattern.

* Update text for the main header.

---------

Co-authored-by: Alba Rincón <alba.rincon@automattic.com>
2023-10-06 10:42:51 +00:00
Alba Rincón 209fe0b6d8 Add horizontal padding to the Featured Category Triple pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11160) 2023-10-06 11:45:43 +02:00
Alba Rincón 37623be4f2 Remove placeholder and pagination (https://github.com/woocommerce/woocommerce-blocks/pull/11145)
* Add titles to patterns and set the aligment to Wide

* Replace product query patterns with product collection ones

* Remove pagination and no results query from product query patterns

* Add aspect ratio to the product image attributes

* Add portrait aspect ratio to product X column and product gallery patterns
2023-10-06 10:51:35 +02:00
Alba Rincón 01d8a78e4f Store Customization > Homepage Template 1: Review layout and spacing in between patterns (https://github.com/woocommerce/woocommerce-blocks/pull/11144)
* Add titles to patterns and set the aligment to Wide

* Replace product query patterns with product collection ones

* Add group and spacing to the 3-cols and social patterns

* Fix alignment issue in the testimonals 3 in the editor

* Add padding to the featured catergory triple pattern
2023-10-05 17:44:14 +02:00
Alba Rincón 592db8df43 Store Customization > Homepage Template 3: Review layout and spacing in between patterns (https://github.com/woocommerce/woocommerce-blocks/pull/11131)
* Add padding and headers to patterns

* Fix centering when GB enabled
2023-10-05 13:49:26 +02:00
Alba Rincón 4716d7483e Store Customization > Homepage Template 2: Review layout and spacing in between patterns (https://github.com/woocommerce/woocommerce-blocks/pull/11129)
* Add titles to patterns and set the aligment to Wide

* Add paddings

* Replace product query patterns with product collection ones

* Fix pattern title
2023-10-05 13:14:53 +02:00
Patricia Hillebrandt 04e298050c Store Customization > Replace patterns based on the Products (Beta) block with an equivalent based on the Product Collection block (https://github.com/woocommerce/woocommerce-blocks/pull/11134)
* Introduce the new Product Collection 4 Columns pattern as a replacement for 1:1 Image 4-Column Product Row

* Introduce the new Product Collection 5 Columns pattern as a replacement for Minimal 5-Column Product Row

* Update the slug for the Product Collection 5 Columns pattern

* Introduce the new Product Collection 3 Columns pattern as a replacement for 3-Column Product Row

* Ditch the block types from the docblock

* Introduce the new Product Collection: Featured Products 5 Columns pattern as a replacement for Featured Products 5-Item Grid

* Update the patterns dictionary.

* remove block types from the Product Collection: Featured Products 5 Columns pattern

* Remove outdated patterns.

* Remove unnecessary queryId
2023-10-05 08:36:18 +00:00
Tom Cafferkey 661b7031dd Store Customization > Add default image to Just Arrived pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11130) 2023-10-05 09:05:59 +01:00
Luigi Teschio ad80598ab8 Pattern: fetch product id on the JS side (https://github.com/woocommerce/woocommerce-blocks/pull/11138)
* Pattern: fetch product id on the frontend side

* fix TS type
2023-10-05 07:30:50 +00:00
Patricia Hillebrandt 4d82186495 Store Customization > Wireframe and adjust width for the Just Arrived Full Hero pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11115)
* Update the width; Add the button text to the patterns dictionary; adjust the width to wide.

* Remove unnecessary space before the title.
2023-10-04 12:47:19 +00:00
Patricia Hillebrandt 8f421d551e Store Customization > Add the Featured Category Cover Image pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11109)
* Reintroduce the Featured Category Cover Image pattern.

* Update styles for the pattern to match the new ones.

* Update the patterns dictionary to include the Featured Category Cover Image.

* Remove bold from h3 tag

* remove the fonts customization for the button

* Drop the medium fontsize for the paragraph.
2023-10-04 11:17:28 +00:00
Tom Cafferkey 9805a665ab Remove opinionated styles from the Hero Product 3 Split pattern (https://github.com/woocommerce/woocommerce-blocks/pull/11110) 2023-10-04 12:03:52 +01:00
Alba Rincón e2d5175c65 Ensure the content of the patterns is also AI-generated (https://github.com/woocommerce/woocommerce-blocks/pull/10997)
* Fix bug, it was always returning {'ai_content_generated':true} even in case of error

* Refactor PatternImages to extract static helper method to PatternImagesHelper and rename to PatternUpdater

* Fix use on patterns

* Update the pattern content using AI as well

* Make API requests in parallel

* Fix prompt and update patterns with generated content

* Return default content if patterns content is empty

* Fix patterns and failed responses

* Add timeout to the request multiple function

* Replace square by landscape

* Remove todo

* Return error on content update error

* Ensure the pattern content exists within the wc_blocks_patterns_content option: if it doesn't exist, fetch the default content from the default dictionary instead.

---------

Co-authored-by: Patricia Hillebrandt <patriciahillebrandt@gmail.com>
2023-09-25 09:48:52 +00:00