woocommerce/plugins/woocommerce-admin/client/homescreen
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
..
activity-panel Fix/7358 stock api performance improvement (https://github.com/woocommerce/woocommerce-admin/pull/7377) 2021-07-20 16:47:22 -07:00
stats-overview Set default value for performanceIndicators var (https://github.com/woocommerce/woocommerce-admin/pull/7343) 2021-07-13 20:09:02 -07:00
test Allow packages to be built in isolation. (https://github.com/woocommerce/woocommerce-admin/pull/7286) 2021-07-14 16:38:57 -04:00
welcome-from-calypso-modal Updated copy in task lists (https://github.com/woocommerce/woocommerce-admin/pull/6298) 2021-02-11 12:57:51 +13:00
welcome-modal Fix missing i18n in welcome modal (https://github.com/woocommerce/woocommerce-admin/pull/6468) 2021-03-02 11:21:48 +08:00
column.js Fix column scroll collision after layout change. (https://github.com/woocommerce/woocommerce-admin/pull/5586) 2020-11-11 12:19:24 -05:00
constants.js Add navigation intro modal (https://github.com/woocommerce/woocommerce-admin/pull/6367) 2021-02-22 13:40:44 -05:00
index.tsx Fix TypeScript build for `packages` and add types for wc/data's onboarding store (https://github.com/woocommerce/woocommerce-admin/pull/6595) 2021-03-25 10:29:37 +13:00
layout.js Analytics Flag: Remove performance indicators when disabled (https://github.com/woocommerce/woocommerce-admin/pull/7234) 2021-07-01 11:16:11 +12:00
style.scss Update single column home screen width to 680px (https://github.com/woocommerce/woocommerce-admin/pull/6297) 2021-02-22 09:10:39 +08:00