Claudio Sanches
6a8ecd0d54
Updated PHPCS rules
2018-09-21 13:56:45 -03:00
Kelly Dwan
6d2eec1c12
Update `layout/*` file structure ( https://github.com/woocommerce/woocommerce-admin/pull/463 )
...
* Move section, header, and activity panel out of layout folder
* Update file soures
* Move documentation into component, and update generation script to handle the duplicated exports
2018-09-21 11:19:05 -04:00
Peter Fabian
5be0bdad97
Travis test 10.
2018-09-21 17:07:03 +02:00
Albert Juhé Lluveras
ccde0effe2
Remove opacity property from chart tooltip title styles ( https://github.com/woocommerce/woocommerce-admin/pull/466 )
2018-09-21 17:03:06 +02:00
Peter Fabian
6546df1506
Travis test 9.
2018-09-21 17:01:04 +02:00
Peter Fabian
cfea428209
Travis test 8.
2018-09-21 16:51:22 +02:00
Peter Fabian
6e6b028554
Travis test 7.
2018-09-21 16:37:02 +02:00
Peter Fabian
a5dcd77f4b
Travis test 6.
2018-09-21 16:15:43 +02:00
Peter Fabian
aa2eec9b19
Travis test 5.
2018-09-21 15:58:17 +02:00
Peter Fabian
a2de6b6aa5
Travis test 4.
2018-09-21 15:47:59 +02:00
Peter Fabian
6c76e0f144
Added Gutenberg installation to Travis.
2018-09-21 15:40:45 +02:00
Peter Fabian
55dffc32ae
Added /vendor/ to gitignore.
2018-09-21 15:34:26 +02:00
Peter Fabian
283f3dbd9f
Travis test 3.
2018-09-21 15:32:42 +02:00
Peter Fabian
ec00be9f15
Travis test 2.
2018-09-21 15:16:53 +02:00
Peter Fabian
75b01556ab
Travis test 1.
2018-09-21 15:06:16 +02:00
Peter Fabian
e0757beafc
Included product lookup in reports regeneration tool.
2018-09-21 12:24:15 +02:00
Peter Fabian
5aa3aae58a
The installation code should not run on each plugin load, only when activated.
2018-09-21 12:14:08 +02:00
Peter Fabian
aa8a09adbe
Merge branch 'master' into fix/440
2018-09-21 10:59:47 +02:00
Peter Fabian
8f2af2e6d8
Corrected hour representation in tests.
2018-09-21 10:37:39 +02:00
Peter Fabian
0b68f52832
Merge pull request woocommerce/woocommerce-admin#441 from woocommerce/fix/437
...
Use WooCommerce's database prefix
2018-09-21 10:01:53 +02:00
Paul Sealock
679ce51bd1
Merge pull request woocommerce/woocommerce-admin#419 from woocommerce/add/coupons-autocompleter-plumbing
...
Add Coupons autocompleter and relevant configs
2018-09-21 11:57:56 +12:00
Paul Sealock
a299aad167
Coupons: add config, autocompleter
2018-09-21 11:54:22 +12:00
Albert Juhé Lluveras
a18a9cd89a
Update tooltip title and labels in standard graphs ( https://github.com/woocommerce/woocommerce-admin/pull/458 )
...
* Allow adding a label for each specific point in a chart
* Update test fixtures
* Update README with new data format
* Simplify getPreviousDate function code
* Update tooltip dates format
* Add new prop to charts 'tooltipTitle' to override the date tooltip title
* Fix totals not being calculated in charts legend
* Fix JS error when hiding lines in chart
* Fix a couple of issues with chart README
* Add quotes around prop names
* Remove unused variable
* Remove colon after tooltip label
2018-09-20 16:28:22 +02:00
Peter Fabian
880d99986f
Fixed interval boundary function arguments in case no intervals are being added.
2018-09-20 16:23:19 +02:00
Albert Juhé Lluveras
18be372cad
Increase contrast of the tooltip title color ( https://github.com/woocommerce/woocommerce-admin/pull/460 )
2018-09-20 16:21:21 +02:00
Albert Juhé Lluveras
a877f45471
Change default date format for chart tooltips ( https://github.com/woocommerce/woocommerce-admin/pull/459 )
2018-09-20 16:21:03 +02:00
Peter Fabian
9ccb1e2124
Added revenue stats tests.
2018-09-20 16:20:50 +02:00
Peter Fabian
389a2182a1
Initial setup for unit tests.
2018-09-20 16:20:04 +02:00
Peter Fabian
e28f8255c3
Casted numeric values to floats before performing arithmetic operations.
2018-09-20 16:03:27 +02:00
Paul Sealock
a27134e1a6
Merge pull request woocommerce/woocommerce-admin#294 from woocommerce/fix/dropdown-resize
...
Datepicker: resize dropdown on tab switch
2018-09-20 06:38:03 +12:00
Timmy Crawford
b13d0bd2ac
Tracks: Record page views on route changes. ( https://github.com/woocommerce/woocommerce-admin/pull/452 )
...
* Tracks: Record page views on route changes.
* adjust regex.
2018-09-19 11:23:05 -07:00
Timmy Crawford
daa3bdcf3c
Docs: Remove REST API feature branch requirement. ( https://github.com/woocommerce/woocommerce-admin/pull/445 )
...
* Remove REST API feature branch requirement.
* npm run docs
2018-09-19 10:55:44 -07:00
Kelly Dwan
60f7c99753
Update label config to provide more specific labeling to each filter ( https://github.com/woocommerce/woocommerce-admin/pull/432 )
2018-09-19 13:23:57 -04:00
Kelly Dwan
1c6fe0e970
Compare Filter: Wrap up compare card functionality ( https://github.com/woocommerce/woocommerce-admin/pull/431 )
...
* Disable compare button if less than 2 items are selected
* Add a placeholder prop to the Search component
* Pass a placeholder label from filter configs for Search
* Add support for a label in Search
* Add Clear All link to reset comparison card
* Add a label when compare button is disabled
* Abstract the conditional tooltip/disabled button logic to a new component
* Add helpText as a customizable label
* Add icon to the search field
* Remove the parameter from query by passing in undefined
2018-09-19 13:16:52 -04:00
Albert Juhé Lluveras
5e87febf04
Chart Legend: Update checkbox styles to outline when unchecked ( https://github.com/woocommerce/woocommerce-admin/pull/426 )
...
Chart Legend: Update checkbox styles to outline when unchecked and add focus state
2018-09-19 16:41:13 +02:00
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