* 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
* Remove block level options in favour of settings
* Remove calculator toggle test
* Update assets/js/blocks/cart/inner-blocks/cart-order-summary-shipping/block.tsx
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Remove unused attributes
---------
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
This commit addresses an issue where layout attributes could become undefined during the block migration process. Alongside this fix, several updates were made to align the migration logic with the new `ProductCollectionDisplayLayout` types:
- Added logic to handle `undefined` layout attributes, defaulting to `DEFAULT_ATTRIBUTES.displayLayout`.
- Removed `ProductGridLayout` and `ProductGridLayoutTypes` from the types file.
- Imported `LayoutOptions` and `ProductCollectionDisplayLayout` from the product-collection module.
- Updated the `mapLayoutType` and `mapLayoutPropertiesFrom...` functions to use the new layout types.
- Updated transformation functions like `transformProductTemplate` and `transformPostSummary` to use the new types.
These changes not only resolve the issue with undefined layout attributes but also align the codebase with the new layout options, enhancing code maintainability.
* 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>
* 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>
* 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>
* 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
* 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