woocommerce/plugins/woocommerce-admin/client/wc-api
coderkevin 78e85f87c3 Improve hidden tab suppression/fix rapid requests
This fixes the rapid request problem that was happening when switching
tabs while having timed out requests. It changes the approach from
suppressing the actions sent out to preventing the read function from
being called at all.

I think the original problem has occurred because the original approach
was relying on an internal implementation of apiFetch from wp.data. This
new approach does not have such a dependency. It prevents apiFetch from
even being called. However, in the process, it will also prevent any
newly required resources from being fetched if the user manages to
switch tabs before it is requested. (e.g. refresh, then switch tabs
quickly).
2019-06-10 17:03:08 -05:00
..
imports Hook up import/totals endpoint to Historical Data Import screen (https://github.com/woocommerce/woocommerce-admin/pull/2208) 2019-05-20 22:50:25 +02:00
items Encode and decode persited query as JSON string in the leaderboards controller (https://github.com/woocommerce/woocommerce-admin/pull/2100) 2019-04-24 04:38:49 +08:00
notes Add empty states for the Inbox and Orders panels (https://github.com/woocommerce/woocommerce-admin/pull/2037) 2019-04-15 09:06:34 +02:00
onboarding Add Onboarding Step 5 - Industry (https://github.com/woocommerce/woocommerce-admin/pull/2323) 2019-05-30 14:31:07 +08:00
reports pass in filters 2019-03-25 13:03:53 +13:00
reviews Rename 'isError' methods to 'getError' when they return an object instead of a boolean 2018-12-15 13:38:54 +01:00
settings Store state settings individually to prevent overwriting (https://github.com/woocommerce/woocommerce-admin/pull/2317) 2019-05-28 22:23:05 +08:00
user Save section/block preferences in user data (https://github.com/woocommerce/woocommerce-admin/pull/2148) 2019-05-07 09:21:34 +02:00
wp-data-store Improve hidden tab suppression/fix rapid requests 2019-06-10 17:03:08 -05:00
constants.js Add empty state for the Reviews panels (https://github.com/woocommerce/woocommerce-admin/pull/2124) 2019-04-30 11:40:10 +02:00
utils.js Attempt to include report stats type in resource name prefix rather than identifier. 2018-12-07 16:39:42 -07:00
wc-api-spec.js Improve hidden tab suppression/fix rapid requests 2019-06-10 17:03:08 -05:00
with-select.js Fix withSelect to release resources on unmount (https://github.com/woocommerce/woocommerce-admin/pull/1999) 2019-04-09 09:56:25 -05:00