woocommerce/plugins/woocommerce-admin/client/marketing/data
Gan Eng Chin 523eac0131 Display messages for empty content and network request error (https://github.com/woocommerce/woocommerce-admin/pull/5411)
* Code refactor with reducer and new action type SET_ERROR.

* Add default state for errors and code for SET_ERROR for blogPosts.

* Don't use handleFetchError, instead save the error and blogPosts category into redux store.

* Display message for error and empty content.

* Fix grammar; fix relevant test.

* Code refactor: put action type strings in one place.

* Add tests for error UI.

* Remove illustration for empty content with no blog posts.
2020-10-19 23:18:21 +08:00
..
action-types.js Display messages for empty content and network request error (https://github.com/woocommerce/woocommerce-admin/pull/5411) 2020-10-19 23:18:21 +08:00
actions.js Display messages for empty content and network request error (https://github.com/woocommerce/woocommerce-admin/pull/5411) 2020-10-19 23:18:21 +08:00
constants.js Marketing Tab MVP (https://github.com/woocommerce/woocommerce-admin/pull/3953) 2020-03-28 06:48:27 -07:00
index.js Display messages for empty content and network request error (https://github.com/woocommerce/woocommerce-admin/pull/5411) 2020-10-19 23:18:21 +08:00
reducer.js Display messages for empty content and network request error (https://github.com/woocommerce/woocommerce-admin/pull/5411) 2020-10-19 23:18:21 +08:00
resolvers.js Display messages for empty content and network request error (https://github.com/woocommerce/woocommerce-admin/pull/5411) 2020-10-19 23:18:21 +08:00
selectors.js Display messages for empty content and network request error (https://github.com/woocommerce/woocommerce-admin/pull/5411) 2020-10-19 23:18:21 +08:00