David Levin
b487642a65
Merge pull request woocommerce/woocommerce-admin#435 from woocommerce/update/ellipsis-menu-item-padding
...
Minor padding tweaks to ellipsis menu items
2018-09-18 17:52:56 -07:00
Paul Sealock
2fbfd64525
check to make sure method exists
2018-09-19 10:19:19 +12:00
Paul Sealock
cb85f4878f
Merge pull request woocommerce/woocommerce-admin#425 from woocommerce/add/advanced-filters-match-param
...
Advanced Filters: add match param to url
2018-09-19 10:03:06 +12:00
Kelly Dwan
cd58cc78ac
Build: Update packages ( https://github.com/woocommerce/woocommerce-admin/pull/434 )
...
* Update packages to latest versions
* Update snapshot to match updated jest format
* Add missing packages
* Pin docsify-cli to GitHub commit with security fix
* Update engines settings
* Update packages
Again, some things are already out of date from last week
* Regenerate docs
2018-09-18 17:37:57 -04:00
Claudio Sanches
76d5417e2b
Use WooCommerce's database prefi
...
Fixes woocommerce/woocommerce-admin#437
2018-09-18 17:03:42 -03:00
Claudio Sanches
da4a2813b8
Merge pull request woocommerce/woocommerce-admin#420 from woocommerce/fix/402_403
...
Added reporting REST API extensions to wc-admin.
2018-09-18 16:42:26 -03:00
Claudio Sanches
661b5d6ef7
Included docblocks
2018-09-18 16:41:45 -03:00
David Levin
12398f9028
Minor padding tweaks to ellipsis menu items
2018-09-18 10:52:37 -07:00
Albert Juhé Lluveras
d5657c879d
Make buttons to switch between bar and line chart accessible ( https://github.com/woocommerce/woocommerce-admin/pull/422 )
...
* Make buttons to switch between bar and line chart accessible
* Use better ARIA roles for line/bar chart buttons
2018-09-18 16:53:55 +02:00
Albert Juhé Lluveras
9d5cd880dd
Don't allow unselecting all items in chart legends ( https://github.com/woocommerce/woocommerce-admin/pull/427 )
...
* Don't allow unselecting all items in chart legends
* Add correct color to chart legend labels
* Add tests for chart legend enable/disable items logic
2018-09-18 16:53:30 +02:00
Kelly Dwan
f2e0165d5f
Component – Table: Add compare checkboxes ( https://github.com/woocommerce/woocommerce-admin/pull/389 )
...
* Switch to withInstanceId higher order component
* Add checkboxes to the rows in a TableCard, if a compareBy prop is set
* Add Compare button to update query param
* Populate the selected rows from the query parameter
* Update compare filter display & selected table rows when the query changes
* Skip displaying tags if the label is null/undefined
* Style table header with compare button, search placeholder
* Prevent setting just an ID list as the state, as this will wipe out already-fetched tag labels
* Update docs
* Shortcut out of fetching tag labels if the query is empty
2018-09-18 10:12:13 -04:00
Peter Fabian
0a669544d6
Added code from feature/20777, pending tests.
2018-09-18 13:32:25 +02:00
Peter Fabian
b8732e157e
Added code from feature/couponordertable.
2018-09-18 13:29:58 +02:00
Peter Fabian
aaef322e00
Added code from feature/20778, tests pending.
2018-09-18 13:27:34 +02:00
Peter Fabian
6cddb51786
Added code from feature/20770.
2018-09-18 13:24:11 +02:00
Peter Fabian
a16933143f
Added code from feature/20781, tests pending.
2018-09-18 13:20:42 +02:00
Peter Fabian
b556d55ca6
- Removed duplicate class.
...
- Overridden REST API endpoints via filters.
- Updated data store class prefixes.
- Removed debugging echo.
2018-09-18 12:24:43 +02:00
Paul Sealock
d0dc5f2f88
Advanced Filters: add match param to url
2018-09-18 14:15:41 +12:00
Peter Fabian
9ac635fd42
Updated prefixes for wc-admin plugin.
2018-09-17 21:13:19 +02:00
Peter Fabian
429803cc25
Updated prefix for stats db table.
2018-09-17 21:01:44 +02:00
Peter Fabian
1614d482cc
Postponed class init only after registering post types.
2018-09-17 20:56:04 +02:00
Peter Fabian
7b2111ec05
Added missing return statement.
2018-09-17 20:46:55 +02:00
Peter Fabian
1b71184f23
Updated path to background process class.
2018-09-17 20:36:29 +02:00
Peter Fabian
bd714210ea
Added required includes.
2018-09-17 20:36:03 +02:00
Peter Fabian
405703c17a
Added missing interface.
2018-09-17 20:35:23 +02:00
Peter Fabian
aa4035adb9
Added WC_Admin prefix for query classes where it was missing.
2018-09-17 20:20:34 +02:00
Peter Fabian
e692c45c87
Added missing path separator.
2018-09-17 20:20:00 +02:00
Peter Fabian
a92a78ce9d
Fixed order of initialization so that classes are loaded in correct order.
2018-09-17 20:19:36 +02:00
Peter Fabian
a39fc58da2
Added missing vars.
2018-09-17 19:53:57 +02:00
Kelly Dwan
7ecd6d160b
Add mock product report, helper functions ( https://github.com/woocommerce/woocommerce-admin/pull/387 )
...
* Add a mock table to Products report
* Move onQueryChange to a helper function in nav-utils
* Add function to parse out ID lists from a query parameter
* Add a default value
Prevents undefined query params from erroring on the `.split`
* Use numberFormat rather than forcing type conversion, fix table header name
* Fix duplicate export caused by merge conflict
2018-09-17 12:50:20 -04:00
Timmy Crawford
e541d4032f
Tracks: Add basic util methods for tracks. ( https://github.com/woocommerce/woocommerce-admin/pull/397 )
2018-09-17 09:42:04 -07:00
Peter Fabian
bd295af793
PHPCS (require_once is not a function).
2018-09-17 16:54:31 +02:00
Peter Fabian
d2ac6cdbe1
Added reporting REST API extensions to wc-admin.
2018-09-17 16:32:03 +02:00
Robert Elliott
c8ee6cf8e3
Merge pull request woocommerce/woocommerce-admin#413 from woocommerce/add/chart-second-x
...
Component - Chart: check if second x axis tick required
2018-09-17 11:29:56 +02:00
Robert Elliott
e79a4b9025
remove he package and rename uniqueDates to ticks
2018-09-17 11:07:11 +02:00
Robert Elliott
dbca60a660
Merge branch 'add/chart-second-x' of github.com:woocommerce/wc-admin into add/chart-second-x
2018-09-17 10:51:44 +02:00
Robert Elliott
ddc2645bef
check if second x axis tick required
2018-09-14 10:49:07 -07:00
Robert Elliott
ac8952d7ec
Component - Chart: factorial spacing of x-axis ticks ( https://github.com/woocommerce/woocommerce-admin/pull/398 )
...
* remove circles on more than 50 x points
* x-axis interval spacing
* factorial spacing of x-axis ticks
* limit pipes too
* catch recursion infinity issue and add layout
2018-09-14 10:43:53 -07:00
Timmy Crawford
8eb0906287
Chart: Add styling needed to not be wrapped by card. ( https://github.com/woocommerce/woocommerce-admin/pull/408 )
...
* Chart: Add styling needed to not be wrapped by card.
* Add negative top margin back
* Fix placeholder css.
2018-09-14 09:17:39 -07:00
Albert Juhé Lluveras
70bb1d28c8
IE11: fix dates overlapping in Custom filter ( https://github.com/woocommerce/woocommerce-admin/pull/411 )
2018-09-14 17:35:04 +02:00
Timmy Crawford
e4fd525cb4
Top Products: Display Product Name. ( https://github.com/woocommerce/woocommerce-admin/pull/406 )
...
* Top Products: Display Product Name.
* Fix tests.
2018-09-14 08:21:21 -07:00
Albert Juhé Lluveras
5669eb4b1a
Make it possible to navigate charts with the keyboard ( https://github.com/woocommerce/woocommerce-admin/pull/399 )
...
* Hide tooltip when mouse leaves chart bars
* Allow focus on chart lines/bars and show tooltip
* Extract position calculation to a function
* Make columns focusable instead of individual points in line charts
2018-09-14 14:57:09 +02:00
Robert Elliott
0b4ff7454d
check if second x axis tick required
2018-09-14 13:36:53 +02:00
Robert Elliott
b5b84fe72c
Merge pull request woocommerce/woocommerce-admin#393 from woocommerce/fix/rev-report-chart-date-parser
...
Revenue Report: align date formats for the chart
2018-09-14 12:37:16 +02:00
Robert Elliott
a08cb0dd70
remove d
2018-09-14 11:57:50 +02:00
Robert Elliott
45089c1602
2nd x-axis format
2018-09-14 11:53:54 +02:00
Albert Juhé Lluveras
b0c489bab1
IE11: avoid reviews date overlapping product name ( https://github.com/woocommerce/woocommerce-admin/pull/400 )
2018-09-14 09:19:36 +02:00
Paul Sealock
b125c75eef
Merge pull request woocommerce/woocommerce-admin#386 from woocommerce/add/advanced-filters-search-getLabels
...
Advanced Filters: Add api fetch for Search results
2018-09-14 11:17:59 +12:00
Paul Sealock
9629a46da1
update to latest GB changes
2018-09-14 11:16:19 +12:00
Paul Sealock
5a2ba2c9f2
Merge pull request woocommerce/woocommerce-admin#396 from woocommerce/fix/popover-positioning
...
Dropdown: fix positioning
2018-09-14 10:18:44 +12:00