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
Joshua T Flowers
ffa7e016d4
Fix double focus on autocomplete search list after options are loaded ( https://github.com/woocommerce/woocommerce-admin/pull/1582 )
...
* Add isFocused to state to determine whether options list should be rendered
* Use state query instead of adding isFocused
* Remove search tag styling
2019-02-19 10:28:40 +08:00
Justin Shreve
732a8a4986
Fix variation name format to match core ( https://github.com/woocommerce/woocommerce-admin/pull/1583 )
2019-02-18 13:24:48 -05:00
Justin Shreve
79dc87b9bb
Fix product category report views ( https://github.com/woocommerce/woocommerce-admin/pull/1587 )
2019-02-18 13:18:21 -05:00
Joshua T Flowers
f0ec3c49a1
Add tax refund calculations ( https://github.com/woocommerce/woocommerce-admin/pull/1556 )
...
* Add item and shipping refund calucations to taxes on order update
* Sync taxes on refund delete
* Fix up tax stats API testing
* Add refunds to tax stats API tests
2019-02-18 10:20:16 +08:00
Ron Rennick
6a11764397
Merge pull request woocommerce/woocommerce-admin#1589 from woocommerce/fix/or-greater
...
update missed version `or greater` in update message
2019-02-15 16:13:45 -04:00
Ron Rennick
71660fa997
implement WC_ADMIN_ABSPATH in wc-admin.php
2019-02-15 16:03:32 -04:00
Ron Rennick
c377e27411
update missed version `or greater` in update message
2019-02-15 15:41:19 -04:00
Ron Rennick
e2b220bb54
Merge pull request woocommerce/woocommerce-admin#1570 from woocommerce/phpcs/tests
...
Phpcs sniff fixes for unit tests
2019-02-15 14:50:50 -04:00
Tiago Noronha
6d58ed97c4
Add array of notice ids and/or classes and iterate to collapse
2019-02-15 18:01:18 +00:00
Ron Rennick
00b640e2f0
Merge pull request woocommerce/woocommerce-admin#1567 from woocommerce/fix/1450
...
update chart type query string key to chartType
2019-02-15 12:58:22 -04:00