Remove order and checkout order endpoints experimental flag (https://github.com/woocommerce/woocommerce-blocks/pull/11022)
* Remove order and checkout order endpoint feature flag * Remove Order Route and Checkout Order Route from experimental flag list * Remove order and checkout order endpoint feature flag * Remove Order Route and Checkout Order Route from experimental flag list * Update e2e tests selector * Revert "Update e2e tests selector" This reverts commit 2a6b561a883c701be1da2ffc39200cd19a85f1e3. --------- Co-authored-by: Niels Lange <info@nielslange.de>
This commit is contained in:
parent
963be4ea7a
commit
72ebfbf3dd
|
@ -40,8 +40,6 @@ The majority of our feature flagging is blocks, this is a list of them:
|
|||
- Product Gallery Pager ([PHP flag](https://github.com/woocommerce/woocommerce-blocks/blob/7f0d55d54885f436778f04a6389e92b8785d5c68/src/BlockTypesController.php#L237) | [webpack flag](https://github.com/woocommerce/woocommerce-blocks/blob/7f0d55d54885f436778f04a6389e92b8785d5c68/bin/webpack-entries.js#L64-L67)).
|
||||
- Product Gallery Thumbnails ([PHP flag](https://github.com/woocommerce/woocommerce-blocks/blob/7f0d55d54885f436778f04a6389e92b8785d5c68/src/BlockTypesController.php#L238) | [webpack flag](https://github.com/woocommerce/woocommerce-blocks/blob/7f0d55d54885f436778f04a6389e92b8785d5c68/bin/webpack-entries.js#L68-L71)).
|
||||
- ⚛️ Add to cart ([JS flag](https://github.com/woocommerce/woocommerce-blocks/blob/dfd2902bd8a247b5d048577db6753c5e901fc60f/assets/js/atomic/blocks/product-elements/add-to-cart/index.ts#L26-L29)).
|
||||
- Order Route ([PHP flag](https://github.com/woocommerce/woocommerce-blocks/blob/b4a9dc9334f82c09f533b0f88c947b5c34e4e546/src/StoreApi/RoutesController.php#L65-L67))
|
||||
- Checkout Order Route ([PHP flag](https://github.com/woocommerce/woocommerce-blocks/blob/b4ba06a6242cbb6a64d2ec554a263ebe60d8d3af/src/StoreApi/RoutesController.php#L67))
|
||||
|
||||
## Features behind flags
|
||||
|
||||
|
|
|
@ -46,6 +46,8 @@ class RoutesController {
|
|||
Routes\V1\CartUpdateItem::IDENTIFIER => Routes\V1\CartUpdateItem::class,
|
||||
Routes\V1\CartUpdateCustomer::IDENTIFIER => Routes\V1\CartUpdateCustomer::class,
|
||||
Routes\V1\Checkout::IDENTIFIER => Routes\V1\Checkout::class,
|
||||
Routes\V1\CheckoutOrder::IDENTIFIER => Routes\V1\CheckoutOrder::class,
|
||||
Routes\V1\Order::IDENTIFIER => Routes\V1\Order::class,
|
||||
Routes\V1\Patterns::IDENTIFIER => Routes\V1\Patterns::class,
|
||||
Routes\V1\ProductAttributes::IDENTIFIER => Routes\V1\ProductAttributes::class,
|
||||
Routes\V1\ProductAttributesById::IDENTIFIER => Routes\V1\ProductAttributesById::class,
|
||||
|
@ -60,11 +62,6 @@ class RoutesController {
|
|||
Routes\V1\ProductsBySlug::IDENTIFIER => Routes\V1\ProductsBySlug::class,
|
||||
],
|
||||
];
|
||||
|
||||
if ( Package::is_experimental_build() ) {
|
||||
$this->routes['v1'][ Routes\V1\Order::IDENTIFIER ] = Routes\V1\Order::class;
|
||||
$this->routes['v1'][ Routes\V1\CheckoutOrder::IDENTIFIER ] = Routes\V1\CheckoutOrder::class;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue