Commit Graph

1236 Commits

Author SHA1 Message Date
renovate[bot] b22c2f6c83 Update dependency webpack to v4.28.2 (https://github.com/woocommerce/woocommerce-admin/pull/1177) 2018-12-26 13:55:29 +08:00
renovate[bot] 48c90fc5b9 Update dependency husky to v1.2.1 (https://github.com/woocommerce/woocommerce-admin/pull/1174) 2018-12-26 13:49:42 +08:00
renovate[bot] eea6ef7314 Update dependency css-loader to v2.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/1171) 2018-12-26 13:46:24 +08:00
Joshua T Flowers ab310320dd Fix ie11 blank screen by babel transforms (https://github.com/woocommerce/woocommerce-admin/pull/1170)
* Add specific vendor packages to babel loader to fix ie11 transforms

* Remove unused buble
2018-12-26 10:46:32 +08:00
Joshua T Flowers c747d3399e Use unbounded per_page limit in apiFetch for categories (https://github.com/woocommerce/woocommerce-admin/pull/1149) 2018-12-26 10:37:02 +08:00
Joshua T Flowers f88311b372 Check for product categories before loading value (https://github.com/woocommerce/woocommerce-admin/pull/1164)
* Check for product categories before loading value

* Filter product category list for undefined values

* Remove unnecessary double check of productCategories
2018-12-25 18:28:37 +08:00
Albert Juhé Lluveras f51dba44a0 Charts: fix weird Y-axis ticks when max Y value is a small number (https://github.com/woocommerce/woocommerce-admin/pull/1168) 2018-12-25 11:16:52 +01:00
Albert Juhé Lluveras 1ca1dba3e7 Add Categories report filters (https://github.com/woocommerce/woocommerce-admin/pull/1167)
* Add Categories report filters

* Remove the option to sort categories by name, given that it's not supported by the endpoint
2018-12-25 10:28:20 +01:00
Joshua T Flowers 024d267ae6 Set minimum content height to prevent cutoff of absolute content (https://github.com/woocommerce/woocommerce-admin/pull/1166)
* Set minimum content height to prevent cutoff of absolute content

* Add admin bar height vars for SCSS and apply them
2018-12-25 12:34:24 +08:00
Joshua T Flowers 7cf9e293e1 Fix margin on dashboard block charts (https://github.com/woocommerce/woocommerce-admin/pull/1165) 2018-12-25 11:02:23 +08:00
Joshua T Flowers dcaa35c7bf Add product SKU to products report (https://github.com/woocommerce/woocommerce-admin/pull/1161)
* Add product SKU to products report

* Add tests for SKU data
2018-12-25 11:02:06 +08:00
Joshua T Flowers bdcebd7ea3 Clear filter query on removing all items (https://github.com/woocommerce/woocommerce-admin/pull/1162) 2018-12-25 11:01:39 +08:00
Albert Juhé Lluveras 5c8cfbc03f Report components docs (https://github.com/woocommerce/woocommerce-admin/pull/1140)
* Extend docs to report components

* Improve inline documentation in some files

* Update doc files

* Undo unnecessary doc changes

* Remove unnecessary line breaks in sidebar

* Rename 'Client components' to 'Analytics components'

* Minor docs fixes

* Rename toc contents to toc sections

* Update endpoint props doc to add an example and more information

* Fix outdated comment

* Fix merge error
2018-12-22 12:46:10 +01:00
Joshua T Flowers 9a4e613a2e Make user column preferences refer to hidden columns (https://github.com/woocommerce/woocommerce-admin/pull/1150)
* Make user column preferences refer to hidden columns

* Destructure props in onColumnsChange
2018-12-22 10:27:30 +08:00
renovate[bot] dfc7d8ae1b Update dependency core-js to v2.6.1 (https://github.com/woocommerce/woocommerce-admin/pull/1128) 2018-12-21 20:03:41 -06:00
Justin Shreve 579113910d Add remaining filters to the downloads report (https://github.com/woocommerce/woocommerce-admin/pull/1141)
* Add order number, username, and IP address filters to the downloads report.

* Adds tests
2018-12-21 16:40:41 -08:00
Robert Elliott ebd857cefa Add/chart dashboard block (https://github.com/woocommerce/woocommerce-admin/pull/1002)
* added new block and dashboard charts

section title and filters... lots of duplicate keys

toggle chart types in block heading

* Updates per feedback.

* Add some documentaiton about new interactive prop on chart/legend

* Revert a few files that only had whitespace changes.
2018-12-21 16:24:26 -08:00
Justin Shreve 49a0f0f6d2 Add `reports/downloads` REST API endpoint. (https://github.com/woocommerce/woocommerce-admin/pull/1122)
* First pass at downloads REST API

* Handle PR feedback
2018-12-21 14:57:46 -08:00
Joshua T Flowers 56577101c4 Add customer numeric filters (https://github.com/woocommerce/woocommerce-admin/pull/1116)
* Add customer numeric filters

* Add between params to customers controller

* Escape strings for translation and change inputs to currency

* Add Currency shorthand filter
2018-12-21 12:07:54 +08:00
Joshua T Flowers f83b0e0615 Add product categories wc-api and breadcrumbs (https://github.com/woocommerce/woocommerce-admin/pull/1131)
* Add support for product cats in wp rest api

* Add categories to WC API

* Add category breadcrumbs component

* Increase per_page limit size for product cat API

* Use wc/v3 API to pull product categories

* Return category IDs in API

* Add categories to product reports

* Add category IDs test for REST API

* Switch to getResource instead of require for total count selector
2018-12-21 10:44:27 +08:00
Paul Sealock 47b674ace2 Merge pull request woocommerce/woocommerce-admin#1069 from woocommerce/update/calendar-component-inline-picker
Add Single Date Picker
2018-12-21 15:25:54 +13:00
renovate[bot] 69a11b50e4 Update dependency autoprefixer to v9.4.3 (https://github.com/woocommerce/woocommerce-admin/pull/1125) 2018-12-20 20:20:05 -06:00
Paul Sealock c76ceb2591 DatePicker: cleanup example, propTypes 2018-12-21 15:19:10 +13:00
Joshua T Flowers 716ebc0658 Hook up coupons to REST API (https://github.com/woocommerce/woocommerce-admin/pull/1112) 2018-12-21 10:13:57 +08:00
Paul Sealock 524bb0c96f DateRangeFilterPicker 2018-12-21 11:58:01 +13:00
Paul Sealock bbb42e601c Merge pull request woocommerce/woocommerce-admin#1135 from woocommerce/fix/categories-query-optimization
REST API: Categories query optimization
2018-12-21 11:42:36 +13:00
Paul Sealock 46c313cdc7 REST API: Categories: optimize query by removing get_the_terms 2018-12-21 11:08:08 +13:00
renovate[bot] 4e68b56fdc Update dependency css-loader to v2.0.1 (https://github.com/woocommerce/woocommerce-admin/pull/1129)
* Update dependency css-loader to v2.0.1

* http -> https
2018-12-20 13:25:36 -06:00
Joshua T Flowers 5bab0767b6 Fix item refunds report data (https://github.com/woocommerce/woocommerce-admin/pull/1059)
* Fix product report data issue when issuing item refund

* Modify product order lookup stats when refund is given

* Remove products where orders are refunded

* Remove unused  var and add comment about early return

* Reduce product revenue if quantity still remains after refund

* Fix subtotal array key and abs value for float

* Change product_gross_revenue to product_net_revenue
2018-12-21 02:40:44 +08:00
renovate[bot] 3718692ad6 Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/1124) 2018-12-20 09:56:02 -06:00
Albert Juhé Lluveras 1cb7378f76 Fix Tag misalignment inside Search in Firefox (https://github.com/woocommerce/woocommerce-admin/pull/1132) 2018-12-20 10:06:52 +01:00
Paul Sealock 280e78cf01 Merge pull request woocommerce/woocommerce-admin#1134 from woocommerce/fix/variations-query-params
Variations Table: add product, variations query params
2018-12-20 14:19:06 +13:00
renovate[bot] 01a8fe9741 Pin dependency replace to 1.0.1 (https://github.com/woocommerce/woocommerce-admin/pull/1118) 2018-12-19 17:54:33 -06:00
Kelly Dwan 867b51a18e Add Accessibility section to the PR template (https://github.com/woocommerce/woocommerce-admin/pull/1133) 2018-12-19 17:33:02 -05:00
Paul Sealock eebc20e293 Variations Table: add product, variations query params 2018-12-20 08:43:35 +13:00
Peter Fabian dff8b63271 Merge pull request woocommerce/woocommerce-admin#1010 from woocommerce/fix/845
Added /reports/coupons and /reports/coupons/stats endpoints
2018-12-19 13:55:28 +01:00
Peter Fabian 4802736a0e Switched from using coupon code filter to coupon id filter by query parameter. 2018-12-19 13:37:54 +01:00
Albert Juhé Lluveras 5f593d663e Downloads Report: add summary number, chart and table (https://github.com/woocommerce/woocommerce-admin/pull/1113)
* Downloads Report: add summary number, chart and table

* Use template literal for Downlodas table link

* Add columnPrefsKey to Downloads report table
2018-12-19 12:18:43 +01:00
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