[CYS] Pattern Sidebar: Update pattern categories and copy (#48665)

* WIP

* CYS: Refactor routing approach

* fix type

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

* remove focus logic

* remove routekey prop

* fix scroll after insert pattern

* pass onNavigateBackClick callback as prop

* fix scroll

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

* fix back arrow click

* fix css

* fix tooltip position

* create dedicated CSS class

* lint css

* restore change

* improve css class name

* remove not necessary class

* add github link to the todo

* lint css

* add want more pattern section

* remove not used import

* fix logic after merge trunk

* CYS: fix tooltip position

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

* trigger CI

* Add missing categories and descriptions

* Add services copy

* Uppercase

* Fix categories key

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

* Remove todo comment

---------

Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Alba Rincón 2024-06-21 12:56:17 +00:00 committed by GitHub
parent 4976011b54
commit ed2bb0e27d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 42 additions and 9 deletions

View File

@ -3,25 +3,54 @@
*/
import { __ } from '@wordpress/i18n';
// @todo: Implement the right copy for the pattern categories: https://github.com/woocommerce/woocommerce/issues/48381
export const PATTERN_CATEGORIES = {
intro: {
label: __( 'intro', 'woocommerce' ),
label: __( 'Intro', 'woocommerce' ),
description: __(
'Welcome shoppers to your store with one of our introductory patterns.',
'woocommerce'
),
},
'featured-selling': {
label: __( 'Featured selling', 'woocommerce' ),
description: __(
'Put the spotlight on one or more of your products or product categories.',
'woocommerce'
),
},
about: {
label: __( 'about', 'woocommerce' ),
description: __( 'about', 'woocommerce' ),
label: __( 'About', 'woocommerce' ),
description: __(
'Show your shoppers whats special about your business.',
'woocommerce'
),
},
services: {
label: __( 'services', 'woocommerce' ),
description: __( 'services', 'woocommerce' ),
label: __( 'Services', 'woocommerce' ),
description: __(
'Share information on any services that your business can provide.',
'woocommerce'
),
},
testimonials: {
label: __( 'testimonials', 'woocommerce' ),
description: __( 'testimonials', 'woocommerce' ),
reviews: {
label: __( 'Reviews', 'woocommerce' ),
description: __(
'Encourage sales by sharing positive feedback from happy shoppers.',
'woocommerce'
),
},
'social-media': {
label: __( 'Social media', 'woocommerce' ),
description: __(
'Promote your social channels and give shoppers a way to see your latest products and news.',
'woocommerce'
),
},
// newsletter: {
// label: __( 'Newsletter', 'woocommerce' ),
// description: __(
// 'Keep in touch with your shoppers with a newsletter signup form.',
// 'woocommerce'
// ),
// },
};

View File

@ -0,0 +1,4 @@
Significance: minor
Type: update
CYS - Update pattern categories and its descriptions.