woocommerce/plugins/woocommerce-admin/client/analytics/components
Jeff Stieler 8a2750c973 Migrate user store to wp.data (https://github.com/woocommerce/woocommerce-admin/pull/4505)
* Initial user preferences custom hook (wc meta).

* Organize dependencies.

* Specify dependencies in useSelect() call.

* Remove specifying preference keys.

There's currently no performance benefit to be had.

* Add HoC for hydrating current user data.

* Add user prefs update method.

* Export user prefs hook and HoC in data package.

* Handle error condition when updating user preferences.

* Use closure to get user ID for prefs update.

* Refactor analytics dashboard to use new user hook.

* Refactor ReportTable component to use new user hook.

* Move prop access to top of function component.

* Add todo for potential manual resolution logic.

* Refactor DashboardCharts component to use new user preferences hook.

* Move code out of functional component where possible.

* Fix chart interval query property.

* Refactor Leaderboards component to use new user preferences hook.

* Move code out of functional component where possible.

* Refactor Inbox panel to use user prefs hook.

@todo - updating last read isn't working.

* Use user prefs hook in StatsOverview component.

* Export user preferences store name.

* Use new store for unread inbox indicator.

* Hydrate current user data higher up in the app.

* Update "last read" timestamp in inbox panel.

* Fix StatsOverview test.

* Remove unused dispatch method from StorePerformance component.

* Remove now defunct user methods from wc-api spec.

* Add tests for isRequesting.

* JSON decode WC meta on updated user object.

* Test user prefs retrieval and save.

* Remove todo comment.

* Use user prefs hook in Jetpack install CTA on homepage.
2020-06-10 11:46:46 -05:00
..
leaderboard Dynamic Currency with Context API (https://github.com/woocommerce/woocommerce-admin/pull/4027) 2020-04-03 10:54:38 +13:00
report-chart Dynamic Currency with Context API (https://github.com/woocommerce/woocommerce-admin/pull/4027) 2020-04-03 10:54:38 +13:00
report-error Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674) 2020-02-14 15:23:21 +13:00
report-filters Advanced Filters: fix currency initialization (https://github.com/woocommerce/woocommerce-admin/pull/4356) 2020-05-19 14:38:02 +12:00
report-summary Dynamic Currency with Context API (https://github.com/woocommerce/woocommerce-admin/pull/4027) 2020-04-03 10:54:38 +13:00
report-table Migrate user store to wp.data (https://github.com/woocommerce/woocommerce-admin/pull/4505) 2020-06-10 11:46:46 -05:00
index.js Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674) 2020-02-14 15:23:21 +13:00