Commit Graph

861 Commits

Author SHA1 Message Date
Peter Fabian 3d71ec9208 Simplified compound expression to fix code for older PHP versions. 2018-10-26 14:02:53 +02:00
Robert Elliott fd846b3396 Merge pull request woocommerce/woocommerce-admin#684 from woocommerce/bug/x2-axis-dups
Bug: ensure duplicate parts of date removed from x2 ticks
2018-10-26 10:43:57 +02:00
Albert Juhé Lluveras 0caed9a28a Create QUERY_DEFAULTS object with default values for queries (https://github.com/woocommerce/woocommerce-admin/pull/686) 2018-10-26 10:19:39 +02:00
Robert Elliott a9cb5a78cc Merge pull request woocommerce/woocommerce-admin#540 from woocommerce/add/chart-readability
Component - chart: adjust chart height and dots
2018-10-26 10:15:35 +02:00
Robert Elliott 36ef0a9459 updated dotRadius and lineStroke based on viewport size 2018-10-26 10:10:29 +02:00
Robert Elliott 2551696c6a show circles if the width to x-tick ratio is greater than 36px 2018-10-26 09:57:55 +02:00
Robert Elliott a538ef7234 adjust chart height and dots 2018-10-26 09:57:55 +02:00
Paul Sealock 01fa16aa35 Merge pull request woocommerce/woocommerce-admin#679 from woocommerce/add/date-picker-dashboard
Dashboard: Add DatePicker
2018-10-26 10:05:04 +13:00
renovate[bot] 56f047c6f3 Pin dependency @babel/plugin-transform-react-jsx to 7.0.0 (https://github.com/woocommerce/woocommerce-admin/pull/680) 2018-10-25 15:26:06 -04:00
renovate[bot] 6ce21d5fff Update dependency webpack to v4.23.1 (https://github.com/woocommerce/woocommerce-admin/pull/683) 2018-10-25 15:24:44 -04:00
David Levin 515324a3c2 Merge pull request woocommerce/woocommerce-admin#688 from woocommerce/update/activity-tab-style
remove rounded corners from activity bar icon buttons
2018-10-25 10:52:48 -07:00
Allen Snook a8be179ebd Merge pull request woocommerce/woocommerce-admin#649 from woocommerce/add/store-notice-setting-moved
Activity Panel: Inbox: When the user updates WooCommerce, add a note alerting that the store notice setting has moved
2018-10-25 10:06:30 -07:00
David Levin bd0dccd132 remove rounded corners from activity bar icon buttons 2018-10-25 08:58:30 -07:00
Robert Elliott e6a609ae7a fix compareStrings issue 2018-10-25 13:47:31 +02:00
Robert Elliott 54ffd1bd0a Merge pull request woocommerce/woocommerce-admin#638 from woocommerce/add/charts-full-year
Chart: updated intervals to use the full year
2018-10-25 12:23:32 +02:00
Albert Juhé Lluveras 1c819740f4 Persist date params in Products table link (https://github.com/woocommerce/woocommerce-admin/pull/671) 2018-10-25 12:07:30 +02:00
Robert Elliott e21a6022e7 updated lib/date iintervals to use the full year incl. centruy, 2018-10-25 11:12:27 +02:00
Robert Elliott 97a819a44d Merge pull request woocommerce/woocommerce-admin#635 from woocommerce/add/chart-uneven-ticks
Chart: remove last x-axis tick in an uneven series
2018-10-25 11:10:31 +02:00
Allen Snook e7ba47e958 Go ahead and 1) handle the variety of queries that can be used
as action button links and 2) enable the button (tracking will
come next). Also had to tweak CSS for activity panel item buttons
a little
2018-10-24 18:13:44 -07:00
Paul Sealock 02383f0ce7 Dashboard: Add DatePicker 2018-10-25 11:40:59 +13:00
Jonathan Belcher dec6022638 Updates wc-admin menu order and entries woocommerce/woocommerce-admin#624 (https://github.com/woocommerce/woocommerce-admin/pull/656)
* Updates wc-admin menu order and entries woocommerce/woocommerce-admin#624

* Remove menu items for pages that are not ready
2018-10-24 17:58:31 -04:00
Kelly Dwan d5c2787520 Build: Update babel config (https://github.com/woocommerce/woocommerce-admin/pull/677)
* Update babel config

* Fix typo in babel config

* Update babel config, fix missing transform
2018-10-24 17:17:23 -04:00
Jonathan Belcher 86b9a31735 Updates Package Lock (https://github.com/woocommerce/woocommerce-admin/pull/676) 2018-10-24 16:20:47 -04:00
renovate[bot] 393a56183b Update dependency webpack to v4.23.0 (https://github.com/woocommerce/woocommerce-admin/pull/673) 2018-10-24 16:16:18 -04:00
renovate[bot] 72ed89a19c Update dependency eslint-plugin-jest to v21.26.1 (https://github.com/woocommerce/woocommerce-admin/pull/672) 2018-10-24 16:11:14 -04:00
Jonathan Belcher fff67b1e4b Fixes PHP 5.2 compatibility issues (https://github.com/woocommerce/woocommerce-admin/pull/653) 2018-10-24 14:49:58 -04:00
Jonathan Belcher 8825c91802 Updates Package Lock (https://github.com/woocommerce/woocommerce-admin/pull/670) 2018-10-24 11:22:29 -04:00
renovate[bot] 8acafde981 Update dependency autoprefixer to v9.3.1 (https://github.com/woocommerce/woocommerce-admin/pull/669) 2018-10-24 11:18:43 -04:00
renovate[bot] cc635d7697 Update react monorepo to v16.6.0 (https://github.com/woocommerce/woocommerce-admin/pull/662) 2018-10-24 11:17:16 -04:00
Job 6e36918db3 Fixes woocommerce/woocommerce-admin#664 (https://github.com/woocommerce/woocommerce-admin/pull/665) 2018-10-24 17:12:45 +02:00
Albert Juhé Lluveras 1a2b28fee8 Don't include hidden columns when downloading a table as CSV (https://github.com/woocommerce/woocommerce-admin/pull/667) 2018-10-24 16:26:19 +02:00
Albert Juhé Lluveras 2cce4e90c5 Use downloadable prop in Products report table (https://github.com/woocommerce/woocommerce-admin/pull/668) 2018-10-24 16:25:53 +02:00
Albert Juhé Lluveras d770e9a7e0 Fix resolvers tests giving false positives (https://github.com/woocommerce/woocommerce-admin/pull/666) 2018-10-24 16:25:42 +02:00
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
Robert Elliott 133e0a7646 remove 'or last' 2018-10-24 12:39:55 +02:00
Robert Elliott cf3d3eb0f0 remove last tick in an uneven series 2018-10-24 12:39:55 +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