From ce94ce2328390e5b8844ad340fe864876e0caf3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alba=20Rinc=C3=B3n?= Date: Thu, 2 Nov 2023 09:42:59 +0100 Subject: [PATCH 1/2] Rename the reference to the 'Footer with Simple Menu and Cart' The pattern was rename to 'Footer with Simple Menu' in the woocommerce-blocks repo so we need to update the reference here as well --- .../sidebar/sidebar-navigation-screen-footer.tsx | 2 +- .../client/customize-store/design-with-ai/prompts/footer.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-footer.tsx b/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-footer.tsx index 49698cc01bd..e0347c1e954 100644 --- a/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-footer.tsx +++ b/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-footer.tsx @@ -29,7 +29,7 @@ import { findPatternByBlock } from './utils'; import BlockPatternList from '../block-pattern-list'; const SUPPORTED_FOOTER_PATTERNS = [ - 'woocommerce-blocks/footer-simple-menu-and-cart', + 'woocommerce-blocks/footer-simple-menu', 'woocommerce-blocks/footer-with-3-menus', 'woocommerce-blocks/footer-large', ]; diff --git a/plugins/woocommerce-admin/client/customize-store/design-with-ai/prompts/footer.ts b/plugins/woocommerce-admin/client/customize-store/design-with-ai/prompts/footer.ts index b3c5a321656..5aa83b2e3fa 100644 --- a/plugins/woocommerce-admin/client/customize-store/design-with-ai/prompts/footer.ts +++ b/plugins/woocommerce-admin/client/customize-store/design-with-ai/prompts/footer.ts @@ -5,8 +5,8 @@ import { z } from 'zod'; const footerChoices = [ { - slug: 'woocommerce-blocks/footer-simple-menu-and-cart', - label: 'Footer with Simple Menu and Cart', + slug: 'woocommerce-blocks/footer-simple-menu', + label: 'Footer with Simple Menu', }, { slug: 'woocommerce-blocks/footer-with-3-menus', From 56429a44f77964ce75d943c8c170a06c4220ad6e Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 3 Nov 2023 03:40:07 +0000 Subject: [PATCH 2/2] Add changefile(s) from automation for the following project(s): woocommerce --- plugins/woocommerce/changelog/41181-rename-footer-pattern | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 plugins/woocommerce/changelog/41181-rename-footer-pattern diff --git a/plugins/woocommerce/changelog/41181-rename-footer-pattern b/plugins/woocommerce/changelog/41181-rename-footer-pattern new file mode 100644 index 00000000000..3d3b1c25f9a --- /dev/null +++ b/plugins/woocommerce/changelog/41181-rename-footer-pattern @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Rename the reference to the 'Footer with Simple Menu and Cart' pattern \ No newline at end of file