woocommerce/plugins/woocommerce-blocks/tests/php/RestApi/StoreApi/Controllers
Mike Jolley c55a387657 Prevent multiple collection data requests using debounce (https://github.com/woocommerce/woocommerce-blocks/pull/1233)
* Add context for collection data query

* Introduce useCollectionData hook

* Implement hook in filter blocks

* Update API to handle nuances of counts instead of client side

* Clone requests so original is untouched

* Prevent dupe requests is working

* Cleanup

* Update assets/js/base/hooks/use-collection-data.js

Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>

* Update assets/js/base/hooks/use-collection-data.js

Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>

* Feedback

* Remove context
2019-11-23 17:04:30 +00:00
..
Cart.php REST API - Store API - Product filtering data, products endpoint, and cart refinements (https://github.com/woocommerce/woocommerce-blocks/pull/1055) 2019-10-25 10:43:52 +01:00
CartItems.php REST API - Store API - Product filtering data, products endpoint, and cart refinements (https://github.com/woocommerce/woocommerce-blocks/pull/1055) 2019-10-25 10:43:52 +01:00
ProductAttributeTerms.php Store API - Add tests for product attributes endpoints (https://github.com/woocommerce/woocommerce-blocks/pull/1151) 2019-11-12 12:04:19 +00:00
ProductAttributes.php Store API - Add tests for product attributes endpoints (https://github.com/woocommerce/woocommerce-blocks/pull/1151) 2019-11-12 12:04:19 +00:00
ProductCollectionData.php Prevent multiple collection data requests using debounce (https://github.com/woocommerce/woocommerce-blocks/pull/1233) 2019-11-23 17:04:30 +00:00
Products.php Add on_sale to Store API for it to work. (https://github.com/woocommerce/woocommerce-blocks/pull/1185) 2019-11-15 19:11:03 +01:00