From 249dcb74f2372927920996b3926adabe0b97bc18 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 21 Jun 2023 09:50:12 +0200 Subject: [PATCH] Consistent Pattern Titles (https://github.com/woocommerce/woocommerce-blocks/pull/9814) * Update featured-category-cover-image.php * Update featured-category-focus.php * Update featured-category-triple.php * Update featured-products-5-cols.php * Update filters.php * Update footer-large-dark.php * Update footer-large.php * Update footer-simple-dark.php * Update footer-simple.php * Update footer-simple-menu-and-cart.php * Update footer-with-2-menus-dark.php * Update footer-with-2-menus.php * Update footer-with-3-menus.php * Update header-centered-search-pattern.php * Update header-essential-dark.php * Update header-essential.php * Update header-large-dark.php * Update header-large.php * Update header-minimal.php * Update hero-product-3-split.php * Update hero-product-chessboard.php * Update hero-product-split.php * Update just-arrived-full-hero.php * Update no-products-found.php * Update product-collections-featured-collection.php * Update product-collections-featured-collections.php * Update product-collections-newest-arrivals.php * Update product-details-listing.php * Update product-details-pattern.php * Update product-featured-2-columns.php * Update product-hero-2-col-2-row.php * Update product-hero.php * Update product-listing-with-gallery-and-description.php * Update product-query-1-1-image-4-column-products-row.php * Update product-query-3-column-product-row.php * Update product-query-4-column-product-row.php * Update product-query-large-image-product-gallery.php * Update product-query-minimal-5-column-products-row.php * Update product-query-minimal-product-list.php * Update product-query-product-gallery.php * Update product-query-product-list-with-1-1-images.php * Update product-query-product-list-with-full-product-description.php * Update product-search-form.php * Update shop-by-price.php * Update store-info-alt-image-and-text.php * Update testimonials-3-columns.php * Update testimonials-single.php * Create readme.md * Update featured-category-cover-image.php * Update featured-category-focus.php * Update featured-category-triple.php * Update featured-products-5-cols.php * Update filters.php * Update footer-large-dark.php * Update footer-large.php * Update testimonials-single.php * Update testimonials-3-columns.php * Update store-info-alt-image-and-text.php * Update shop-by-price.php * Update readme.md * Update product-search-form.php * Update product-query-product-list-with-full-product-description.php * Update product-query-product-list-with-1-1-images.php * Update product-query-product-gallery.php * Update product-query-minimal-product-list.php * Update footer-simple-dark.php * Update footer-simple-menu-and-cart.php * Update footer-simple.php * Update footer-with-2-menus-dark.php * Update footer-with-2-menus.php * Update footer-with-3-menus.php * Update product-query-minimal-5-column-products-row.php * Update product-query-large-image-product-gallery.php * Update product-query-4-column-product-row.php * Update product-query-3-column-product-row.php * Update product-query-1-1-image-4-column-products-row.php * Update product-listing-with-gallery-and-description.php * Update product-hero.php * Update product-hero-2-col-2-row.php * Update product-featured-2-columns.php * Update product-details-pattern.php * Update product-details-listing.php * Update product-collections-newest-arrivals.php * Update product-collections-featured-collections.php * Update product-collections-featured-collection.php * Update no-products-found.php * Update just-arrived-full-hero.php * Update hero-product-split.php * Update hero-product-chessboard.php * Update hero-product-3-split.php * Update header-minimal.php * Update header-large.php * Update header-large-dark.php * Update header-essential.php * Update header-essential-dark.php * Update header-centered-search-pattern.php * Update readme.md * Update and rename readme.md to README.md * Update patterns/README.md Co-authored-by: Karol Manijak --------- Co-authored-by: Karol Manijak Co-authored-by: Niels Lange --- plugins/woocommerce-blocks/patterns/README.md | 8 ++++++++ .../patterns/featured-products-5-cols.php | 2 +- plugins/woocommerce-blocks/patterns/filters.php | 2 +- plugins/woocommerce-blocks/patterns/footer-large-dark.php | 2 +- plugins/woocommerce-blocks/patterns/footer-large.php | 2 +- .../woocommerce-blocks/patterns/footer-simple-dark.php | 2 +- plugins/woocommerce-blocks/patterns/footer-simple.php | 2 +- .../patterns/footer-with-2-menus-dark.php | 2 +- .../woocommerce-blocks/patterns/footer-with-2-menus.php | 2 +- .../woocommerce-blocks/patterns/footer-with-3-menus.php | 2 +- .../patterns/header-centered-search-pattern.php | 2 +- .../woocommerce-blocks/patterns/header-essential-dark.php | 2 +- plugins/woocommerce-blocks/patterns/header-essential.php | 2 +- plugins/woocommerce-blocks/patterns/header-large-dark.php | 2 +- plugins/woocommerce-blocks/patterns/header-large.php | 2 +- .../woocommerce-blocks/patterns/hero-product-split.php | 2 +- .../patterns/just-arrived-full-hero.php | 2 +- .../patterns/product-collections-featured-collection.php | 2 +- .../patterns/product-collections-featured-collections.php | 2 +- .../patterns/product-collections-newest-arrivals.php | 2 +- .../patterns/product-details-listing.php | 2 +- .../patterns/product-hero-2-col-2-row.php | 2 +- .../product-query-1-1-image-4-column-products-row.php | 2 +- .../patterns/product-query-3-column-product-row.php | 2 +- .../patterns/product-query-4-column-product-row.php | 2 +- .../product-query-large-image-product-gallery.php | 2 +- .../product-query-minimal-5-column-products-row.php | 2 +- .../patterns/product-query-minimal-product-list.php | 2 +- .../patterns/product-query-product-gallery.php | 2 +- .../product-query-product-list-with-1-1-images.php | 2 +- ...t-query-product-list-with-full-product-description.php | 2 +- .../patterns/store-info-alt-image-and-text.php | 2 +- 32 files changed, 39 insertions(+), 31 deletions(-) create mode 100644 plugins/woocommerce-blocks/patterns/README.md diff --git a/plugins/woocommerce-blocks/patterns/README.md b/plugins/woocommerce-blocks/patterns/README.md new file mode 100644 index 00000000000..0a079b0a211 --- /dev/null +++ b/plugins/woocommerce-blocks/patterns/README.md @@ -0,0 +1,8 @@ +# WooCommerce Blocks - Patterns + +## Naming Conventions for Patterns + +* Use spaces as a separator. Only use hyphens for compound words or expressions. +* Use consistent title case capitalization. +* Use clear, descriptive names that indicate the component's function or appearance. +* Group similar items together with a common name structure. diff --git a/plugins/woocommerce-blocks/patterns/featured-products-5-cols.php b/plugins/woocommerce-blocks/patterns/featured-products-5-cols.php index fabddca0e06..19942e26673 100644 --- a/plugins/woocommerce-blocks/patterns/featured-products-5-cols.php +++ b/plugins/woocommerce-blocks/patterns/featured-products-5-cols.php @@ -1,6 +1,6 @@