Jonathan Belcher
812d72dd9f
Adds php compatibility range for phpcs ( https://github.com/woocommerce/woocommerce-admin/pull/618 )
...
* Adds php compatibility range for phpcs
* Change minimun version to 5.2
2018-10-24 09:09:33 -04:00
Robert Elliott
5b0084a23c
Merge pull request woocommerce/woocommerce-admin#639 from woocommerce/add/chart-remove-dup-years
...
Chart: remove year from x2-axis tick if present in previous tick
2018-10-24 13:18:33 +02:00
Robert Elliott
6b2bd1e11d
tests and jsdocs
2018-10-24 13:13:17 +02:00
Robert Elliott
bc098e58d4
refactor compareStrings
2018-10-24 13:00:29 +02:00
Robert Elliott
d152686a65
approach to remove duplicate string characters from prev x-tick
2018-10-24 12:42:43 +02:00
Albert Juhé Lluveras
29f68a9ce8
Products table ( https://github.com/woocommerce/woocommerce-admin/pull/619 )
...
* Add Products table
* Update tests
* Cleanup
* Make placeholder table have the correct sorted column selected
* Change default sort to items_sold & desc
* Fix wrong CSV filename
* Remove unnecessary constructor in ProductsReportTable
* Add @TODO comment to Products table summary
* Set ProductsReportTable link to wc-admin type
* Make sure categories is an array before using map
2018-10-24 09:50:05 +02:00
Albert Juhé Lluveras
7be34b3f37
Move Download table logic inside the TableCard component ( https://github.com/woocommerce/woocommerce-admin/pull/652 )
...
* Move Download table logic inside the TableCard component
* Make title lowercase inside generateCSVFileName
* Update JSDoc comment
2018-10-24 09:48:20 +02:00
Paul Sealock
2629109bdf
Merge pull request woocommerce/woocommerce-admin#568 from woocommerce/fix/date-params-persistence
...
Fix/date params persistence
2018-10-24 12:32:24 +13:00
Paul Sealock
240599c095
Persist date related parameters on report navigation
2018-10-24 12:16:35 +13:00
Jonathan Belcher
a29799eb85
Fixes PHP errors caused by linting fixes ( https://github.com/woocommerce/woocommerce-admin/pull/650 )
2018-10-23 19:12:49 -04:00
Jonathan Belcher
cb69cf1051
Updates Package Lock ( https://github.com/woocommerce/woocommerce-admin/pull/657 )
2018-10-23 15:13:55 -04:00
Claudio Sanches
1fd5714162
Merge pull request woocommerce/woocommerce-admin#644 from woocommerce/fix/lints-lib-admin
...
Fixes lints in lib/admin.php
2018-10-23 15:08:34 -03:00
renovate[bot]
bb48e0bc2b
Update dependency phpunit/phpunit to v7.4.3 ( https://github.com/woocommerce/woocommerce-admin/pull/651 )
2018-10-23 14:08:12 -04:00
renovate[bot]
2a68549e30
Update dependency @wordpress/api-fetch to v2.1.0 ( https://github.com/woocommerce/woocommerce-admin/pull/625 )
2018-10-23 14:00:15 -04:00
renovate[bot]
a978fa1e5e
Update dependency eslint-plugin-jest to v21.26.0 ( https://github.com/woocommerce/woocommerce-admin/pull/629 )
2018-10-23 13:59:42 -04:00
renovate[bot]
d40b0ccc94
Update dependency phpunit/phpunit to v7 ( https://github.com/woocommerce/woocommerce-admin/pull/600 )
...
* Update dependency phpunit/phpunit to v7
* Adds composer.lock
2018-10-23 13:56:06 -04:00
Jonathan Belcher
46c369afb1
Fixes lints in class-wc-admin-reports-data-store ( https://github.com/woocommerce/woocommerce-admin/pull/643 )
...
* Fixes lints in class-wc-admin-reports-data-store
* Fix documentation
2018-10-23 13:55:03 -04:00
Jonathan Belcher
a6243b8dbe
Adds proper doc block with proper TODO
2018-10-23 13:54:20 -04:00
Jonathan Belcher
50aed9121a
Update admin.php
2018-10-23 13:45:43 -04:00
Claudio Sanches
645799c1a0
Merge pull request woocommerce/woocommerce-admin#642 from woocommerce/fix/linting-error-in-test-sample
...
Fix linting errors in tests/test-sample.php
2018-10-23 14:09:04 -03:00
Claudio Sanches
8b67f5f50d
Merge pull request woocommerce/woocommerce-admin#646 from woocommerce/fix/lints-class-wc-admin-reports-products-query.php
...
Fixes PHP 5.2 compatibility issues
2018-10-23 14:04:40 -03:00
Claudio Sanches
ebf79b489a
Merge pull request woocommerce/woocommerce-admin#647 from woocommerce/fix/lints-class-wc-admin-reports-products-stats-query.php
...
Fixes PHP 5.2 compatibility issues
2018-10-23 14:04:03 -03:00
Claudio Sanches
12922e3b40
Merge pull request woocommerce/woocommerce-admin#645 from woocommerce/fix/lints-class-wc-admin-reports-orders-stats-query
...
Fixes PHP 5.2 compatibility issues
2018-10-23 14:03:42 -03:00
Jonathan Belcher
2be2d78306
Fixes PHP 5.2 compatibility issues
2018-10-23 12:50:34 -04:00
Jonathan Belcher
b58043380e
Fixes PHP 5.2 compatibility issues
2018-10-23 12:47:51 -04:00
Jonathan Belcher
39ee05cc70
Fixes PHP 5.2 compatibility issues
2018-10-23 12:43:55 -04:00
Jonathan Belcher
1766f2ceb1
PHPCS ignore one line
2018-10-23 12:07:55 -04:00
Jonathan Belcher
03c8e42364
Fix errors in lib/common.php ( https://github.com/woocommerce/woocommerce-admin/pull/641 )
...
* Fix errors in lib/common.php
* Update package.json
2018-10-23 11:55:37 -04:00
Jonathan Belcher
4f3a102e18
Fixes lints in lib/admin.php
2018-10-23 11:52:18 -04:00
renovate[bot]
76a9300b35
Pin dependency composer/installers to ~1.6 ( https://github.com/woocommerce/woocommerce-admin/pull/636 )
2018-10-23 11:12:17 -04:00
renovate[bot]
9de04598a9
Update dependency webpack to v4.22.0 ( https://github.com/woocommerce/woocommerce-admin/pull/617 )
2018-10-23 11:10:49 -04:00
renovate[bot]
19295ebcfb
Update dependency autoprefixer to v9.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/637 )
2018-10-23 11:09:45 -04:00
Jonathan Belcher
daa929b887
Add file doc block to fix linting issue ( https://github.com/woocommerce/woocommerce-admin/pull/628 )
2018-10-23 11:08:49 -04:00
Jonathan Belcher
521fc2528c
Removes phpcs from npm run lint ( https://github.com/woocommerce/woocommerce-admin/pull/640 )
2018-10-23 11:08:00 -04:00
Jonathan Belcher
8e46a78a2f
Fix linting errors in tests/test-sample.php
2018-10-23 09:57:45 -04:00
Albert Juhé Lluveras
b757247c52
Move Revenue table to its own component ( https://github.com/woocommerce/woocommerce-admin/pull/623 )
...
* Move revenue table to its own component
* Remove unnecessary constructor in RevenueReportTable
2018-10-23 10:07:23 +02:00
Albert Juhé Lluveras
7979dbc474
Make Orders placeholder table have the correct sorted column ( https://github.com/woocommerce/woocommerce-admin/pull/620 )
...
* Make Orders placeholder table have the correct sorted column
* Fix wrong CSV filename
2018-10-23 09:49:04 +02:00
Allen Snook
22b37e0e5c
Merge pull request woocommerce/woocommerce-admin#627 from woocommerce/fix/626-notes-schema
...
Activity Panel: Inbox: Correctly define admin notes REST API schema
2018-10-22 17:19:20 -07:00
Allen Snook
2147b23c4d
Correctly define admin notes schema
2018-10-22 13:15:44 -07:00
Jonathan Belcher
24ec81dddd
Adds phpcs npm command ( https://github.com/woocommerce/woocommerce-admin/pull/609 )
...
* Adds phpcs npm command
* fix naming of commands
2018-10-22 12:34:28 -04:00
Allen Snook
bf898e642b
Merge pull request woocommerce/woocommerce-admin#566 from woocommerce/add/admin-notices-new-sales-record
...
Activity Panel: Inbox: New Sales Record Note
2018-10-22 09:26:13 -07:00
Jonathan Belcher
e85ad7d410
Updates package lock ( https://github.com/woocommerce/woocommerce-admin/pull/607 )
...
* Updates package lock
* Recreate package-lock
2018-10-22 12:23:53 -04:00
Jonathan Belcher
7bc2767301
Updates PHPCS rule names ( https://github.com/woocommerce/woocommerce-admin/pull/610 )
2018-10-22 12:20:34 -04:00
Jonathan Belcher
ecb3013fd3
Uses PHPBCF to autofix warnings and errors ( https://github.com/woocommerce/woocommerce-admin/pull/611 )
2018-10-22 12:20:14 -04:00
Allen Snook
f0495c7071
Rename wc_admin_daily function to do_wc_admin_daily to distinguish it from the hook
2018-10-22 09:09:28 -07:00
Timmy Crawford
f8d70506a1
Update/track usage logic ( https://github.com/woocommerce/woocommerce-admin/pull/561 )
...
* Tracks: Don't track if Jetpack is not present or in dev env.
* Check for JETPACK__VERSION instead.
* Fix linting errors
* Yoda conditions use you must
2018-10-22 08:56:02 -07:00
Joshua T Flowers
88058b2bf4
Add default report data if empty product data is returned ( https://github.com/woocommerce/woocommerce-admin/pull/581 )
...
* Add default report data if empty product data is returned
* Remove unused argument ''
* Remove filter params
2018-10-22 11:51:24 -04:00
Albert Juhé Lluveras
bfcc817240
Create EmptyTable component ( https://github.com/woocommerce/woocommerce-admin/pull/605 )
...
* Create EmptyTable component
* Update failing test
* Make EmptyTable a functional component
* Add EmptyTable to example.md
2018-10-20 13:16:53 +02:00
renovate[bot]
1dfd3b186b
Update wordpress monorepo to v2.1.4 ( https://github.com/woocommerce/woocommerce-admin/pull/614 )
2018-10-19 20:35:53 -04:00
Allen Snook
6a25fb2249
Remove unneeded set_id in note deletion handler
2018-10-19 16:24:03 -07:00