Robert Elliott
e79a4b9025
remove he package and rename uniqueDates to ticks
2018-09-17 11:07:11 +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
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
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
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
5a2ba2c9f2
Merge pull request woocommerce/woocommerce-admin#396 from woocommerce/fix/popover-positioning
...
Dropdown: fix positioning
2018-09-14 10:18:44 +12:00
Paul Sealock
842c23201e
AdvancedFilters: Update Search usage to use 'getLabels' from config
2018-09-14 10:17:35 +12:00
Albert Juhé Lluveras
48ed6fa568
Make Top Selling Products table to have the same height in all states ( https://github.com/woocommerce/woocommerce-admin/pull/394 )
...
* Make table font-size accessible
* Make TopSellingProducts table load only five products
* Make empty message on TopSellingProducts table the same height than the table
* Update breaking test
* Use font-size mixin in table items/header
2018-09-13 11:05:26 +02:00
Paul Sealock
d5546e0858
Dropdown: fix positioning
2018-09-13 11:44:50 +12:00
Paul Sealock
361b6de834
Advanced Filters: Filter button improvements
2018-09-13 11:07:53 +12:00
Robert Elliott
abe27333ae
remove uncommented style
2018-09-12 15:24:45 +02:00
Robert Elliott
b276750955
html encoder for currency symbols
2018-09-12 13:16:44 +02:00
Robert Elliott
a7ed5f0c85
html encoder for currency symbols
2018-09-12 13:16:36 +02:00
Paul Sealock
925140fc78
Merge pull request woocommerce/woocommerce-admin#349 from woocommerce/add/advanced-filters-url-support
...
Advanced Filters: Add url support
2018-09-12 14:31:13 +12:00
Justin Shreve
baf44d030f
Add interval handling to the revenue report.
2018-09-12 12:28:25 +12:00
Robert Elliott
4d155cd015
line and bar icon buttons
2018-09-11 13:10:36 +02:00
Albert Juhé Lluveras
ae8739d63f
Add required polyfills so react-dates works in Internet Explorer 11 ( https://github.com/woocommerce/woocommerce-admin/pull/356 )
...
react-dates developers recommend using airbnb-browser-shims, but doing some
testing I found loading the required polyfills individually instead of the
entire Airbnb Browser Shims package produces smaller builds.
2018-09-11 09:28:50 +02:00
Paul Sealock
3e7bed27cc
Search: move selected from state to props
2018-09-11 16:18:10 +12:00
Robert Elliott
e38284eb96
Merge pull request woocommerce/woocommerce-admin#381 from woocommerce/add/chart-legend-order
...
Chart Component: remove chart legend ordering for layout=standard and color scales
2018-09-10 16:04:36 +02:00
Robert Elliott
65f9b7540b
Merge pull request woocommerce/woocommerce-admin#380 from woocommerce/add/chart-legend-layout
...
Chart Component: standard vs comparison legend layout
2018-09-10 16:03:01 +02:00
Robert Elliott
4242a64f30
add smallcolorscale fractions for chromatic scaled colors
2018-09-10 15:59:14 +02:00
Kelly Dwan
eee638b12b
Component – Filters: Add "comparison" card ( https://github.com/woocommerce/woocommerce-admin/pull/368 )
...
* Add a new component with product search for the compare card
* Get product names from API when passed through URL
* Abstract out the products-related code into filter settings
* Update filters to provide multiple comparisons
Alternative to the “Compare [dropdown]” approach
* Update documentation
* Wipe selected items when the compare-type is updated
* Update labels & order of items in filter dropdown
* Add getLabels prop & description
2018-09-10 09:59:14 -04:00
Robert Elliott
3fdd9164c8
only sort on totals for layout=comparison & add dateParser prop for date formatting
2018-09-10 14:57:36 +02:00
Robert Elliott
bf6a647c79
standard vs comparison legend layout
2018-09-10 13:32:13 +02:00
Kelly Dwan
cbce093df1
Add “product category” autocompleter ( https://github.com/woocommerce/woocommerce-admin/pull/367 )
2018-09-07 15:39:04 -04:00
Albert Juhé Lluveras
069fcb7fe6
IE11: fix Card layout broken because it was using CSS grid ( https://github.com/woocommerce/woocommerce-admin/pull/370 )
2018-09-07 17:52:51 +02:00
Robert Elliott
74514a2b48
Merge pull request woocommerce/woocommerce-admin#350 from woocommerce/fix/chart-design-feedback
...
Merging this.
@LevinMedia please continue to post additional issues or comments on the master thread woocommerce/woocommerce-admin#164
2018-09-07 14:54:58 +02:00
Robert Elliott
91a8a9eec3
improve jsdoc and remove Math.round()
2018-09-07 14:48:07 +02:00
Robert Elliott
1ed72ede25
colour -> color
2018-09-07 14:45:29 +02:00
Robert Elliott
8829498466
set d3 local and update number format
2018-09-07 14:39:35 +02:00
Robert Elliott
9e4062c51f
set d3 local and update number format
2018-09-07 14:39:31 +02:00
Robert Elliott
90cb4ba6c8
fix vertical line on hover
2018-09-07 12:41:40 +02:00
Robert Elliott
a8449b08c0
left align y-axis text
2018-09-07 12:28:02 +02:00
Albert Juhé Lluveras
f12f431a2b
Fix Date filters grid not displaying correctly in IE11 ( https://github.com/woocommerce/woocommerce-admin/pull/366 )
2018-09-07 11:43:52 +02:00
Robert Elliott
233c7755f7
hover confusion
2018-09-07 11:21:52 +02:00
Robert Elliott
58efdd90c0
massaging y ticks and updating tests
2018-09-06 18:21:33 +02:00
Robert Elliott
709e5a2896
header legend hover styling
2018-09-06 18:21:33 +02:00
Robert Elliott
7dd2883f56
tooltip formatting
2018-09-06 18:21:31 +02:00
Robert Elliott
93aae38b8a
pipes, months, formatting
2018-09-06 18:15:08 +02:00
Robert Elliott
c11da940e2
if legend item unchecked no hover status
...
modified: client/components/chart/legend.js
modified: client/components/chart/style.scss
modified: package-lock.json
2018-09-06 18:15:08 +02:00
Robert Elliott
2df9b05b5f
Merge pull request woocommerce/woocommerce-admin#360 from woocommerce/add/chart-intervals
...
Chart Component: Add/chart intervals
2018-09-06 18:10:37 +02:00
Robert Elliott
0f66375b88
updated from feedback
2018-09-06 17:58:24 +02:00
Albert Juhé Lluveras
090ecf3a8a
IE11: fix CSS grid in Summary ( https://github.com/woocommerce/woocommerce-admin/pull/353 )
...
* Fix Summary values not visible with IE11
* Fix Summary grid for IE11
* Move grid position mixin to _mixins file, so it can be used for other elements
* Remove set-grid-positions mixin and improve code understandability
2018-09-06 17:11:34 +02:00
Robert Elliott
fddeb2502c
exmple-hour update
2018-09-06 11:40:29 +02:00
Robert Elliott
0ad4b9a312
updated tests with latest date format
2018-09-06 11:12:03 +02:00