woocommerce/plugins/woocommerce-admin/client
Kevin Killingsworth 11176f7b0e wc-api: Add user meta for UI preferences (https://github.com/woocommerce/woocommerce-admin/pull/1057)
* wc-api: Add user meta for UI preferences

This adds wc-api code to store UI preferences and provides one example
of updating the revenue table to save column preferences.

* wc-api user: fix returns of operations to arrays

Before, a function was returning undefined when the resourceNames didn't
include what we wanted for the user operations. This was causing some
console errors.

* ReportTable: use columnPrefsKey

This uses `columnPrefsKey` for the user preferences key instead of some
erroneously hard-coded values.

* Fix formatting/comments

These are a couple of small formatting and comment fixes.

* Replace woocommerce_meta_ prefix with wc_admin_

This changes the prefix for the meta fields for the `woocommerce_meta`
user meta array to be `wc_admin_` which better hints at the purpose of
these settings.
2018-12-13 13:24:54 -06:00
..
analytics wc-api: Add user meta for UI preferences (https://github.com/woocommerce/woocommerce-admin/pull/1057) 2018-12-13 13:24:54 -06:00
dashboard REST API: isolate extened info in /reports/products 2018-12-04 13:01:36 +13:00
devdocs Build: Move components to packages dir (https://github.com/woocommerce/woocommerce-admin/pull/804) 2018-11-15 13:16:23 -05:00
header Add Live Data to Reviews Panel (https://github.com/woocommerce/woocommerce-admin/pull/1055) 2018-12-12 08:35:56 -05:00
layout Persist chart settings 2018-11-20 12:55:30 +13:00
lib Build: Move components to packages dir (https://github.com/woocommerce/woocommerce-admin/pull/804) 2018-11-15 13:16:23 -05:00
store Customers: add one advanced filter 2018-12-11 09:01:22 +13:00
stylesheets Add z-index to admin menu wrap to fix menu overlapping (https://github.com/woocommerce/woocommerce-admin/pull/1049) 2018-12-11 08:59:35 +08:00
wc-api wc-api: Add user meta for UI preferences (https://github.com/woocommerce/woocommerce-admin/pull/1057) 2018-12-13 13:24:54 -06:00
embedded.js Fix Activity Panel on existing WooCommerce pages (https://github.com/woocommerce/woocommerce-admin/pull/1004) 2018-12-06 17:08:40 -05:00
index.js Add wc-api and "Fresh Data" (https://github.com/woocommerce/woocommerce-admin/pull/833) 2018-11-29 09:57:49 -06:00