Commit Graph

2056 Commits

Author SHA1 Message Date
Ron Rennick 6969f841fa update unit tests for batch group 2019-02-25 09:34:59 -04:00
Albert Juhé Lluveras 55336a9874 Make 'Rows Per Table' <select> accessible (https://github.com/woocommerce/woocommerce-admin/pull/1674) 2019-02-25 11:17:56 +01:00
Paul Sealock a3e4955f74 Merge pull request woocommerce/woocommerce-admin#1571 from woocommerce/fix/taxes-segmentation
Taxes Report: fix comparison mode and segmentation labels
2019-02-25 11:31:37 +13:00
Peter Fabian 3f9a43fdd0 Added timezone to datetime to correctly identify first order(s).
If default PHP timezone is UTC, then any order between first order and positive UTC offset is identified as 'first', which is incorrect.
2019-02-23 18:38:45 +01:00
Peter Fabian 43e49ca704 Added test for registered customer. 2019-02-23 00:03:53 +01:00
Peter Fabian 4668734af7 Removed debugging var from test. 2019-02-23 00:02:40 +01:00
Peter Fabian 3ce686e6cd Updated is_returning_customer definition to use refactored function. 2019-02-22 22:06:21 +01:00
renovate[bot] 042e55cd43 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/1516) 2019-02-22 08:35:57 -05:00
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