Commit Graph

2819 Commits

Author SHA1 Message Date
Jeff Stieler 2b61484246 Load the Report CSV Exporter class. 2019-06-24 19:26:12 -06:00
Timmy Crawford e2cd150071 Activity Panels: Add track event when panels are opened. 2019-06-24 16:49:52 -07: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
Ron Rennick 259a2616b1 add get_unique_coupon_count() to count unique coupons for a dataset 2019-06-24 16:19:07 -03:00
Jeff Stieler 83c8f756d8 Apply report controller default parameters for CSV export. 2019-06-24 12:57:07 -06:00
Jeff Stieler d6d3161bff Exclude IP download controller from defaults test. 2019-06-24 12:16:58 -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
Jeff Stieler 4711a4e11d Ensure coupons are enabled for testing. 2019-06-24 10:55:43 -06:00
Jeff Stieler 7e14630b3b Set default params on each test request, and use an admin user. 2019-06-24 10:55:40 -06:00
Jeff Stieler ff8615dac7 Test that all REST controllers can be called with default params. 2019-06-24 10:50:21 -06:00
Daniel Rey López 2ce8c97c48 Remove the "wpClosedMenu" page setting (https://github.com/woocommerce/woocommerce-admin/pull/2441) 2019-06-24 08:43:19 +01:00
benignant a8b69be326 Remove declaration that causes incorrect margins
The declaration in question causes notices that are not collapsed and do not have the 'updated' class to have incorrect margins.
2019-06-23 00:35:51 -04: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
Justin Shreve 592c9d8e15 Save value of the tracking setting on both 'next' and 'skip profiler actions (https://github.com/woocommerce/woocommerce-admin/pull/2468) 2019-06-21 12:51:56 -04:00
Justin Shreve 762a2d6540 Fix mobile stepper positioning on mobile (https://github.com/woocommerce/woocommerce-admin/pull/2472) 2019-06-21 12:49:44 -04: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
Ron Rennick 5038c672ee use summary query to total coupons per order 2019-06-21 12:47:02 -03:00
Jeff Stieler fbc28cb265 Merge pull request woocommerce/woocommerce-admin#2464 from woocommerce/fix/1985-fatal-get-customer-id
Check for good WC_Orders before using instance methods.
2019-06-21 08:08:12 -06:00
Ron Rennick 945baebf5e Merge pull request woocommerce/woocommerce-admin#2457 from woocommerce/fix/readme-typo
fix typo in readme changelog for 0.13.0
2019-06-21 08:38:01 -03:00
Jeff Stieler 2cb63e79d2 Add CSV exporter class for reports. 2019-06-20 19:01:38 -06:00
Kurt Zenisek ce8d670420 Increased assertCount to accommodate the added data point 2019-06-20 14:24:14 -05:00
Jeff Stieler f75e3c7820 Check for good WC_Orders before using instance methods. 2019-06-20 08:31:10 -06:00
Ron Rennick a05daef8d7 update URL test to wc-admin#/ 2019-06-20 10:49:25 -03: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
Paul Sealock 01ed625280 Merge pull request woocommerce/woocommerce-admin#2440 from woocommerce/extend/report-tables
Report Tables: Add example extension
2019-06-20 20:26:25 +12:00
Paul Sealock 68a95f8a83 Report Tables: extend columns 2019-06-20 20:03:56 +12: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
Kurt Zenisek 228acaf09e Added state alongside city & other info, and made location info sortable for convenient grouping of data at a glance.
I figured there's no reason you couldn't sort by the location data just so you can group them together (ex. quickly see how many are from a specific state at a glance rather than having it spread out & not having a means to group them together from this view.)
2019-06-19 17:15:58 -05:00
Kurt Zenisek 7e7583710a Added state alongside city & other info 2019-06-19 17:13:43 -05:00
Kurt Zenisek fccbd105f1 Added state alongside city & other info 2019-06-19 17:13:05 -05:00
Kurt Zenisek 25be322d29 Added state alongside city & other info 2019-06-19 17:12:17 -05:00
Kurt Zenisek a39c885160 Added state alongside city & other info 2019-06-19 17:11:24 -05:00
Ron Rennick 46ef804ae4 open external note action links in a new tab 2019-06-19 16:23:32 -03:00
Ron Rennick 48ca0c71f3 fix typo in readme changelog for 0.13.0 2019-06-19 11:05:21 -03:00
renovate[bot] 4d419f6b1d Update dependency @octokit/rest to v16.28.2 (https://github.com/woocommerce/woocommerce-admin/pull/2459) 2019-06-19 14:00:23 +08:00
renovate[bot] d025d7d42c Update dependency dompurify to v1.0.11 (https://github.com/woocommerce/woocommerce-admin/pull/2458) 2019-06-19 13:57:27 +08:00
renovate[bot] a1e87ed972 Update dependency babel-eslint to v10.0.2 (https://github.com/woocommerce/woocommerce-admin/pull/2456) 2019-06-19 10:56:15 +08:00
renovate[bot] 62af41d457 Pin dependencies (https://github.com/woocommerce/woocommerce-admin/pull/2455) 2019-06-19 10:55:02 +08:00
Albert Juhé Lluveras 4174db4874 Allow keyboard interaction in Stock Activity Panel form (https://github.com/woocommerce/woocommerce-admin/pull/2447) 2019-06-18 17:58:10 +02:00
Ron Rennick 223f8ca550 Merge pull request woocommerce/woocommerce-admin#2443 from woocommerce/update-tested-to-version
update tested to version in plugin repo readme.txt
2019-06-18 09:30:44 -03:00
Paul Sealock 4edc9cdb9e Merge pull request woocommerce/woocommerce-admin#2437 from woocommerce/fix/changelog-note-option
Changelog script: Use PR author note, if supplied
2019-06-18 22:29:10 +12:00
Paul Sealock c207c545e6 Changelog: Use author's note, if supplied 2019-06-18 22:11:58 +12:00
Albert Juhé Lluveras e80530a614 Fix Activity Panel being overlapped by editor toolbar (https://github.com/woocommerce/woocommerce-admin/pull/2446) 2019-06-18 11:33:39 +02:00
Paul Sealock 8aaa18c339 Merge pull request woocommerce/woocommerce-admin#2425 from woocommerce/fix/potential-endless-syncs
Action Scheduler: fix potential endless sync
2019-06-18 10:50:38 +12:00