Commit Graph

1697 Commits

Author SHA1 Message Date
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
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
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 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
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
Peter Fabian f42aa073b1 Changed the date_created columns to datetime, in the new location of db create script.
date_created should store local date and time, not UTC timestamp, as the data needs to be sliced and diced by local date/time, not by UTC date/time.
2019-02-15 17:13:12 +01:00
Peter Fabian f7d0d2379f Merge branch 'master' into fix/489-date_date_gmt
# Conflicts:
#	includes/class-wc-admin-api-init.php
2019-02-15 17:07:38 +01:00
Ron Rennick 9f911df053 update changelog, coding style per review 2019-02-15 10:37:56 -04:00
Tiago Noronha 69cdb7996c Merge pull request woocommerce/woocommerce-admin#1569 from woocommerce/fix/1568-filters-button-styling
Add margin to advanced filters Add button
2019-02-15 11:11:11 +00:00
Albert Juhé Lluveras fe11ff475f Chart legend: show pointer in all clickable area (https://github.com/woocommerce/woocommerce-admin/pull/1566) 2019-02-15 11:55:04 +01:00
Albert Juhé Lluveras b61dff32f9 Sort tabular data when selecting a Summary Number (https://github.com/woocommerce/woocommerce-admin/pull/1564)
* Sort tabular data when selecting a Summary Number

* Fix 'orderby' param in orders endpoint
2019-02-15 11:54:41 +01:00
Albert Juhé Lluveras 0cb1aac8b9 Fix logic used to show legend total block (https://github.com/woocommerce/woocommerce-admin/pull/1559) 2019-02-15 11:50:41 +01:00
Albert Juhé Lluveras bce82c7572 Move IE11 specific CSS to ie.scss file (https://github.com/woocommerce/woocommerce-admin/pull/1558) 2019-02-15 11:49:51 +01:00
Justin Shreve a1c60537e5 Fix downloads stats data store sorting (https://github.com/woocommerce/woocommerce-admin/pull/1561) 2019-02-14 23:06:01 -05:00
Joshua T Flowers cba9ab61b2 Update returning customer values to respect excluded statuses (https://github.com/woocommerce/woocommerce-admin/pull/1557)
* Excluded statuses from customers oldest orders

* Fix tests for returning customer where excluded statuses are used

* Remove save_post hook used for testing

* Extract conditions for first order swapping
2019-02-15 10:09:16 +08:00
Ron Rennick 767b047f4b phpcs for admin-notess.php 2019-02-14 19:20:47 -04:00
Ron Rennick 45acf57c22 phpcs for product-reviews.php 2019-02-14 19:19:22 -04:00
Ron Rennick 7a255d7490 phpcs for products.php 2019-02-14 19:18:34 -04:00
Ron Rennick b69f8fdbf2 phpcs for reports-customers-stats.php 2019-02-14 19:17:05 -04:00
Ron Rennick e91f7f6d00 phpcs for reports-customers.php 2019-02-14 19:14:43 -04:00
Ron Rennick cd1fdef99d phpcs for reports-download-stats.php 2019-02-14 19:13:18 -04:00
Ron Rennick a89083077e phpcs for reports-interval.php 2019-02-14 19:12:15 -04:00
Ron Rennick db568ec9af phpcs for report-order-stats.php 2019-02-14 19:11:17 -04:00
Ron Rennick ece6fb1a91 phpcs for report-performance-indicators.php 2019-02-14 19:08:25 -04:00
Ron Rennick 8ce7af9f61 phpcs for report-stock-stats.php 2019-02-14 19:06:11 -04:00
Ron Rennick 7910e76d8c phpcs for bootstrap.php 2019-02-14 19:04:30 -04:00
Ron Rennick 58cfde18a4 phpcs print_R use in class-wc-tests-reports-order-stats.php 2019-02-14 18:54:45 -04:00
Tiago Noronha 5d3ce289f9 Merge pull request woocommerce/woocommerce-admin#1563 from woocommerce/fix/1402-legend-transition
Remove margin between chart legends in column direction
2019-02-14 21:23:39 +00:00
Tiago Noronha 75ee8d600b Merge pull request woocommerce/woocommerce-admin#1533 from woocommerce/fix/1511-advanced-filters-ie11
Advanced filters alignment in IE11
2019-02-14 21:23:29 +00:00
Tiago Noronha 86f3da4e9c Merge pull request woocommerce/woocommerce-admin#1530 from woocommerce/fix/1513-legend-text-align
Chart legend alignment in IE11
2019-02-14 21:23:16 +00:00
Ron Rennick 12c42c7967 phpcs for class-wc-tests-reports-orders-stats.php except print_r 2019-02-14 17:14:52 -04:00
Tiago Noronha 40dd9b5f91 Remove placeholders from components 2019-02-14 20:58:02 +00:00
Tiago Noronha db2ed027c4 Add strings back to config.js files with title placeholders 2019-02-14 20:53:08 +00:00
Paul Sealock 2e82211616 Add products/stats endpoint to categories 2019-02-15 09:44:46 +13:00
Paul Sealock 87151fa1e3 Merge pull request woocommerce/woocommerce-admin#1548 from woocommerce/fix/stock-status-link
Stock Report: fix stock link
2019-02-15 09:42:37 +13:00
Ron Rennick 16c5cf8c77 phpcs for class-wc-tests-reports-revenue-stats.php 2019-02-14 16:34:38 -04:00
Ron Rennick 86c89e741a one more type -> chartType 2019-02-14 16:03:54 -04:00
Tiago Noronha 816e122408 Revert "Conditionally include `{{rule /}}` in select-filter `mixedString`"
This reverts commit e6c811ae21.
2019-02-14 19:57:27 +00:00
Ron Rennick e7c55d7ca5 update query string for chart type tests 2019-02-14 15:34:57 -04:00
Ron Rennick 41251c3e9c fix scss whitespace 2019-02-14 15:31:20 -04:00
Tiago Noronha e6c811ae21 Conditionally include `{{rule /}}` in select-filter `mixedString` 2019-02-14 19:27:13 +00:00
Tiago Noronha 8e6913a6c6 Add margin to advanced filters Add button 2019-02-14 18:21:33 +00:00
Ron Rennick f5efd10638 fix merge conflicts 2019-02-14 14:11:15 -04:00