Commit Graph

1102 Commits

Author SHA1 Message Date
Albert Juhé Lluveras 776e8d31fe Merge pull request woocommerce/woocommerce-admin#1085 from woocommerce/add/name-filter-autocompleter
Customers report: Name Advanced Filter
2018-12-19 10:39:22 +01:00
Timmy Crawford eab3592d67 Update npm versions and build script (https://github.com/woocommerce/woocommerce-admin/pull/1120)
* Use publish from-package.

* chore(release): publish

 - @woocommerce/components@1.3.0
 - @woocommerce/csv-export@1.0.1
 - @woocommerce/date@1.0.3
2018-12-18 17:25:26 -08:00
Joshua T Flowers 08d3e2c38d Change product_gross_revenue to product_net_revenue (https://github.com/woocommerce/woocommerce-admin/pull/1105)
* Change product_gross_revenue to product_net_revenue

* Change product_gross_revenue to product_net_revenue in category data store

* Change to net_revenue in frontend category report
2018-12-19 08:56:27 +08:00
Jeff Stieler a96272a5fe Merge pull request woocommerce/woocommerce-admin#1119 from woocommerce/fix/1115-number-filter-uncontrolled-warning
Fix “uncontrolled input” warning in NumberFilter component.
2018-12-18 16:34:39 -07:00
Jeff Stieler 6f773e7537 Merge pull request woocommerce/woocommerce-admin#1039 from woocommerce/fix/807-getsettings-deprecated
Remove use of deprecated @wordpress/date getSettings()
2018-12-18 16:24:41 -07:00
Kevin Killingsworth 0a1542c1cc Add section on "Dev Docs" (https://github.com/woocommerce/woocommerce-admin/pull/1123)
* Add section on "Dev Docs"

This adds information on what the devdocs are and how to view them.

* Fix components link

* Add docsify serve docs option

* Remove npx serve bit
2018-12-18 16:49:30 -06:00
Jeff Stieler 8ee2267209 Update @woocommerce/date package changelog and version number. 2018-12-18 15:46:48 -07:00
Jeff Stieler 26b6255ca3 Remove defunct `getSettings()` from devdocs example. 2018-12-18 15:46:47 -07:00
Jeff Stieler 7bc46d2c8c Fix loadLocaleData() tests, remove superfluous moment-js tests. 2018-12-18 15:46:47 -07:00
Jeff Stieler 9581a658f5 Add expected locale settings to JS test setup. 2018-12-18 15:46:46 -07:00
Jeff Stieler 3285ac4980 Include Date component required settings in app-wide settings object instead of using experimental retrieval from @wordpress/date. 2018-12-18 15:46:46 -07:00
Jeff Stieler 4d37bdc67c @wordpress/date getSettings() is deprecated, use __experimentalGetSettings() instead. 2018-12-18 15:45:41 -07:00
renovate[bot] c706b8e133 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/1104)
* Lock file maintenance

* package-lock.json: http -> https
2018-12-18 16:26:48 -06:00
Kevin Killingsworth e72a696429 Add nvmrc for newest lts release (https://github.com/woocommerce/woocommerce-admin/pull/1108)
This adds an .nvmrc file which points to the latest lts release of node.
For those people who use nvm, this will keep them current on the latest
stable version.
2018-12-18 16:06:27 -06:00
Justin Shreve f18dbe373c Fix dataEndpoints notice (https://github.com/woocommerce/woocommerce-admin/pull/1095) 2018-12-18 16:08:32 -05:00
Paul Sealock 15bbbe739d Hook up Categories table to endpoint 2018-12-19 08:36:42 +13:00
Timmy Crawford 3c2cdc4322 Fix error on dashboard. (https://github.com/woocommerce/woocommerce-admin/pull/1121)
* Fix error on dashboard.

* Revert changes from woocommerce/woocommerce-admin#1101
2018-12-18 11:32:25 -08:00
Jeff Stieler 92c96b834e Fix “uncontrolled input” warning in NumberFilter component. 2018-12-18 09:01:30 -07:00
Kevin Killingsworth 600cfd899a Add fix for npm install https issue (https://github.com/woocommerce/woocommerce-admin/pull/1109)
We've been running afoul of a known npm issue that has existed for over
6 months, where our package-lock.json file switches between http: and
https: on several dependencies:

https://npm.community/t/some-packages-have-dist-tarball-as-http-and-not-https/285/17

Since npm itself always uses https as noted in the ticket above, this
change forces all dependencies in the package-lock.json file to be
https, therefore eliminating the churn on our package-lock.json files
each time we run `npm install`.
2018-12-18 09:00:41 -06:00
Albert Juhé Lluveras 9adf2c6c86 Merge pull request woocommerce/woocommerce-admin#1117 from woocommerce/add/1030-customer-username-filter
Add customer username filter to Customers page
2018-12-18 15:55:53 +01:00
Albert Juhé Lluveras 3a1890c22c Remove unnecessary variable assignment 2018-12-18 15:06:06 +01:00
Albert Juhé Lluveras c4290f757e Merge branch 'master' into add/name-filter-autocompleter 2018-12-18 13:52:48 +01:00
Albert Juhé Lluveras 3c876fedf1 Filter missing parts of the name before displaying it 2018-12-18 13:46:24 +01:00
Albert Juhé Lluveras 741a0098fd Add placeholder to customers table searchbox 2018-12-18 13:35:58 +01:00
Albert Juhé Lluveras a836d1a89b Add customer username filter to Customers page 2018-12-18 12:11:45 +01:00
Albert Juhé Lluveras 03adb993c9 Use <Link> instead of <a> for Orders table link 2018-12-18 10:44:43 +01:00
Albert Juhé Lluveras 9ef07a41b6 Merge pull request woocommerce/woocommerce-admin#1075 from woocommerce/add/extend-customers-data-from-endpoint
Extend customers table data with data from WC endpoint
2018-12-18 09:30:03 +01:00
Joshua T Flowers 9486ab7896 Update/taxes endpoint hookup/941 (https://github.com/woocommerce/woocommerce-admin/pull/1008)
* Hook up taxes to endpoint

* Hook up tax stats endpoint

* Add default tax stat totals for empty results

* Create subtotals from intervals in API

* Change orders to orders_count to keep consistent naming
2018-12-18 10:26:46 +08:00
Justin Shreve 5924be5fa2 Add base downloads report page (https://github.com/woocommerce/woocommerce-admin/pull/1106) 2018-12-17 15:50:45 -05:00
Justin Shreve e42ad6956b Add customer email filter (https://github.com/woocommerce/woocommerce-admin/pull/1092)
* Add customer email filter

* Handle PR feedback: Fix up if statement and add extra info to validation comment
2018-12-17 11:20:11 -05:00
Albert Juhé Lluveras f819f762c4 Update docs 2018-12-17 12:22:58 +01:00
Albert Juhé Lluveras c341137a1b Store shouldRenderTags in a variable 2018-12-17 12:21:17 +01:00
Albert Juhé Lluveras d8bf42fc4d Typo 2018-12-17 12:20:23 +01:00
Albert Juhé Lluveras 501842a421 Rename 'isError' methods to 'getError' when they return an object instead of a boolean 2018-12-15 13:38:54 +01:00
Albert Juhé Lluveras 77381c0e20 Rename isError to getError in report table props 2018-12-15 13:15:13 +01:00
Albert Juhé Lluveras 41c48126bf Rename isGetCustomersError to getCustomersError 2018-12-15 13:09:47 +01:00
Jeff Stieler 08c31151b4 Merge pull request woocommerce/woocommerce-admin#1089 from woocommerce/add/1028-advanced-numerical-value-filter
Add Advanced Numerical Value Filter
2018-12-14 18:02:16 -07:00
Albert Juhé Lluveras e4fb53b8f8 Stock report (https://github.com/woocommerce/woocommerce-admin/pull/977)
* Create Stock report

* Create Stock report page

* Display product name in Stock table

* Hide 'Parent' column in Stock table

* Add stock to endpoints map

* Remove dateRangeFilter.show from ReportFilters

* Fix stock status link

* Set the default order to 'stock_quanity'

* Add correct name to StockReport
2018-12-14 15:58:08 -08:00
Albert Juhé Lluveras f9533afdda Rename 'totalCount' to 'totalResults' (https://github.com/woocommerce/woocommerce-admin/pull/1093) 2018-12-14 15:56:52 -08:00
Jeff Stieler 6eadf9c875 NumberFilter: rename “more than” and “less than” to represent a non-positional input range for “between” rules, simplify rule change logic. 2018-12-14 16:53:13 -07:00
Timmy Crawford 88b81beac0 Updating changelogs for npm release. (https://github.com/woocommerce/woocommerce-admin/pull/1088)
* Updating changelogs for npm release.

* Adding in a few more changelog items.
2018-12-14 10:44:24 -08:00
Jeff Stieler fea292125d Fix import path for formatCurrency(). 2018-12-14 11:26:11 -07:00
Albert Juhé Lluveras 346ed578ae Update comment to specify extendItemsMethodNames must be available in 'wc-api' 2018-12-14 18:12:56 +01:00
Albert Juhé Lluveras 3e9f141eca Fixes 2018-12-14 18:06:02 +01:00
Jeff Stieler 93b05bba94 Square off the corners of TextControlWithAffixes. 2018-12-14 09:59:37 -07:00
Jeff Stieler 2b8526bbfb Stope NumberFilter inputs from overflowing their container in “between” mode. 2018-12-14 09:59:23 -07:00
Albert Juhé Lluveras d972ebf672 Only update search filters based on query if the query changed 2018-12-14 17:38:31 +01:00
Albert Juhé Lluveras 302ff934d1 Make sure 'filter:advanced' is set in the URL when setting a search filter 2018-12-14 17:30:07 +01:00
Albert Juhé Lluveras 07227271fd Avoid duplicated ids when searching customers from the table search box 2018-12-14 17:19:30 +01:00
Albert Juhé Lluveras bc5073ecd4 Make sure filters are updated when using the table search box 2018-12-14 17:14:24 +01:00