woocommerce/plugins/woocommerce-admin/client
Moon 6f163b4cee Fix/7358 stock api performance improvement (https://github.com/woocommerce/woocommerce-admin/pull/7377)
* Add a new endpoint to get low in stock products.

* Set images and attributes property

* WIP -- set last order date

* Do not join postmeta if store does not have any custom stock threshold

* Combine get_query() and get_query_for_sitewide_threshold() into one method and a few code clean ups

* Support status field

* Use new products/low-in-stock endpoint to count low in stock products.

* Use new products/low-in-stock to get low in stock products data.

* Remove low_in_stock support

* Deprecate low_in_stock

* Use the new ProductsLowInStock when low_in_stock is set

* Set cache-control header for the new endpoint

* Use wc_rest_prepare_date_response to format the response date

* Extract low in stock test to a separate file

* Make is_using_sitewide_stock_threshold_only protected

* Revert Products.php changes

* Add back low in stock test to products test

* Remove unnecessary if

* Make the controller final

* Deprecate low_in_stock

* Bug fix -- last_order_date was not setting correctly for variation post type. This commit fixes it

* Add changelog
2021-07-20 16:47:22 -07:00
..
analytics Allow packages to be built in isolation. (https://github.com/woocommerce/woocommerce-admin/pull/7286) 2021-07-14 16:38:57 -04:00
customer-effort-score-tracks Add CES survey for search product, order, customer (https://github.com/woocommerce/woocommerce-admin/pull/6420) 2021-03-11 17:35:57 +08:00
dashboard Allow packages to be built in isolation. (https://github.com/woocommerce/woocommerce-admin/pull/7286) 2021-07-14 16:38:57 -04:00
embedded-body-layout Allow packages to be built in isolation. (https://github.com/woocommerce/woocommerce-admin/pull/7286) 2021-07-14 16:38:57 -04:00
header Add lazy loading by checking panel open status and lint fix (https://github.com/woocommerce/woocommerce-admin/pull/7379) 2021-07-19 14:56:41 +08:00
homescreen Fix/7358 stock api performance improvement (https://github.com/woocommerce/woocommerce-admin/pull/7377) 2021-07-20 16:47:22 -07:00
hooks Refactor panel with withFocusOutside (https://github.com/woocommerce/woocommerce-admin/pull/6233) 2021-02-16 15:01:11 -05:00
inbox-panel Fix some minor inbox panel issues, left over from re-factor (https://github.com/woocommerce/woocommerce-admin/pull/7125) 2021-06-09 16:38:22 -03:00
layout Fix transient overlapping adjacent content (https://github.com/woocommerce/woocommerce-admin/pull/7302) 2021-07-08 12:21:56 -03:00
lib A/B test creating a business features step for free extensions (https://github.com/woocommerce/woocommerce-admin/pull/5786) 2021-01-07 11:08:57 +13:00
marketing Allow packages to be built in isolation. (https://github.com/woocommerce/woocommerce-admin/pull/7286) 2021-07-14 16:38:57 -04:00
mobile-banner Remove the use of Dashicons and replace with `@wordpress/icons` or `gridicons` (https://github.com/woocommerce/woocommerce-admin/pull/7020) 2021-05-25 12:14:14 -03:00
navigation Allow packages to be built in isolation. (https://github.com/woocommerce/woocommerce-admin/pull/7286) 2021-07-14 16:38:57 -04:00
payments Allow packages to be built in isolation. (https://github.com/woocommerce/woocommerce-admin/pull/7286) 2021-07-14 16:38:57 -04:00
profile-wizard Fixed OBW - Business details style (https://github.com/woocommerce/woocommerce-admin/pull/7353) 2021-07-15 14:04:19 -03:00
settings Add settings client pages and plumbing (https://github.com/woocommerce/woocommerce-admin/pull/6092) 2021-02-12 14:32:42 -05:00
store-management-links Allow packages to be built in isolation. (https://github.com/woocommerce/woocommerce-admin/pull/7286) 2021-07-14 16:38:57 -04:00
stylesheets Use sass-migrator to migrate division to math.div (https://github.com/woocommerce/woocommerce-admin/pull/7136) 2021-06-10 17:09:27 +08:00
task-list Fixing a few issues with tracks events in gateway suggestions (https://github.com/woocommerce/woocommerce-admin/pull/7304) 2021-07-19 15:23:06 -07:00
utils Update UI for Payment Task Screen (https://github.com/woocommerce/woocommerce-admin/pull/6766) 2021-04-15 11:42:31 -07:00
wp-admin-scripts Allow packages to be built in isolation. (https://github.com/woocommerce/woocommerce-admin/pull/7286) 2021-07-14 16:38:57 -04:00
index.js Remove fragile selector. (https://github.com/woocommerce/woocommerce-admin/pull/7053) 2021-05-26 13:36:04 +12:00
jest.config.json Allow packages to be built in isolation. (https://github.com/woocommerce/woocommerce-admin/pull/7286) 2021-07-14 16:38:57 -04:00