Commit Graph

1898 Commits

Author SHA1 Message Date
renovate[bot] e0730dd0a3 Update dependency autoprefixer to v9.4.8 (https://github.com/woocommerce/woocommerce-admin/pull/1630) 2019-02-22 08:00:21 -05:00
renovate[bot] f5855a5641 Update dependency @babel/core to v7.3.3 (https://github.com/woocommerce/woocommerce-admin/pull/1629) 2019-02-22 07:48:49 -05:00
renovate[bot] 699b669891 Update dependency dompurify to v1.0.10 (https://github.com/woocommerce/woocommerce-admin/pull/1631) 2019-02-22 07:41:25 -05:00
Justin Shreve 4347e1a9e0 Fix CSS linter errors (https://github.com/woocommerce/woocommerce-admin/pull/1673) 2019-02-22 07:34:04 -05:00
renovate[bot] 3de37c9e9e Update dependency core-js to v2.6.5 (https://github.com/woocommerce/woocommerce-admin/pull/1538) 2019-02-22 07:32:30 -05:00
renovate[bot] 8ac513194b Update dependency ast-types to v0.12.2 (https://github.com/woocommerce/woocommerce-admin/pull/1537) 2019-02-22 07:16:35 -05:00
renovate[bot] 5e42c540da Update dependency eslint-plugin-jest to v22.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/1633) 2019-02-22 07:08:54 -05:00
renovate[bot] bb1a6bfe2e Update dependency eslint to v5.14.1 (https://github.com/woocommerce/woocommerce-admin/pull/1632) 2019-02-22 06:55:10 -05:00
Justin Shreve 063bea4486 Return an error when installing unit tests if WP < 5 (https://github.com/woocommerce/woocommerce-admin/pull/1645) 2019-02-22 06:31:18 -05:00
Joshua T Flowers 88c2973e2a Fix null values in CSV columns export (https://github.com/woocommerce/woocommerce-admin/pull/1652)
* Fix null values in CSV columns export

* Check if value is null or undefined to avoid falsey for 0 values

* Add null value to CSV tests

* Improve changelog message
2019-02-22 10:02:38 +08:00
Joshua T Flowers 9c95a62f3b Hide woo notices button when side menu is open (https://github.com/woocommerce/woocommerce-admin/pull/1658) 2019-02-22 09:42:42 +08:00
Tiago Noronha f1e6c2f3c8 Reduce alert margin on mobile 2019-02-21 23:39:30 +00:00
Tiago Noronha 952ad025a5 Change button from isPrimary to isDefault and adjust color 2019-02-21 23:34:43 +00:00
Tiago Noronha 1910d76425 Small screens styling tweaks 2019-02-21 23:24:01 +00:00
Claudio Sanches c94406e0d7 Merge pull request woocommerce/woocommerce-admin#1665 from woocommerce/fix/not-a-number
fix warning in some versions of PHP
2019-02-21 19:44:37 -03:00
Paul Sealock 62a6b619d9 Taxes Report: allow segmentation by tax 2019-02-22 11:37:15 +13:00
Tiago Noronha 84ba0709c1 Ensure state is updated only if new ids exist 2019-02-21 21:16:10 +00:00
Ron Rennick 0a4d98fb9f fix warning in some versions of PHP 2019-02-21 15:59:09 -04:00
Ron Rennick 4cad583332 add action scheduler group 2019-02-21 15:44:35 -04:00
Tiago Noronha e6b0f3476c Merge pull request woocommerce/woocommerce-admin#1560 from woocommerce/fix/1429-hello-dolly
Stop Hello Dolly lyrics from displaying in the notices tab
2019-02-21 18:58:51 +00:00
Tiago Noronha 1ae9ffc188 Add new function to remove unwanted notices and remove Hello Dolly 2019-02-21 18:37:45 +00:00
Tiago Noronha 039ca2a1a9 Remove Hello Dolly exception from JS 2019-02-21 18:34:50 +00:00
Kelly Dwan 4ccc7ddaea Update changelog (https://github.com/woocommerce/woocommerce-admin/pull/1661) 2019-02-21 11:47:28 -05:00
Tiago Noronha f28e74daf9 Merge branch 'master' of github.com:woocommerce/wc-admin into fix/1352-backspace-remove-item 2019-02-21 15:50:21 +00:00
Justin Shreve 2af0aedd95 Add comparison support to the coupons report (https://github.com/woocommerce/woocommerce-admin/pull/1647) 2019-02-21 10:16:44 -05:00
Tiago Noronha d54d9aa05e Fix store alters margin on mobile 2019-02-21 14:26:43 +00:00
Tiago Noronha f22770ce7e Use global Sass variables and add mixin for alert box-shadow 2019-02-21 01:13:54 +00:00
Tiago Noronha c304760629 Add `store-alerts` feature flag 2019-02-21 00:41:00 +00:00
Kelly Dwan b98c05c331 Components: Add SearchListControl (https://github.com/woocommerce/woocommerce-admin/pull/1628)
* Add SearchListControl as exported component

* Add entry to changelog (and fix versioning)

* Fix repeating character mixin

* Update textdomain
2019-02-20 15:18:27 -05:00
Albert Juhé Lluveras 00ff9fa8b5 Fix table search position in small viewports (https://github.com/woocommerce/woocommerce-admin/pull/1646) 2019-02-20 20:44:12 +01:00
Tiago Noronha 1d864c222c Fix line break 2019-02-20 19:03:08 +00:00
Tiago Noronha 91b09bfe4b Add propTypes 2019-02-20 16:37:03 +00:00
Tiago Noronha f492dae5a2 Simplify name of consts 2019-02-20 16:18:10 +00:00
Albert Juhé Lluveras 1488a55b7c Preserve chart colors when changing visible keys in charts with less keys than 'selectionLimit' (https://github.com/woocommerce/woocommerce-admin/pull/1606)
* Preserve chart colors when changing visible keys in 'time-comparison' charts

* Actually preserve colors in charts that don't have more keys than selectionLimit
2019-02-20 16:53:37 +01:00
Tiago Noronha 4f8336ce3d Add alerts array via props 2019-02-20 15:25:56 +00:00
Justin Shreve c3b0934ad3 Close the WP menu after navigating between reports (https://github.com/woocommerce/woocommerce-admin/pull/1634) 2019-02-20 10:18:27 -05:00
Ron Rennick 3aa1f6197a Merge pull request woocommerce/woocommerce-admin#1591 from woocommerce/fix/1590
implement WC_ADMIN_ABSPATH in wc-admin.php, class-wc-admin-api-init.php
2019-02-20 09:42:07 -04:00
Tiago Noronha d9f9532939 Use interpolateComponents for pagination label 2019-02-20 11:50:55 +00:00
Albert Juhé Lluveras 0a10291969 Don't show variations table when there is an active search (https://github.com/woocommerce/woocommerce-admin/pull/1601) 2019-02-20 10:21:19 +01:00
Albert Juhé Lluveras 1660484d4c Escape commas in search terms (https://github.com/woocommerce/woocommerce-admin/pull/1605) 2019-02-20 10:21:05 +01:00
Albert Juhé Lluveras 5e4f14a81d Fix style of dashboard summary number placeholder (https://github.com/woocommerce/woocommerce-admin/pull/1623)
* Fix style of dashboard summary number placeholder

* Make store performance block to be a normal <div> instead of a Card

* Fix dashboard summary numbers style

* Simplify code
2019-02-20 10:20:50 +01:00
Joshua T Flowers aef11ef586 Refactor customer ID creation (https://github.com/woocommerce/woocommerce-admin/pull/1619)
* Fix indendtation for table creations

* Refactor how customers are created on order update

* Check if user has a role of customer or previous orders before storing

* Add tests for user creation

* Allow null emails for customers

* Only select customer_id in guest ID query
2019-02-20 10:30:00 +08:00
Joshua T Flowers 08e43c35cf Execute single order pending jobs immediately when wp_debug is enabled (https://github.com/woocommerce/woocommerce-admin/pull/1581)
* Execute all pending jobs when debug mode is enabled

* Only process single order jobs immediately

* Replace wp_debug condition with a filter

* Bypass scheduling and process the order on save_post

* Change hook name to include order
2019-02-20 10:05:11 +08:00
Joshua T Flowers 73ff2d37e8 Update activity panels order endpoint (https://github.com/woocommerce/woocommerce-admin/pull/1578)
* Only show customer name if available

* Map customer data to extended_info in orders API response

* Add gross total and refund total to orders API response

* Hook up report orders endpoint to activity panel orders

* Add on-hold orders to activity panel orders

* Destructure extended_info in case of filtering

* Add customer link to orders panel
2019-02-20 09:51:43 +08:00
Joshua T Flowers 0ef2dc27f4 Fix long search tags (https://github.com/woocommerce/woocommerce-admin/pull/1597)
* Fix long search tags

* Remove spaces from css calc expression

Co-Authored-By: joshuatf <joshuatf@gmail.com>

* Fix overflowing autocomplete search
2019-02-20 09:40:21 +08:00
Joshua T Flowers 44604bcd02 Reduce net order total by refunded amount less tax and shipping refunds (https://github.com/woocommerce/woocommerce-admin/pull/1600)
* Reduce net order total by refunded amount less tax and shipping refunds

* Fix net_totals in tests with refunds
2019-02-20 09:39:42 +08:00
Tiago Noronha 8bc2a84b39 Add basic StoreAlert component 2019-02-19 21:07:19 +00:00
Justin Shreve 4f64358c8e Fix customer filters and download user filtering (https://github.com/woocommerce/woocommerce-admin/pull/1618)
* Add the ability to search name, username, and email fields on the customer endpoint, update autocompletors, add in include parameter.

* Update the username to be returned in the download response, update download filtering based on customer id, and only rename include parameter on main customers endpoint.
2019-02-19 14:35:29 -05:00
Ron Rennick e1af3cdf18 implement WC_ADMIN_ABSPATH in class-wc-admin-api-init.php 2019-02-19 15:27:42 -04:00
Joshua T Flowers 694130d455 Change fixed legend button height to min-height (https://github.com/woocommerce/woocommerce-admin/pull/1602) 2019-02-19 10:29:58 +08:00