Product Collection: remove Beta label (#47572)
* Remove Beta label from Product Collection * Remove unnecessary dependency in Product Collection page object * Add changelog * Udpate block references
This commit is contained in:
parent
7c1802fefa
commit
929564da82
|
@ -3,7 +3,7 @@
|
|||
"apiVersion": 2,
|
||||
"name": "woocommerce/product-collection",
|
||||
"version": "1.0.0",
|
||||
"title": "Product Collection (Beta)",
|
||||
"title": "Product Collection",
|
||||
"description": "Display a collection of products from your store.",
|
||||
"category": "woocommerce",
|
||||
"keywords": [ "WooCommerce", "Products (Beta)" ],
|
||||
|
|
|
@ -578,7 +578,7 @@ Payment options for your store.
|
|||
|
||||
## Pickup Method - woocommerce/checkout-pickup-options-block
|
||||
|
||||
Shows local pickup options.
|
||||
Shows local pickup locations.
|
||||
|
||||
- **Name:** woocommerce/checkout-pickup-options-block
|
||||
- **Category:** woocommerce
|
||||
|
@ -598,7 +598,7 @@ Collect your customer's shipping address.
|
|||
- **Supports:** ~~align~~,~~html~~,~~multiple~~,~~reusable~~,~~inserter~~,~~lock~~
|
||||
- **Attributes:** lock
|
||||
|
||||
## Shipping Method - woocommerce/checkout-shipping-method-block
|
||||
## Delivery - woocommerce/checkout-shipping-method-block
|
||||
|
||||
Select between shipping or local pickup.
|
||||
|
||||
|
@ -653,6 +653,17 @@ Renders classic WooCommerce shortcodes.
|
|||
- **Supports:** align,~~html~~,~~multiple~~,~~reusable~~,inserter
|
||||
- **Attributes:** shortcode,align
|
||||
|
||||
## Coming Soon - woocommerce/coming-soon
|
||||
|
||||
|
||||
|
||||
- **Name:** woocommerce/coming-soon
|
||||
- **Category:** woocommerce
|
||||
- **Ancestor:**
|
||||
- **Parent:**
|
||||
- **Supports:** color (text, ~~background~~)
|
||||
- **Attributes:** color,storeOnly
|
||||
|
||||
## Customer account - woocommerce/customer-account
|
||||
|
||||
A block that allows your customers to log in and out of their accounts in your store.
|
||||
|
@ -853,7 +864,7 @@ Display the list of additional field values from the current order.
|
|||
|
||||
## Additional Fields - woocommerce/order-confirmation-additional-fields-wrapper
|
||||
|
||||
Display additional checkout fields from the 'contact' and 'additional' locations.
|
||||
Display additional checkout fields from the 'contact' and 'order' locations.
|
||||
|
||||
- **Name:** woocommerce/order-confirmation-additional-fields-wrapper
|
||||
- **Category:** woocommerce
|
||||
|
@ -1038,7 +1049,7 @@ Display a grid of products from your selected categories.
|
|||
- **Supports:** align (full, wide),~~html~~
|
||||
- **Attributes:** columns,rows,alignButtons,contentVisibility,categories,catOperator,isPreview,stockStatus,editMode,orderby
|
||||
|
||||
## Product Collection (Beta) - woocommerce/product-collection
|
||||
## Product Collection - woocommerce/product-collection
|
||||
|
||||
Display a collection of products from your store.
|
||||
|
||||
|
@ -1047,7 +1058,7 @@ Display a collection of products from your store.
|
|||
- **Ancestor:**
|
||||
- **Parent:**
|
||||
- **Supports:** align (full, wide),anchor,~~html~~,interactivity
|
||||
- **Attributes:** queryId,query,tagName,displayLayout,convertedFromProducts,collection,hideControls,queryContextIncludes,forcePageReload
|
||||
- **Attributes:** queryId,query,tagName,displayLayout,convertedFromProducts,collection,hideControls,queryContextIncludes,forcePageReload,__privatePreviewState
|
||||
|
||||
## No results - woocommerce/product-collection-no-results
|
||||
|
||||
|
@ -1069,7 +1080,7 @@ A block that adds product filters to the product collection.
|
|||
- **Ancestor:**
|
||||
- **Parent:**
|
||||
- **Supports:** ~~html~~,~~reusable~~
|
||||
- **Attributes:** filterType,heading,isPreview
|
||||
- **Attributes:** filterType,heading,isPreview,attributeId
|
||||
|
||||
## Product Filter: Active Filters (Beta) - woocommerce/product-filter-active
|
||||
|
||||
|
@ -1093,6 +1104,17 @@ Enable customers to filter the product grid by selecting one or more attributes,
|
|||
- **Supports:** interactivity,~~inserter~~,color (text, ~~background~~)
|
||||
- **Attributes:** attributeId,showCounts,queryType,displayStyle,selectType,isPreview
|
||||
|
||||
## Clear - woocommerce/product-filter-clear-button
|
||||
|
||||
Allows shoppers to reset this filter.
|
||||
|
||||
- **Name:** woocommerce/product-filter-clear-button
|
||||
- **Category:** woocommerce
|
||||
- **Ancestor:** woocommerce/product-filter
|
||||
- **Parent:**
|
||||
- **Supports:** interactivity,~~inserter~~
|
||||
- **Attributes:**
|
||||
|
||||
## Product Filter: Price (Beta) - woocommerce/product-filter-price
|
||||
|
||||
Enable customers to filter the product collection by choosing a price range.
|
||||
|
@ -1126,6 +1148,17 @@ Enable customers to filter the product collection by stock status.
|
|||
- **Supports:** interactivity,~~html~~,~~multiple~~,~~inserter~~,color (text, ~~background~~)
|
||||
- **Attributes:** className,showCounts,displayStyle,selectType,isPreview
|
||||
|
||||
## Product Filters (Beta) - woocommerce/product-filters
|
||||
|
||||
Let shoppers filter products displayed on the page.
|
||||
|
||||
- **Name:** woocommerce/product-filters
|
||||
- **Category:** woocommerce
|
||||
- **Ancestor:**
|
||||
- **Parent:**
|
||||
- **Supports:** align,~~multiple~~,interactivity
|
||||
- **Attributes:**
|
||||
|
||||
## Product Gallery (Beta) - woocommerce/product-gallery
|
||||
|
||||
Showcase your products relevant images and media.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* External dependencies
|
||||
*/
|
||||
import { Locator, Page } from '@playwright/test';
|
||||
import { TemplateApiUtils, EditorUtils } from '@woocommerce/e2e-utils';
|
||||
import { EditorUtils } from '@woocommerce/e2e-utils';
|
||||
import { expect, Editor, Admin } from '@wordpress/e2e-test-utils-playwright';
|
||||
|
||||
/**
|
||||
|
@ -78,9 +78,8 @@ class ProductCollectionPage {
|
|||
private page: Page;
|
||||
private admin: Admin;
|
||||
private editor: Editor;
|
||||
private templateApiUtils: TemplateApiUtils;
|
||||
private editorUtils: EditorUtils;
|
||||
BLOCK_NAME = 'Product Collection (Beta)';
|
||||
BLOCK_NAME = 'Product Collection';
|
||||
productTemplate!: Locator;
|
||||
products!: Locator;
|
||||
productImages!: Locator;
|
||||
|
@ -93,19 +92,16 @@ class ProductCollectionPage {
|
|||
page,
|
||||
admin,
|
||||
editor,
|
||||
templateApiUtils,
|
||||
editorUtils,
|
||||
}: {
|
||||
page: Page;
|
||||
admin: Admin;
|
||||
editor: Editor;
|
||||
templateApiUtils: TemplateApiUtils;
|
||||
editorUtils: EditorUtils;
|
||||
} ) {
|
||||
this.page = page;
|
||||
this.admin = admin;
|
||||
this.editor = editor;
|
||||
this.templateApiUtils = templateApiUtils;
|
||||
this.editorUtils = editorUtils;
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: update
|
||||
|
||||
Product Collection: remove Beta label
|
|
@ -11,7 +11,7 @@ const simpleProductName = 'Simplest Product';
|
|||
const singleProductPrice = '555.00';
|
||||
|
||||
// all WooCommerce blocks except:
|
||||
// default cart and checkout blocks, mini-cart, product collection (beta)
|
||||
// default cart and checkout blocks, mini-cart, product collection
|
||||
const blocks = [
|
||||
{
|
||||
name: 'Product Price',
|
||||
|
|
Loading…
Reference in New Issue