Commit Graph

1917 Commits

Author SHA1 Message Date
Tiago Noronha 6fe2b070bc Alert pagination label alignment 2019-02-26 23:10:00 +00:00
Albert Juhé Lluveras 53bac8700e Screen readers: read date instead of data keys in 'time-comparison' bar charts (https://github.com/woocommerce/woocommerce-admin/pull/1586)
* Screen readers: read date instead of data keys in 'time-comparison' bar charts

* Make previous period labels more verbose

* Revert "Make previous period labels more verbose"

This reverts commit 34d13deaa982425ca2cba76dacfd2c89c96f06c0.

* Improve isSameDay check

* Add date to hour tooltip and improve screen reader label

* Add CHANGELOG message
2019-02-26 11:56:49 +01:00
Albert Juhé Lluveras b18819489b Don't store searchWords in the query prop (https://github.com/woocommerce/woocommerce-admin/pull/1689) 2019-02-26 11:06:37 +01:00
Albert Juhé Lluveras b85eef53fd Display table placeholder instead of empty table when loading search terms (https://github.com/woocommerce/woocommerce-admin/pull/1682) 2019-02-26 10:28:50 +01:00
Joshua T Flowers 13b72f2fde Add tax code filter to tax REST API (https://github.com/woocommerce/woocommerce-admin/pull/1671)
* Add in hook to rest tax controller modify tax items query

* Modify query string for getting tax code items

* Add code to collection params to allow searching

* Change filter to use entire tax code without null values

* Hook up tax code filter to autocomplete search

* Overwrite get_items instead of using hooks for code filtering
2019-02-26 14:19:38 +08:00
Joshua T Flowers 37e1ddfbd1 Don't update state on user preferences props change (https://github.com/woocommerce/woocommerce-admin/pull/1688) 2019-02-26 11:34:43 +08:00
Ron Rennick 39226c8c2c Merge pull request woocommerce/woocommerce-admin#1664 from woocommerce/add/action-scheduler-group
add action scheduler group
2019-02-25 16:13:15 -04:00
Kelly Dwan 631ab5b609 Version bump (https://github.com/woocommerce/woocommerce-admin/pull/1663) 2019-02-25 11:44:11 -08:00
Albert Juhé Lluveras 365d493079 Table: reset search on compare and reset comparison on search (https://github.com/woocommerce/woocommerce-admin/pull/1679) 2019-02-25 20:40:30 +01:00
Albert Juhé Lluveras 4a19d27ec1 Add 'isCheckbox' prop to 'MenuItem' (https://github.com/woocommerce/woocommerce-admin/pull/1620)
* Make column filter menu items not focusable

* Check if onInvoke exists before calling it

* Revert "Check if onInvoke exists before calling it"

This reverts commit e3b63edd51395c0f967991e2d20fccf867e37b91.

* Revert "Make column filter menu items not focusable"

This reverts commit 3e0ac949fa057a0c235876731768b6f312ced998.

* Add isCheckbox prop to MenuItem component

* Fix arrow keys navigation in checkbox menu items

* Table: don't update showCols state when the headers prop changes
2019-02-25 20:25:19 +01:00
Peter Fabian 1b90296bba Updated timezone handling to be in line with other WC code. 2019-02-25 20:05:25 +01:00
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