Jeff Stieler
a2f94c11ba
Add coupons and taxes lookup table generation to reports rebuild.
2019-01-16 09:45:51 -07:00
Jeff Stieler
84732137bc
Bail out of creating batches for customers and orders if there are none.
2019-01-16 09:45:51 -07:00
Jeff Stieler
ffe11650a8
Remove now-defunct order stats background process.
2019-01-16 09:45:50 -07:00
Jeff Stieler
763cc972a7
Regenerate all reports from rebuild stats endpoint.
2019-01-16 09:45:04 -07:00
Jeff Stieler
5c6174066e
Add tests for report regeneration batch queuing methods.
2019-01-16 09:45:04 -07:00
Jeff Stieler
1a5af7094d
Add WC_Action_Queue test helper class.
...
The test helper allows inspection of the action queue.
2019-01-16 09:45:04 -07:00
Jeff Stieler
4786938bdf
Fix customers report tests.
2019-01-16 09:45:03 -07:00
Jeff Stieler
6eca20c5fd
Reports regenerate: add mechanism to queue an action after another completes - use to queue orders lookup init after customers lookup.
2019-01-16 09:45:03 -07:00
Jeff Stieler
4740f93985
Reports regenerate: use queue to update order stats and products lookup table.
2019-01-16 09:45:02 -07:00
Jeff Stieler
3b9a4ef4a1
Report regeneration: allow batch sizes to differ between actions.
2019-01-16 09:45:02 -07:00
Jeff Stieler
fabc1dc70b
Reports regenerate: use queue to update customers lookup table.
2019-01-16 09:45:02 -07:00
Jeff Stieler
c361119a0d
Report table generation: add method for enqueuing a large number of batch jobs with a limited batch size.
2019-01-16 09:45:01 -07:00
Timmy Crawford
d45f31c389
Update packages docs ( https://github.com/woocommerce/woocommerce-admin/pull/1324 )
2019-01-16 08:39:37 -08:00
Timmy Crawford
0cb75629de
Release v0.5.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1319 )
...
* Release 0.5.0
* Updates from release build.
2019-01-16 08:24:45 -08:00
renovate[bot]
e6dd023fc8
Update dependency recast to v0.16.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1318 )
2019-01-16 13:13:44 +01:00
renovate[bot]
f3c61d4121
Update dependency eslint-plugin-jest to v22.1.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1317 )
2019-01-16 13:01:02 +01:00
renovate[bot]
65c2a01213
Update dependency dompurify to v1.0.9 ( https://github.com/woocommerce/woocommerce-admin/pull/1315 )
2019-01-16 12:58:54 +01:00
renovate[bot]
78cfaec287
Update dependency core-js to v2.6.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1314 )
2019-01-16 12:57:08 +01:00
renovate[bot]
f8c6d949e4
Pin dependency node-watch to 0.6.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1313 )
2019-01-16 12:55:13 +01:00
Joshua T Flowers
33a7cfa1b0
Store all order statuses ( https://github.com/woocommerce/woocommerce-admin/pull/1285 )
...
* Store all orders regardless of status in wc_order_stats
* Only query select statuses if status_is or status_is_not is not set
* Fix order stats example query
* Filter category store by default order statuses
* Add table_name to interval functions to avoid ambiguity
* Filter coupon store by default order statuses
* Fix interval stats by adding table_name to interval function
* Filter products store by default order statuses
* Remove unused order_status in coupons data store
* Store products with any order status
* Fix ambiguous order by call in products data store
* Apply status filter after other filters to avoid logical OR matching
* Store all coupon data regardless of order status
* Filter taxes by default order statuses
* Filter customer stats by default order status
* Filter default order statuses in variations data store
* Use excluded statuses to filter reports by default
* DRY up default excluded statuses query
* Fix up new orders data store after rebase
2019-01-16 10:23:00 +08:00
Albert Juhé Lluveras
1001dd0601
Fix watch package files in Linux ( https://github.com/woocommerce/woocommerce-admin/pull/1301 )
2019-01-15 19:40:13 +01:00
Albert Juhé Lluveras
de4309d61e
Remove `barfocus` elements from charts ( https://github.com/woocommerce/woocommerce-admin/pull/1311 )
...
* Remove barfocus elements from charts
* Render background color behind bars
* Rename barmouse to barfocus
2019-01-15 19:40:02 +01:00
renovate[bot]
a5cfc072c2
Pin dependency mini-css-extract-plugin to 0.5.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1309 )
2019-01-15 12:09:07 +01:00
Albert Juhé Lluveras
8b341f0981
Replace 'extract-text-webpack-plugin' with 'mini-css-extract-plugin' ( https://github.com/woocommerce/woocommerce-admin/pull/1299 )
2019-01-15 11:55:54 +01:00
Joshua T Flowers
ee19308254
Add initial state hydration for user data ( https://github.com/woocommerce/woocommerce-admin/pull/1297 )
...
* Hydrate initial state through localized script
* Parse user meta for default rows as integer
* Change eslint ignore to undef only
* Add currentUserData to wcSettings
2019-01-15 10:24:06 +08:00
Joshua T Flowers
4b3df7732b
Add showMenu prop to TableCard to hide ellipsis menu ( https://github.com/woocommerce/woocommerce-admin/pull/1296 )
...
* Add showMenu prop to TableCard to hide ellipsis menu
* Fix proptype description
2019-01-15 10:13:15 +08:00
Joshua T Flowers
14f8f08edf
Add v4 orders endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/1246 )
...
* Rename orders controllers and data store to order stats
* Add orders data store and controller
* Add coupon, product, and status filters
* Add customer type query filter
* Add extended info for products and categories
* Bump API namespace to v4
* Add missing schema properties
* Set default customer_type and extended_info params
* Add orders endpoint tests
* Only use one JOIN if both excluded and included queries are used
* Optimize query calls to get product and category data
* Split product and category fetch and limit to product_cat taxonomy
2019-01-15 09:53:02 +08:00
Paul Sealock
1fa45e4364
Merge pull request woocommerce/woocommerce-admin#1146 from woocommerce/add/date-filter-calendar
...
Advanced Filters: Add DatePicker
2019-01-15 09:43:10 +13:00
Paul Sealock
64d52b0d2f
Merge pull request woocommerce/woocommerce-admin#1233 from woocommerce/fix/devDocs-filePath
...
Fix/dev docs file path
2019-01-15 09:42:24 +13:00
Justin Shreve
a3ccfd300e
Fix date formatting in safari by switching to moment ( https://github.com/woocommerce/woocommerce-admin/pull/1290 )
2019-01-14 11:29:46 -05:00
renovate[bot]
81b28d7b19
Update dependency eslint-plugin-react to v7.12.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1261 )
2019-01-14 12:52:16 +01:00
renovate[bot]
af91eacacb
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1242 )
2019-01-14 12:08:06 +01:00
renovate[bot]
2cd434c676
Update dependency chalk to v2.4.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1258 )
2019-01-14 11:47:28 +01:00
renovate[bot]
0f25d33fcc
Update dependency babel-loader to v8.0.5 ( https://github.com/woocommerce/woocommerce-admin/pull/1257 )
2019-01-14 11:45:23 +01:00
renovate[bot]
0bdbf3b724
Update dependency eslint to v5.12.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1259 )
2019-01-14 11:42:51 +01:00
renovate[bot]
8ff156fb8d
Update dependency autoprefixer to v9.4.5 ( https://github.com/woocommerce/woocommerce-admin/pull/1256 )
2019-01-14 11:31:18 +01:00
renovate[bot]
b19b8b8687
Update dependency lerna to v3.10.5 ( https://github.com/woocommerce/woocommerce-admin/pull/1262 )
2019-01-14 11:26:35 +01:00
Albert Juhé Lluveras
f009506a45
Makes table dates accessible ( https://github.com/woocommerce/woocommerce-admin/pull/1274 )
...
* Create 'Date' component to render accessible dates
* Add tests
2019-01-14 10:54:44 +01:00
Paul Sealock
be76392a0c
devDocs: update path for prop docs
2019-01-14 15:07:28 +13:00
Paul Sealock
7525e2347a
Add calendar to date advanced filter
2019-01-14 13:22:39 +13:00
Albert Juhé Lluveras
328a49127a
Remove decimals from Y-axis ( https://github.com/woocommerce/woocommerce-admin/pull/1288 )
...
* Remove decimals from Y-axis
* Add CHANGELOG message
2019-01-11 19:18:31 +01:00
Albert Juhé Lluveras
ad457cc123
Avoid duplicated Y-axis values ( https://github.com/woocommerce/woocommerce-admin/pull/1289 )
...
* Avoid duplicated yGrids
* Add tests
* Rename 'roundedValue' to 'value' to better reflect its contents
* Add CHANGELOG message
2019-01-11 19:16:29 +01:00
Albert Juhé Lluveras
753ec498ba
Update activity button focus styles ( https://github.com/woocommerce/woocommerce-admin/pull/1287 )
...
* Update activity button focus styles
* Set overflow to 'auto' instead of 'scroll' in activity panels
2019-01-11 18:45:06 +01:00
Timmy Crawford
7d89799194
Remove hour from default clause in getAllowedIntervalsForQuery when period is empty ( https://github.com/woocommerce/woocommerce-admin/pull/1279 )
2019-01-11 07:51:24 -08:00
Justin Shreve
764845a6c0
Add top categories block ( https://github.com/woocommerce/woocommerce-admin/pull/1276 )
...
* Add Top Categories Block
* Update category and product blocks with correct links.
* Handle PR feedback/design cleanup
2019-01-11 10:11:10 -05:00
Albert Juhé Lluveras
9d1edd6a56
Make d3chart component stateless ( https://github.com/woocommerce/woocommerce-admin/pull/1273 )
...
* Make d3chart component stateless
* Move back 'drawChart' to d3chart/chart.js
* Add getColor method changelog comment
* Reorder chart constructor methods binding
2019-01-11 12:24:10 +01:00
Joshua T Flowers
e68f751298
Change category gross stats to net ( https://github.com/woocommerce/woocommerce-admin/pull/1283 )
2019-01-11 17:56:58 +08:00
Jeff Stieler
3efebb37e1
Merge pull request woocommerce/woocommerce-admin#1267 from woocommerce/update/numeric-filter-array-value
...
Numeric filter: generate a true array value for “between” rule
2019-01-10 19:31:15 -07:00
Jeff Stieler
adf8bbeb23
Merge pull request woocommerce/woocommerce-admin#1260 from woocommerce/fix/1239-handle-between-rest-api-param
...
Handle *_between params in Reports controllers
2019-01-10 10:52:08 -07:00
Justin Shreve
350e296d2c
Allow sorting by title and SKU to report tables ( https://github.com/woocommerce/woocommerce-admin/pull/1266 )
2019-01-10 12:10:31 -05:00