Justin Shreve
01b96ebea5
Hook up performance indicators to the REST API
2019-01-18 08:19:19 -05:00
Justin Shreve
96fc10747f
Add label and generated report URL to the performance indicator response.
2019-01-18 08:16:52 -05:00
Joshua T Flowers
25e7192ecb
Move search icon inside input wrapper ( https://github.com/woocommerce/woocommerce-admin/pull/1351 )
2019-01-18 18:51:47 +08:00
Joshua T Flowers
fb8c4dd92f
Add single category filter to categories report ( https://github.com/woocommerce/woocommerce-admin/pull/1336 )
...
* Add single category filter to categories report
* Change categories leaderboard link to signle category link
* Remove todo comment regarding the single_category filter
* Update category links to categories report in products table
2019-01-18 15:46:12 +08:00
Joshua T Flowers
e0853b5408
Add country code as keyword for countries search ( https://github.com/woocommerce/woocommerce-admin/pull/1337 )
...
* Add country name to tooltip and screen reader text
* Add country code to autocompleter keywords
2019-01-18 11:13:07 +08:00
Joshua T Flowers
6b29ec01a7
Add autocompleter input type and fix load options ( https://github.com/woocommerce/woocommerce-admin/pull/1334 )
...
* Allow inputType option for autocompleters
* Return early if optionsData is undefined in loadOptions
* Remove number spinners for autocomplete number inputs
2019-01-18 10:53:38 +08:00
Joshua T Flowers
7cdbbf87e8
Update all wc-admin endpoints to v4 ( https://github.com/woocommerce/woocommerce-admin/pull/1298 )
...
* Update all wc-admin endpoints to v4
* Add namespace for products and customers controllers
* Include product quantity in orders data store
* Add coupons to extended data in the orders data store
* Format order statuses response from database
* Hook up orders table to orders endpoint
* Add namespace to data endpoint controller
* Add namespaces to remaining extended controllers
* Use NAMESPACE var in place of wc/v4
* Update product links in orders table to products reports
* Add coupons rest controller override
* Format coupon code in response
Co-Authored-By: joshuatf <joshuatf@gmail.com>
2019-01-18 10:52:58 +08:00
Joshua T Flowers
11ddae699a
Add helpText to coupon compare button ( https://github.com/woocommerce/woocommerce-admin/pull/1333 )
2019-01-18 10:22:51 +08:00
Jeff Stieler
4407e05bc4
Merge pull request woocommerce/woocommerce-admin#1342 from woocommerce/fix/1090-currency-settings-formatting
...
Honor WooCommerce Settings When Formatting Currency/Price
2019-01-17 17:06:13 -07:00
Jeff Stieler
ec2efaf560
Update affected package CHANGELOGs.
2019-01-17 16:38:43 -07:00
Jeff Stieler
560606df17
Update comment about formatCurrency() currency symbol parameter fallback logic.
2019-01-17 16:30:27 -07:00
Jeff Stieler
4fabbee20f
numberFormat(): add test for new non-number precision value logic.
2019-01-17 16:28:00 -07:00
Jeff Stieler
2ad5922f1f
Simplify precision preservation logic in numberFormat().
...
Props @Aljullu.
2019-01-17 16:25:44 -07:00
Albert Juhé Lluveras
059cd0ef0d
Set default order to 'desc' in time tables ( https://github.com/woocommerce/woocommerce-admin/pull/1341 )
2019-01-17 22:14:12 +01:00
Albert Juhé Lluveras
5dcea1af6f
Remove wc-api customers ( https://github.com/woocommerce/woocommerce-admin/pull/1338 )
2019-01-17 19:07:21 +01:00
Paul Sealock
836cccafb8
Merge pull request woocommerce/woocommerce-admin#1327 from woocommerce/fix/filter-width-wide-screens
...
Filters: make 1/4 width for wiiiiiiide screens
2019-01-18 07:01:17 +13:00
Paul Sealock
3ba676ac57
Merge pull request woocommerce/woocommerce-admin#1305 from woocommerce/fix/date-query-formats
...
Advanced Filters: append time stamp to dates for API query
2019-01-18 07:00:40 +13:00
Timmy Crawford
508c48042c
chore(release): publish ( https://github.com/woocommerce/woocommerce-admin/pull/1326 )
...
- @woocommerce/components@1.4.0
- @woocommerce/csv-export@1.0.2
- @woocommerce/date@1.0.5
2019-01-17 09:11:49 -08:00
Jeff Stieler
7a0243e6d7
Use store currency settings to initialize D3 format.
2019-01-17 10:08:15 -07:00
Jeff Stieler
25e81de952
Decode HTML entities in currency symbol and price format for use on the frontend.
...
The only alternative is to `dangerouslySetInnerHTML` everywhere.
2019-01-17 09:21:03 -07:00
Albert Juhé Lluveras
4d2ee738d0
Set eslint react version to 'detect' ( https://github.com/woocommerce/woocommerce-admin/pull/1300 )
2019-01-17 10:25:08 +01:00
Albert Juhé Lluveras
0cda85b997
Add missing thousands separator in charts Y-axis ( https://github.com/woocommerce/woocommerce-admin/pull/1312 )
2019-01-17 10:18:28 +01:00
Jeff Stieler
6ed8ea117a
Refactor formatCurrency() to use store settings for formatting rather than store locale.
2019-01-17 00:04:57 -07:00
Jeff Stieler
ddae6d3955
Add currency symbol to orders endpoint response.
2019-01-17 00:01:09 -07:00
Joshua T Flowers
da22cbdc9d
Update returning customer data to use customer ID ( https://github.com/woocommerce/woocommerce-admin/pull/1180 )
...
* Change check for returning customers to check customer_id
* Count distinct returning and new customers in totals
* Fix priority action misplacement and order date timestamp
* Change expected num returning/new customers to fix failing tests
Previously these included references to number of returning vs new orders. Update to refer to the newly updated customer count.
* Use new get_customer_id_by_user_id() to get customer ID
* Fix 0 returning customers expectation
* Move returning customer function to order stats data store
* Sync order stats on order delete
* Change date compare for is_returning_customer
* Add test case for returning customer order
* Add references to instead of 2
2019-01-17 10:47:30 +08:00
Jeff Stieler
858ec82e8c
Rework numberFormat() to maintain decimal precision by default.
2019-01-16 18:41:15 -07:00
Paul Sealock
d214e229ae
refactor timeStampFilterDates
2019-01-17 13:57:11 +13:00
Paul Sealock
af98c7dd91
better tests
2019-01-17 13:35:20 +13:00
Jeff Stieler
4bf7a79a84
Add price format, decimal separator, and thousand separator to currency settings object.
2019-01-16 17:32:48 -07:00
Jeff Stieler
78e1be139f
Refactor numberFormat() to use the store settings for precision, decimal separator, and thousand separator.
2019-01-16 17:32:12 -07:00
Paul Sealock
ddcaf3967d
Merge pull request woocommerce/woocommerce-admin#1325 from woocommerce/fix/customers-extended-table-data
...
Customers Report: remove extended data call
2019-01-17 13:26:11 +13:00
Paul Sealock
41c30c7506
Filters: make 1/4 width for wiiiiiiide screens
2019-01-17 12:21:45 +13:00
Paul Sealock
c866d1e1e2
Customers Report: remove extended data call
2019-01-17 10:10:23 +13:00
Paul Sealock
aaceb781fd
tests
2019-01-17 09:37:43 +13:00
Paul Sealock
b3d7e96a00
jsDoc
2019-01-17 09:08:04 +13:00
Paul Sealock
4cd803466a
updateFilter
2019-01-17 08:57:41 +13:00
Jeff Stieler
219a36cb8e
Merge pull request woocommerce/woocommerce-admin#1291 from woocommerce/update/860-regenerate-reports-action-scheduler
...
Regenerate report tables using Action Scheduler
2019-01-16 10:31:32 -07:00
Jeff Stieler
149ee08f4b
Include all users in customer lookup table generation.
2019-01-16 10:20:11 -07:00
Jeff Stieler
c0e6a097fd
Fix orders report test.
2019-01-16 09:45:52 -07:00
Jeff Stieler
11cb74cccd
Fix variable name nitpick.
2019-01-16 09:45:52 -07:00
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