Justin Shreve
5a2f0c9da0
Onboarding - Add business extension recommendations ( https://github.com/woocommerce/woocommerce-admin/pull/2551 )
...
* Add business extension recommendations
* Fix failing test. Set max height and width for toggle
* Fix toggle display and fix when the extensions show (so they dont hide and disapear as "currently" selling is selected).
2019-07-04 11:56:28 -04:00
Joshua T Flowers
6c98e1d5cf
Onboarding: Update theme order and sorting ( https://github.com/woocommerce/woocommerce-admin/pull/2556 )
...
* Only show installed themes with WC support and currently active theme
* Center tab panel buttons
* Fix installed param check typo
* Show installed themes in wc theme fetch fails
2019-07-04 14:12:33 +08:00
Jeff Stieler
5b905025fc
Merge pull request woocommerce/woocommerce-admin#2526 from woocommerce/add/311-report-csv-exporter-endpoint
...
Add Report CSV Export Endpoint
2019-07-03 08:43:18 -06:00
Paul Sealock
b3bde09814
Merge pull request woocommerce/woocommerce-admin#2444 from woocommerce/update/route-handling
...
Route handling: Remove hash in favor of path parameter
2019-07-03 13:16:04 +12:00
Paul Sealock
dbd8793c05
leading slash in leaderboards
2019-07-03 10:40:41 +12:00
Jeff Stieler
c7d94cc929
Use the default "read reports" permission for the export endpoint.
2019-07-02 13:53:42 -06:00
Jeff Stieler
3350605ef2
Merge pull request woocommerce/woocommerce-admin#2559 from woocommerce/add/2474-inbox-action-click
...
Add tracks event to Store Alert and Inbox Notification action clicks
2019-07-02 13:25:20 -06:00
Jeff Stieler
1270f5204b
Send tracks events for triggered note actions.
2019-07-02 08:29:20 -06:00
Jeff Stieler
cc4ca8b965
Move tracks helper function into core functions file.
2019-07-02 08:27:31 -06:00
Ron Rennick
ca40be6676
Merge pull request woocommerce/woocommerce-admin#2543 from woocommerce/2503-followup
...
Add error checking for failed remote gets added in woocommerce/woocommerce-admin#2503
2019-07-02 10:54:15 -03:00
Paul Sealock
563e94b7a2
add leading slash in path for Leaderboards
2019-07-02 12:19:55 +12:00
Jeff Stieler
e6c445e1d4
Verify that user can view reports before allowing export download.
2019-07-01 12:06:25 -06:00
Daniel Rey López
eef988239e
Change all remaining URLs from #/style to ?path=style
2019-07-01 09:15:46 +01:00
Paul Sealock
f6854c377d
Stock notifs: fix low_stock_amount for variations
2019-07-01 15:50:31 +12:00
Justin Shreve
aed4ea63b4
Server side route handling
2019-07-01 12:22:34 +12:00
Ron Rennick
ac28e781c7
Small fixes for PR woocommerce/woocommerce-admin#2503
...
- Use get_instance function instead of constructor
- Update URL to be HTTPS
- Add error checking for failed remote gets
2019-06-28 15:58:51 -03:00
Jeff Stieler
35d763fa8c
Merge pull request woocommerce/woocommerce-admin#2463 from KZeni/patch-2
...
Add State alongside City (and other customer info).
2019-06-28 12:24:25 -06:00
Jeff Stieler
74ab15aebf
Add report CSV downloading.
2019-06-28 11:09:41 -06:00
Jeff Stieler
c68010f184
Remove user ID from export files.
...
We currently can’t filter Inbox items by user.
2019-06-28 11:09:41 -06:00
Jeff Stieler
bc095bd746
Batch the creation of report export jobs.
2019-06-28 11:09:40 -06:00
Jeff Stieler
916ea55ae9
Respond with an error if there are no items to export.
2019-06-28 11:09:40 -06:00
Jeff Stieler
1650794f2b
Include user ID in report export status key.
2019-06-28 11:09:39 -06:00
Jeff Stieler
b76d7b61fc
Add endpoint for report export status.
2019-06-28 11:09:39 -06:00
Jeff Stieler
73e0c455d7
Add endpoint to initiate report CSV export generation.
2019-06-28 11:09:39 -06:00
Jeff Stieler
b6190e7fb0
Add class to process report exports using action scheduler.
2019-06-28 11:09:38 -06:00
Jeff Stieler
7332b07874
Small tweaks to report CSV exporter to support batching.
...
Use default limit, add public total_rows accessor, auto-load controllers.
2019-06-28 11:09:38 -06:00
Kurt Zenisek
cd743141b1
Renamed "State" label to "Region"
2019-06-28 11:42:28 -05:00
Jeff Stieler
c787c8c50a
Always return columns in ‘posts_fields’ filters.
2019-06-28 10:40:17 -06:00
Jeff Stieler
8c40000ec2
Merge pull request woocommerce/woocommerce-admin#2496 from woocommerce/fix/rest-controller-default-params
...
Test that REST controllers work with their default parameters.
2019-06-28 08:52:16 -06:00
Joshua T Flowers
0bc8c96ace
Add installed themes and WooCommerce support to theme browser ( https://github.com/woocommerce/woocommerce-admin/pull/2503 )
...
* Add theme step to onboarding profiler
* Add installed themes to onboarding theme data
* Add theme status for install themes in frontend
* Add regex test to check for WooCommerce theme support
* Add woocommerce not supported icon and tooltips
* Cache installed themes for performance
* Update themes endpoint to use real wccom endpoint
* Update error icon to use info gridicon
2019-06-28 15:42:20 +08:00
Albert Juhé Lluveras
808143d7c9
Remove updated stock products from Activity Panel ( https://github.com/woocommerce/woocommerce-admin/pull/2442 )
...
* Remove updated stock products from Activity Panel
* Use prefers-reduced-motion preference
* Update comparison to check if stock quantity is 'lower or equal to' lowStockAmount
* Focus quantityInput on 'beginEdit' instead of 'componentDidUpdate'
* Add comment explaining why we hide cards
* Refactor updateProductStock action
* Add type and parent_id properties to update
2019-06-27 11:21:43 +02:00
Jeff Stieler
b8abe63d15
Don’t create a batch job that exceeds the range end.
2019-06-26 14:23:56 -06:00
Jeff Stieler
356f1ada77
Merge pull request woocommerce/woocommerce-admin#2502 from woocommerce/add/311-reports-csv-exporter-class
...
Add Reports CSV Exporter Class
2019-06-26 09:50:06 -06:00
Joshua T Flowers
0de2f70392
Onboarding: Add theme step and theme browser ( https://github.com/woocommerce/woocommerce-admin/pull/2493 )
...
* Add theme data to wcSettings onboarding data
* Add theme step to onboarding profiler
* Use free in place of price if theme is <= 0
* Add theme paid/free filter tabs
2019-06-26 10:22:44 +08:00
Jeff Stieler
2b61484246
Load the Report CSV Exporter class.
2019-06-24 19:26:12 -06:00
Jeff Stieler
de793076da
Filter out image column when defining report columns.
2019-06-24 15:40:41 -06:00
Jeff Stieler
bff5416df2
Fix Products Report extended info schema.
2019-06-24 15:40:12 -06:00
Jeff Stieler
2c5d3991b5
Fix Orders Report extended info schema.
2019-06-24 13:30:15 -06:00
Jeff Stieler
83c8f756d8
Apply report controller default parameters for CSV export.
2019-06-24 12:57:07 -06:00
Jeff Stieler
3a1501df29
Add default stats param for performance indicators.
...
Also, use the allowed stats for the value enum.
2019-06-24 10:55:43 -06:00
Jeff Stieler
6738d6c8cf
Fix default status value on Orders controller.
2019-06-24 10:55:43 -06:00
Joshua T Flowers
cf0e4ff1f7
Onboarding: Pull dynamic prices for product types ( https://github.com/woocommerce/woocommerce-admin/pull/2467 )
...
* Get dynamic price data from wccom and append to product types
* Remove redundant data from product types
* Only add product types if profiler is not skipped or completed
* Cache product data fetch from wccom
2019-06-22 12:02:11 +08:00
Jeff Stieler
c13d35c68a
JSON encode non-scalar values for CSV.
2019-06-21 10:40:06 -06:00
Jeff Stieler
f0a01b09c0
Remove columns with CSV-unfriendly values, like HTML.
2019-06-21 10:38:36 -06:00
Jeff Stieler
0c9ef05103
Include export type with column value callback.
2019-06-21 10:38:01 -06:00
Jeff Stieler
2cb63e79d2
Add CSV exporter class for reports.
2019-06-20 19:01:38 -06:00
Jeff Stieler
f75e3c7820
Check for good WC_Orders before using instance methods.
2019-06-20 08:31:10 -06:00
Albert Juhé Lluveras
88eb5b0bc5
Add wp-api-fetch script to dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/2460 )
2019-06-20 10:53:02 +02:00
Joshua T Flowers
ee81663f99
Prevent duplicate customer imports ( https://github.com/woocommerce/woocommerce-admin/pull/2428 )
...
* Get customer ID from existing order ID if present
* Use get_report_customer_id method in order for both orders and refunds
2019-06-20 12:03:55 +08:00
Joshua T Flowers
57416a2bdb
Refactor customer name retrieval ( https://github.com/woocommerce/woocommerce-admin/pull/2418 )
...
* Return early from creating customer if order is false
* Refactor customer first and last name methods
* Separate customer name tests to create guest orders
* Check for parent_id before retrieving customer ID in refund
* Use registered customer ID in import report tests
* Compare absolute integer when checking for valid customer ID
* Check for order before getting customer ID when retrieving existing customer ID
2019-06-20 11:22:47 +08:00