renovate[bot]
9c0dd84677
Update dependency eslint-plugin-jest to v21.26.2 ( https://github.com/woocommerce/woocommerce-admin/pull/705 )
2018-10-26 10:19:23 -04:00
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
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
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
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
Allen Snook
51991d1b27
Remove inadvertently added blank line
2018-10-23 10:41:17 -07:00
Allen Snook
c45a6cf5de
On update, add a note alerting that the store notice setting has moved
2018-10-23 10:30:33 -07: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
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
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
Allen Snook
a46d83aea3
Rewrite the queries a bit to leverage prepare when possible
2018-10-19 15:48:38 -07:00
Allen Snook
bb14dcd995
One argument per line in multi argument calls
2018-10-19 15:05:40 -07:00
Allen Snook
0032da31f5
Remove constructor for notes class as not needed
2018-10-19 14:52:53 -07:00
Allen Snook
3d7b92f58f
Make it a proper daily scheduled event
2018-10-19 14:47:39 -07:00
Allen Snook
04b33f9e6b
Hook up the remainder of the sales record message. There can only be one.
2018-10-19 14:45:03 -07:00
Allen Snook
d05a1c63ff
Calculate previous days sales, add note if new max
2018-10-19 14:41:37 -07:00
Allen Snook
1a3c3f2c86
Undo whitespace change introduced during rebasing
2018-10-19 14:24:22 -07:00
Allen Snook
ffb6ddfafc
Remove package lock from this branch
2018-10-19 14:21:54 -07:00
Allen Snook
9638b063a0
Add unit test for sanitize html
2018-10-19 14:21:54 -07:00
Allen Snook
95080bd68b
Display an error to the user if inbox fetching fails
2018-10-19 14:21:54 -07:00
Allen Snook
b0be112277
Add unit tests for notes store
2018-10-19 14:21:54 -07:00
Allen Snook
bd8fd2c9ec
No need to sort now - the store is ordering correctly
2018-10-19 14:21:54 -07:00
Allen Snook
a7bbb4766d
Correct typo in get path
2018-10-19 14:21:54 -07:00
Allen Snook
2dfc410079
Remove console logging
2018-10-19 14:21:54 -07:00
Allen Snook
ad06cee25d
Update notes store to include queries
2018-10-19 14:21:54 -07:00
Allen Snook
8622ee7fc4
Disable the activity buttons for now (REST API does not update yet)
2018-10-19 14:21:54 -07:00
Allen Snook
8378423077
Newest notes at the top, please
2018-10-19 14:21:54 -07:00
Allen Snook
b8a83bf1e1
Allow selected tags through to the note content
2018-10-19 14:21:54 -07:00
Allen Snook
279be9e66e
Add notes to redux, connect to inbox
2018-10-19 14:21:53 -07:00
Allen Snook
47575a9895
Begin adding notes store
2018-10-19 14:21:53 -07:00
Allen Snook
3b2791acf4
Accept page and per page params in REST query, return total count of notes in header
2018-10-19 14:21:06 -07:00
renovate[bot]
4f37d1b776
Update dependency wimg/php-compatibility to v9 ( https://github.com/woocommerce/woocommerce-admin/pull/601 )
2018-10-19 16:42:45 -04:00
Jonathan Belcher
3e92954438
Fixes React Live by pinning buble version ( https://github.com/woocommerce/woocommerce-admin/pull/608 )
...
This (sort of) pins buble to the last good version, 0.19.4. react-live uses a ^ version, which picked up the broken release during the renovate update sweep.
2018-10-19 16:36:02 -04:00
renovate[bot]
4728c7c9d6
Update dependency wp-coding-standards/wpcs to v1 ( https://github.com/woocommerce/woocommerce-admin/pull/604 )
2018-10-19 16:10:13 -04:00
Jonathan Belcher
9d5e0dceb6
Temporary fix for dev docs while react-live is fixed ( https://github.com/woocommerce/woocommerce-admin/pull/606 )
...
* Temporary fix for dev docs while react-live is fixed
* Return null instead of th element
2018-10-19 14:06:49 -04:00
renovate[bot]
41536b35cb
Update dependency react-live to v1.12.0 ( https://github.com/woocommerce/woocommerce-admin/pull/590 )
2018-10-19 13:25:39 -04:00
renovate[bot]
0bff5beecf
Update dependency husky to v1 ( https://github.com/woocommerce/woocommerce-admin/pull/599 )
2018-10-19 13:25:11 -04:00
renovate[bot]
cc36f993d7
Update dependency babel-eslint to v10 ( https://github.com/woocommerce/woocommerce-admin/pull/598 )
2018-10-19 13:24:50 -04:00
renovate[bot]
f850eb1a40
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/597 )
2018-10-19 13:06:42 -04:00
renovate[bot]
0da0cb9b05
Update react monorepo to v16.5.2 ( https://github.com/woocommerce/woocommerce-admin/pull/596 )
2018-10-19 13:01:49 -04:00
renovate[bot]
097aae16c2
Update dependency webpack-cli to v3.1.2 ( https://github.com/woocommerce/woocommerce-admin/pull/595 )
2018-10-19 13:00:20 -04:00
renovate[bot]
35c644b4f7
Update dependency webpack to v4.21.0 ( https://github.com/woocommerce/woocommerce-admin/pull/594 )
2018-10-19 12:58:35 -04:00
renovate[bot]
83621afc85
Update dependency style-loader to v0.23.1 ( https://github.com/woocommerce/woocommerce-admin/pull/593 )
2018-10-19 12:56:48 -04:00
renovate[bot]
6797a2a80f
Update dependency recast to v0.16.0 ( https://github.com/woocommerce/woocommerce-admin/pull/592 )
2018-10-19 12:55:42 -04:00
renovate[bot]
1de58e7573
Update dependency node-sass to v4.9.4 ( https://github.com/woocommerce/woocommerce-admin/pull/589 )
2018-10-19 12:54:21 -04:00
Albert Juhé Lluveras
cf2152eafd
IE11: fix table header misalignment. ( https://github.com/woocommerce/woocommerce-admin/pull/603 )
2018-10-19 17:40:28 +02:00
Albert Juhé Lluveras
508141b709
IE11: fix tooltip not correctly positioned in charts ( https://github.com/woocommerce/woocommerce-admin/pull/602 )
2018-10-19 17:39:14 +02:00
Allen Snook
3155d5ec24
Merge pull request woocommerce/woocommerce-admin#507 from woocommerce/add/admin-notices-rest-api
...
Activity Panel: Inbox: Add REST API (GETters only)
2018-10-19 08:04:46 -07:00
renovate[bot]
7f549f20bb
Update dependency marked to v0.5.1 ( https://github.com/woocommerce/woocommerce-admin/pull/588 )
2018-10-19 10:08:05 -04:00
renovate[bot]
891aeee03d
Update dependency eslint-plugin-jsx-a11y to v6.1.2 ( https://github.com/woocommerce/woocommerce-admin/pull/587 )
2018-10-19 10:05:22 -04:00
renovate[bot]
8d22e614c2
Update dependency eslint-plugin-jest to v21.25.1 ( https://github.com/woocommerce/woocommerce-admin/pull/586 )
2018-10-19 09:58:49 -04:00
renovate[bot]
98f17ca36a
Update dependency eslint-loader to v2.1.1 ( https://github.com/woocommerce/woocommerce-admin/pull/585 )
2018-10-19 09:53:36 -04:00
renovate[bot]
2393a736ce
Update dependency eslint to v5.7.0 ( https://github.com/woocommerce/woocommerce-admin/pull/584 )
2018-10-19 09:44:01 -04:00
renovate[bot]
8fb274c1d2
Update dependency babel-loader to v8.0.4 ( https://github.com/woocommerce/woocommerce-admin/pull/578 )
2018-10-19 09:33:27 -04:00
renovate[bot]
575013094e
Update dependency autoprefixer to v9.2.1 ( https://github.com/woocommerce/woocommerce-admin/pull/577 )
2018-10-19 09:31:25 -04:00
renovate[bot]
bc15a107dd
Update dependency ast-types to v0.11.6 ( https://github.com/woocommerce/woocommerce-admin/pull/576 )
2018-10-19 09:25:57 -04:00
Jonathan Belcher
0828ea5258
Fixes number formatting on charts ( https://github.com/woocommerce/woocommerce-admin/pull/529 )
2018-10-19 09:23:47 -04:00
Paul Sealock
b168f36cf2
Merge pull request woocommerce/woocommerce-admin#583 from woocommerce/fix/primary-secondary-typo
...
ChartData: fix typo in primary/secondary data
2018-10-19 11:17:09 +13:00
Paul Sealock
894105e601
ChartData: fix typo in primary/secondary data
2018-10-19 10:15:03 +13:00
Timmy Crawford
d64fda9c54
Orders Report: Fix key prop warning. ( https://github.com/woocommerce/woocommerce-admin/pull/580 )
2018-10-18 13:45:59 -07:00
David Levin
f74ae15b91
Update the order of orders report summary numbers ( https://github.com/woocommerce/woocommerce-admin/pull/547 )
...
* Update the order of orders report summary numbers
* Teamwork makes the dreamwork.
2018-10-18 13:45:36 -07:00
Paul Sealock
71b2435d96
Merge pull request woocommerce/woocommerce-admin#565 from woocommerce/try/fix-dry-queries-2nd-round
...
Reports: create queries for data requests in one place
2018-10-19 09:33:12 +13:00
Paul Sealock
d4564853c6
Merge pull request woocommerce/woocommerce-admin#538 from woocommerce/add/filters-search
...
Add/filters search
2018-10-19 09:32:47 +13:00
renovate[bot]
33ea703c31
Update babel monorepo to v7.1.2 ( https://github.com/woocommerce/woocommerce-admin/pull/575 )
2018-10-18 15:42:28 -04:00
Joshua T Flowers
0f5ab33ffe
Update sorted column background color ( https://github.com/woocommerce/woocommerce-admin/pull/571 )
2018-10-18 14:45:06 -04:00
Joshua T Flowers
098bf7a2bc
Deactivate plugin if dependencies not met ( https://github.com/woocommerce/woocommerce-admin/pull/530 )
...
* Deactivate plugin if dependencies not met
Wc-admin has hooks that install tables. Currently if WC is not active on install, those hooks don't fire and initial tables will never be created resulting in API errors
* Unset plugin activation message if dependencies not met
2018-10-18 14:37:49 -04:00
Joshua T Flowers
698d48a7b6
Update checkbox column styling ( https://github.com/woocommerce/woocommerce-admin/pull/572 )
...
* Add cellClassName option so we can pass class names to cells
* Add styling for checkbox columns
2018-10-18 14:24:31 -04:00
renovate[bot]
9c147c6e82
Pin dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/573 )
2018-10-18 12:57:29 -04:00
Jonathan Belcher
06163430a4
Add products report Chart and Summary ( https://github.com/woocommerce/woocommerce-admin/pull/548 )
...
* Add products report Chart and SUmmary
* Move items sold to primary position
2018-10-18 12:54:38 -04:00
renovate[bot]
3c5d7fc08d
Add renovate.json ( https://github.com/woocommerce/woocommerce-admin/pull/552 )
2018-10-18 12:26:57 -04:00
Joshua T Flowers
4a6b48dd92
Change link focus color in table links ( https://github.com/woocommerce/woocommerce-admin/pull/570 )
2018-10-18 11:44:26 -04:00
Claudio Sanches
f9ebb78676
Merge pull request woocommerce/woocommerce-admin#488 from woocommerce/feature/438
...
Imported dev files from WooCommerce and updated pre-commit hook
2018-10-18 11:53:13 -03:00
Claudio Sanches
31a91becdb
Merge pull request woocommerce/woocommerce-admin#491 from woocommerce/fix/474
...
Fixed textdomain
2018-10-18 11:52:28 -03:00
Albert Juhé Lluveras
e545ae4d22
Remove unnecessary opacity values from charts code ( https://github.com/woocommerce/woocommerce-admin/pull/569 )
2018-10-18 14:56:54 +02:00
Albert Juhé Lluveras
8cf34964e5
Align status indicator to the right in Orders table ( https://github.com/woocommerce/woocommerce-admin/pull/539 )
...
* Align status indicator to the right in Orders table
* Align 'Order' column to the right in Orders table
2018-10-18 12:43:45 +02:00
Paul Sealock
f8e824b609
remove uneeded filters
2018-10-18 21:02:51 +13:00
Paul Sealock
615c369ac8
Table: add missing CSS bracket
2018-10-18 15:58:39 +13:00
Paul Sealock
aa603eabab
Filters: fix updates and configs
2018-10-18 12:48:24 +13:00
Paul Sealock
63c18fb51b
tests
2018-10-18 12:24:36 +13:00
Joshua T Flowers
d611817fc7
Change componentDidUnmount to componentWillUnmount ( https://github.com/woocommerce/woocommerce-admin/pull/563 )
2018-10-17 19:12:04 -04:00
Paul Sealock
ecdebd8a51
jsDoc
2018-10-18 12:06:33 +13:00
Paul Sealock
cf358f50fc
Reports: create queries for data requests in one place
2018-10-18 12:02:31 +13:00
Joshua T Flowers
34d7944988
Modify table download button styling ( https://github.com/woocommerce/woocommerce-admin/pull/560 )
2018-10-17 19:01:57 -04:00
Allen Snook
7203fa0e11
Merge pull request woocommerce/woocommerce-admin#557 from woocommerce/add/tracks-privacy-to-readme
...
Usage Tracking: Add privacy notice regarding wp.com
2018-10-17 15:20:55 -07:00
Joshua T Flowers
5deecbb6ba
Add table shadow element to tables ( https://github.com/woocommerce/woocommerce-admin/pull/546 )
...
* Add table shadow element to tables
* Update table shadow bg color
* Remove redundant styles
* Remove unused ref
* Update shadow relative to container table body
Use the container body so we don't have to update the transform on scroll for the table shadow. Prevents jankiness on low-end devices
* Move table shadow to pseudo element
2018-10-17 17:56:09 -04:00
Jonathan Belcher
74d8d431e4
Removes unwanted orders report filters ( https://github.com/woocommerce/woocommerce-admin/pull/553 )
2018-10-17 16:50:05 -04:00
Allen Snook
254df9a117
Add privacy notice regarding wp.com
2018-10-17 13:49:06 -07:00
Jonathan Belcher
f6353591e3
Adds report error component ( https://github.com/woocommerce/woocommerce-admin/pull/543 )
...
* Adds report error component
* Add ReportError to chart and summary
* Review fixes
2018-10-17 14:56:50 -04:00
Robert Elliott
141179b154
Component - Chart: focus data points on hover with tooltip ( https://github.com/woocommerce/woocommerce-admin/pull/468 )
...
* focus data points on hover with tooltip
* Add new proprty to getdateSpaces test
2018-10-17 11:08:34 -07:00
Jonathan Belcher
f6d90821af
Fix phpcs errors
2018-10-17 12:51:48 -04:00
Jonathan Belcher
8fec1f3fc1
Merge branch 'master' into feature/438
2018-10-17 12:44:33 -04:00
Jonathan Belcher
d800054c1e
Merge branch 'master' into fix/474
2018-10-17 12:42:03 -04:00
Albert Juhé Lluveras
3982ebc32e
Create appendTimestamp() utils function ( https://github.com/woocommerce/woocommerce-admin/pull/542 )
...
* appendTimestamp() utils function
* Make appendTimestamp() to throw and error if timeOfDay is not a valid value
2018-10-17 18:01:58 +02:00
Joshua T Flowers
206e0b5b7e
Fix pagination alignment/451 ( https://github.com/woocommerce/woocommerce-admin/pull/541 )
...
* Fix pagination alignment centering and wrap on mobile
* Match input and button heights for pagination
2018-10-17 11:42:53 -04:00
Joshua T Flowers
85e6aad4a3
Reposition chevron icon for first column in tables ( https://github.com/woocommerce/woocommerce-admin/pull/549 )
2018-10-17 11:42:33 -04:00
Joshua T Flowers
bb66708107
Change toggle background color to woocommerce purple ( https://github.com/woocommerce/woocommerce-admin/pull/551 )
2018-10-17 11:36:49 -04:00
Albert Juhé Lluveras
36c37afe49
Hide day from X axis when the time period is too long ( https://github.com/woocommerce/woocommerce-admin/pull/525 )
...
* Refactor getXTicks
* Hide day from X axis when the time period is too long
* Fix X axis labels misaligned in charts
* Align axis ticks to the first day of the month when not displaying the day number
* Store threshold in a variable
* Add missing JSDoc
* Fix charts hanging when the number of days selected was exactly 180
* Improve function naming
* Fix dayTicksThreshold mismatch between date format and chart layout
2018-10-17 15:44:43 +02:00
Timmy Crawford
e8fe6bac83
Remove chart from dashboard. ( https://github.com/woocommerce/woocommerce-admin/pull/544 )
2018-10-16 18:20:24 -07:00
Allen Snook
2a94177f71
Fix per_page default handling, json encoding options, schema help
2018-10-16 12:49:01 -07:00
Allen Snook
d450ea6545
Strip slashes from titles, content and action (button) labels
2018-10-16 12:49:01 -07:00
Allen Snook
80ace9c9f3
Add publicly consumable schema info
2018-10-16 12:49:01 -07:00
Allen Snook
054fbb4ee3
Accept page and per page params in REST query, return total count of notes in header
2018-10-16 12:49:01 -07:00
Allen Snook
68b799f796
Correctly prepare dates in the response
2018-10-16 12:49:01 -07:00
Allen Snook
3b988d954c
Correct copypasta in comments
2018-10-16 12:49:01 -07:00
Allen Snook
6dc4564feb
Add single and multiple note GETters
2018-10-16 12:49:01 -07:00
Jonathan Belcher
69a47f0019
Use analytics summary and graph components in revenue report ( https://github.com/woocommerce/woocommerce-admin/pull/523 )
2018-10-16 13:42:13 -04:00
Jonathan Belcher
386933a182
Refactors out summary and graph ( https://github.com/woocommerce/woocommerce-admin/pull/517 )
...
* Refactors out summary and chart
2018-10-16 12:07:43 -04:00
Jonathan Belcher
4e608e8706
Remove format comment
2018-10-16 11:56:31 -04:00
Jonathan Belcher
ccd72b7e59
Remove format comment
2018-10-16 11:56:16 -04:00
Jonathan Belcher
a8432e7a90
Remove format comment
2018-10-16 11:55:59 -04:00
Albert Juhé Lluveras
ae6652b26c
Send params with Orders table API calls ( https://github.com/woocommerce/woocommerce-admin/pull/519 )
...
* Send params with Orders table API calls
* Add onError case and caching for Orders calls
* Remove unused actions
* Load only 'processing', 'on-hold' and 'completed' orders
* Use NAMESPACE constant instead of hard-coded value
* Comment typos
* Add tests to Orders reducer, resolvers and selectors
* Typos
* Fix JSDoc mismatch
2018-10-16 10:50:07 +02:00
Paul Sealock
76bf741fc9
Advanced Filters: update README
2018-10-16 11:03:17 +13:00
Paul Sealock
4bc8c82820
Merge pull request woocommerce/woocommerce-admin#457 from woocommerce/fix/advanced-filters-i18n
...
i18n: Advanced Filters strings
2018-10-16 10:54:45 +13:00
Jonathan Belcher
c7f56f8a07
Adds WooCommerce version requirement and message ( https://github.com/woocommerce/woocommerce-admin/pull/524 )
2018-10-15 15:23:09 -04:00
Albert Juhé Lluveras
8120cc7d6a
Rename 'mock-data' files so they don't have the same file name ( https://github.com/woocommerce/woocommerce-admin/pull/522 )
2018-10-15 19:06:37 +02:00
Paul Sealock
e6084e2af9
Merge pull request woocommerce/woocommerce-admin#501 from woocommerce/fix/tabpanel-current-tab
...
DatePicker: update selected tab to reflect update to TabPanel component
2018-10-15 21:34:31 +13:00
Paul Sealock
ea6f14e7ba
Tag: use label in removeLabel
2018-10-15 15:15:32 +13:00
Albert Juhé Lluveras
17e9f151be
Create ViewMoreList component ( https://github.com/woocommerce/woocommerce-admin/pull/503 )
...
* Create ViewMoreList component
* Update Tag component with the new style and popover
* Display number of times an item was bought in the Orders table (2x, 1x, ...)
* Refactor ViewMoreList so the elements to display in the list and the popover are different props
* Cleanup
* Fix CSV values for products and coupons
* Minor fixes
* Rename ViewMoreList prop from 'popoverItems' to 'items'
* Cleanup props
* Add ViewMoreList to devdocs examples
* Order Tag props alphabetically
* Move withState to export line so it doesn't break docs generation
* Rename 'is-not-unique' class name to 'is-inline'
* Fix missing comma
* Remove margin from popover list
* Use pseudo-selector to replace 'is-inline' class in cell links
2018-10-12 23:29:25 +02:00
David Levin
b64fc4f0a1
Fix y-axis ticks
2018-10-12 13:39:38 -07:00
David Levin
564e4cfd66
change reverse line chart zindex and remove decinmals from yaxis ticks
2018-10-12 09:08:57 -07:00
Jonathan Belcher
96f2024305
Round average orders in order summary ( https://github.com/woocommerce/woocommerce-admin/pull/515 )
2018-10-12 11:02:58 -04:00
Jonathan Belcher
e93fed650e
Merge pull request woocommerce/woocommerce-admin#504 from woocommerce/add/410-order-summary-numbers
...
Adds Orders Summary and Orders Graph
2018-10-12 10:18:56 -04:00
Paul Sealock
178135eea5
i18n: Advanced Filters strings
2018-10-12 16:58:35 +13:00
Paul Sealock
76eb49125e
Search: Add inline tags
2018-10-12 11:34:08 +13:00
Kelly Dwan
cea79c3b96
Update variable name
2018-10-11 15:43:56 -04:00
Kelly Dwan
6df6594ee1
DatePicker: update selected tab code to reflect update to TabPanel component
2018-10-11 15:32:02 -04:00
Jonathan Belcher
da8ad49762
Re-add Render Table
2018-10-11 15:30:43 -04:00
Jonathan Belcher
27fa0bfc85
Follow new summary numbers pattern
2018-10-11 15:27:29 -04:00
Jonathan Belcher
e3224a5abb
Merge branch 'master' into add/410-order-summary-numbers
2018-10-11 14:45:35 -04:00
Justin Shreve
c340a808a7
Break out summary number logic from chart/table ( https://github.com/woocommerce/woocommerce-admin/pull/510 )
2018-10-11 14:45:01 -04:00
Kelly Dwan
3d297a8f5c
Reports: Update summary number label based on selected compare interval ( https://github.com/woocommerce/woocommerce-admin/pull/506 )
2018-10-11 13:46:56 -04:00
Jonathan Belcher
f8468ddcf4
Merge pull request woocommerce/woocommerce-admin#497 from woocommerce/update/refactor-out-jquery
...
Refactors code to vanilla js and removes jQuery
2018-10-11 13:19:55 -04:00
Jonathan Belcher
b65cddd9c4
Merge pull request woocommerce/woocommerce-admin#498 from woocommerce/add/github-templates
...
Adds GitHub templates to ensure good issue and PR descriptions
2018-10-11 13:18:59 -04:00
Jonathan Belcher
26300fb953
Adds graphs
2018-10-11 13:07:59 -04:00
Jonathan Belcher
aa56621ab8
Get Order Summary working with API
2018-10-11 12:00:06 -04:00
Jonathan Belcher
0a562e6e37
Merge Commit
2018-10-11 11:43:25 -04:00
Albert Juhé Lluveras
9623898acd
Add Orders table ( https://github.com/woocommerce/woocommerce-admin/pull/493 )
...
* Create Orders table
* Remove getOrderIds selector
* Create an OrdersReportTable component
* Alphabetically order extracted props
* Fix JS error for missing coupon properties
* Add TODO comment for missing customer type
* Add calculation for net revenue
* Align all table cells but identifier to the right
* Remove temporary text
* Improve cell link inline CSS
* Count several purchases of the same product as items sold
* Add TODO message to coupon link
* Add Download to Orders table
* Don't use camelCase for table column keys
* Cleanup
* Make products and coupons columns non-sortable
* Create renderList method to simplify products/coupons list creation
* Display correct currency for each order
* RTL table fixes
* Fix: products and coupons columns showing 'false' in CSV download
* Minor fixes
* Rename 'isIdentifier' with 'isLeftAligned' in table columns
* Remove toggleStatus method
2018-10-11 10:30:51 +02:00
Jonathan Belcher
8ee2a58fb3
Adds Order Summary Numbers
2018-10-10 16:29:12 -04:00
Jonathan Belcher
3d1fc63373
Merge pull request woocommerce/woocommerce-admin#499 from woocommerce/fix/407-focus-state
...
Fixes focus state on DatePicker to match Gutenberg
2018-10-10 16:22:39 -04:00
Jonathan Belcher
3939bc7eb1
Move colours to colour stylesheet
2018-10-10 14:06:13 -04:00
Jonathan Belcher
9d337ce8e0
Add all instances of menu to toggle current state.
2018-10-10 12:06:32 -04:00
Jonathan Belcher
1ef9d132dd
Update PR template to be a little simpler
2018-10-10 11:57:44 -04:00
Kelly Dwan
dc5967197d
Add a default value to `labels` ( https://github.com/woocommerce/woocommerce-admin/pull/500 )
...
Fixes an error where labels is undefined if nothing is passed through
2018-10-10 10:59:22 -04:00
Jonathan Belcher
baead063c6
Fixes focus state on DatePicker to match Gutenberg
2018-10-10 10:48:37 -04:00
Jonathan Belcher
136a53dd0f
Remove link to P2
2018-10-10 10:45:31 -04:00
Jonathan Belcher
98a3d68820
Adds GitHub templates to ensure good issue and PR descriptions
2018-10-10 10:33:38 -04:00
Jonathan Belcher
a947d304dc
Reafctors code to vanila js and removes jQuery
2018-10-10 10:24:57 -04:00
Kelly Dwan
1351997eef
TableCard: Add search to table header ( https://github.com/woocommerce/woocommerce-admin/pull/495 )
...
* Add label override options to TableCard
* Add search input to the tableHeader
* Style search in table header
2018-10-10 10:12:00 -04:00
Justin Shreve
5a6749b15c
Make tabular data independent of chart interval ( https://github.com/woocommerce/woocommerce-admin/pull/483 )
...
* Make Tabular data independent of Chart Interval
* Make table and summary numbers placeholders independent of chart
2018-10-10 09:57:16 -04:00
Claudio Sanches
9dbc59d095
Merge pull request woocommerce/woocommerce-admin#464 from woocommerce/add-notice-tables
...
Admin Notes: Add CRUD and Data Stores
2018-09-28 12:38:26 -03:00
Claudio Sanches
c7ba8bd2c3
Fixed textdomain
2018-09-28 12:34:33 -03:00
Claudio Sanches
c7b92ad60b
Update i18n script
2018-09-28 12:30:06 -03:00
Claudio Sanches
55f05aabe7
Included i18n:check script into package.json
2018-09-28 12:26:30 -03:00
Claudio Sanches
25872407aa
Removed addtextdomain for grunt
2018-09-28 12:23:19 -03:00
David Levin
1178802ca0
Clean up SVG code
2018-09-27 15:41:12 -07:00
David Levin
b29dbdb073
Update empty content SVG
2018-09-27 15:33:31 -07:00
Allen Snook
e5e175cfab
Fix static visibility, textdomain and use of JSON_FORCE_OBJECT
2018-09-27 10:48:25 -07:00
Claudio Sanches
986f4a8289
Updated pre-commit hook to execute PHP Lint and PHP_CodeSniffer
2018-09-27 13:57:04 -03:00
Allen Snook
db7456ae55
Add comments for the types and statuses
2018-09-27 09:28:15 -07:00
Allen Snook
cb7a5b3607
PHPCS all the things
2018-09-27 09:28:15 -07:00
Allen Snook
677c205ad2
Remove interface for this PR (actions will be hooked up later);
...
persist actions given during creation through to the db
2018-09-27 09:28:15 -07:00
Allen Snook
9f7ffa08a9
Make types and statuses easier for plugins to access
2018-09-27 09:28:15 -07:00
Allen Snook
a930293c43
Improve prop validation, especially date handling
2018-09-27 09:28:15 -07:00
Allen Snook
10c01a6165
Change data store slug to singular to match the rest of WC;
...
change dismissible note to update type;
remove unwanted version phpdoc
2018-09-27 09:28:15 -07:00
Allen Snook
4cca18bd30
Remove REST file from this commit (it will go in a separate PR)
2018-09-27 09:28:15 -07:00
Allen Snook
4d8dfea84c
Break out separate note and notes classes for clarity
2018-09-27 09:28:14 -07:00
Allen Snook
45eeb57b62
Add CRUD and Data Stores for Admin Notes
2018-09-27 09:28:14 -07:00
David Levin
83d871cf6f
Merge pull request woocommerce/woocommerce-admin#487 from woocommerce/update/chart-inerval-select-alignment
...
Update chart interval select alignment
2018-09-27 09:07:49 -07:00
Claudio Sanches
c0eadbaabb
Merge branch 'master' into feature/438
2018-09-27 12:39:57 -03:00
Claudio Sanches
d8503ef720
Merge pull request woocommerce/woocommerce-admin#462 from woocommerce/fix/440
...
Added PHP tests
2018-09-27 12:31:36 -03:00
Claudio Sanches
d672a65e1f
Merge pull request woocommerce/woocommerce-admin#461 from woocommerce/fix/453
...
Casted numeric values to floats before performing arithmetic operations.
2018-09-27 12:29:29 -03:00
David Levin
aeac3a2e30
Update chart interval select alignment
2018-09-26 15:15:16 -07:00
Kelly Dwan
468bde5147
Components – Search: Pass through aria label props ( https://github.com/woocommerce/woocommerce-admin/pull/484 )
...
* Pass aria label props through to search input
* Update the search example in devdocs
2018-09-26 13:13:28 -04:00
Kelly Dwan
5dc1addbf8
Build: Update i18n generation to combine JS + PHP translations ( https://github.com/woocommerce/woocommerce-admin/pull/481 )
...
* Generate the PHP translations file from the POT file after building the project
* Remove unused tasks
* Update i18n task to generate JS pot file, then convert that to PHP, then run grunt php pot generation
* Update docs
* Pipe babel file output to null, not entire output of command
Helps with debugging the babel command itself
2018-09-26 10:23:55 -04:00
Albert Juhé Lluveras
3e3dbad408
Update chart header layout according to design ( https://github.com/woocommerce/woocommerce-admin/pull/476 )
...
* Update chart header layout according to design
* Add RTL support
2018-09-26 14:17:45 +02:00
Albert Juhé Lluveras
80449c6c57
Make tooltip position be relative to the hovered elements instead of the mouse ( https://github.com/woocommerce/woocommerce-admin/pull/471 )
...
* Make tooltip position be relative to the hovered elements instead of the mouse
* Set tooltip margin to 24px to match CSS 'gap-large'
* When focusing a bar with value 0, set the target node to its parent so the tooltip is displayed next to it
* Make sure 'mouseout' event is not triggered when hover the tooltip box
* Make sure the tooltip is never rendered too much to the left/top of the chart
* Get the size of the tooltip box from the DOM when it's available
* Minor fixes
2018-09-26 14:17:29 +02:00
Albert Juhé Lluveras
5649b6b1e2
Use 'H' component for chart header ( https://github.com/woocommerce/woocommerce-admin/pull/480 )
...
* Use 'H' component for chart header
* Set 'Section' component below the 'H'
2018-09-26 09:20:29 +02:00
Kelly Dwan
e2aa414f4f
Add `cross-env` to allow building on Windows ( https://github.com/woocommerce/woocommerce-admin/pull/473 )
2018-09-25 16:50:51 -04:00
Albert Juhé Lluveras
29cfde2ddd
Fix activity panel tabs misaligned in Chrome and Safari ( https://github.com/woocommerce/woocommerce-admin/pull/478 )
2018-09-25 22:34:30 +02:00
Albert Juhé Lluveras
0088581fcb
Fix: chart legend was not visible at 1340px width ( https://github.com/woocommerce/woocommerce-admin/pull/472 )
2018-09-25 20:19:32 +02:00
Albert Juhé Lluveras
1900bb0917
Improve charts accessibility ( https://github.com/woocommerce/woocommerce-admin/pull/421 )
...
* Add aria roles to chart elements
* Make individual points (in line charts) and individual bar (in bar charts) focusable
* Remove methods which are never used
* Reduce the number of parameters required by functions that display/hide the tooltip
* Use tooltipFormat for accessibility dates
* Rename 'formatVoiceDate' function to 'getTooltipDate'
* Use string literals for aria-label
* Remove table role which was no longer needed
* Add aria-hidden to X-axis in charts
* Remove 'key' from points/bar aria-label in charts
* Set different ARIA properties depending on chart mode (time or item comparison)
* Label should default to an empty string instead of a 0
* Use date format from params instead of hardcoded
2018-09-25 11:42:08 +02:00
Paul Sealock
58195911a7
AdvancedFilters: Add request for orders statuses
2018-09-25 11:39:47 +12:00
Peter Fabian
28c09248df
Added remaining test files.
2018-09-24 19:46:37 +02:00
Peter Fabian
d997e280b2
Added missing data update triggers.
2018-09-24 19:16:10 +02:00
Peter Fabian
e318463dd5
Updated the before_script instructions to correctly install node and print out version.
2018-09-24 18:50:00 +02:00
Peter Fabian
ef72b7af2c
Use node version 8.
2018-09-24 18:25:06 +02:00
Peter Fabian
c368e44ff3
Updated language domain.
2018-09-24 17:56:43 +02:00
Peter Fabian
cb50f79131
Plugin installation should not be needed in bootstrap, as it happens in the installation script.
2018-09-24 17:49:21 +02:00
Peter Fabian
eed4b424e6
Updated language domain.
2018-09-24 17:46:41 +02:00
Kelly Dwan
62276fb361
Add visual component docs from markdown examples ( https://github.com/woocommerce/woocommerce-admin/pull/470 )
...
* Remove content from README, leaving only the example
* Rename edited READMEs
* Add a devdocs page rendering from markdown example files
* Add more components to devdocs
* Add the rest of the component examples
* Add navigation to single components, show generated readme on single component view
* Style devdocs like calypso
* Split devdocs into two columns at “desktop” sizes
* Update segmented selection example
* Update link
* Add header to avoid notices error
2018-09-24 11:36:35 -04:00
Peter Fabian
670436ac13
PHPCS fixes.
2018-09-24 17:24:08 +02:00
Kelly Dwan
f5dd2559db
Documentation: Move topic READMEs into docs for discoverability ( https://github.com/woocommerce/woocommerce-admin/pull/469 )
...
* Move header/row documentation into the component, so it can be rendered in the external docs
* Move project READMEs into docs folder for exposure in docs site
* Regenerate docs, generate component folder sidebar with component list
* Update format of CSS docs
2018-09-24 11:22:14 -04:00
Peter Fabian
dc858b522a
Update dependencies installation for testing, corrected db prefix.
2018-09-24 16:26:04 +02:00
Albert Juhé Lluveras
31289e8c82
Transpose and update format of chart tooltip dates ( https://github.com/woocommerce/woocommerce-admin/pull/467 )
...
* Fix dates transposed in revenue chart
* Update date format in revenue chart tooltip labels
* Load point label date formats from lib/date
* Pass point label format as a prop to the chart component
2018-09-24 13:11:18 +02:00
Peter Fabian
8f1546fdf7
Updated db prefix.
2018-09-21 21:08:10 +02:00
Peter Fabian
e956afdeb7
PHPCS updates.
2018-09-21 20:51:41 +02:00
Peter Fabian
f2cb1e6a85
Removed duplicate WooCommerce installation.
2018-09-21 19:34:34 +02:00
Peter Fabian
6f40133765
Travis test 13.
2018-09-21 19:23:37 +02:00
Peter Fabian
81db727153
Travis test 12.
2018-09-21 19:16:05 +02:00
Claudio Sanches
0136912a06
Added grunt-checktextdomain
2018-09-21 14:13:28 -03:00
Peter Fabian
e51b578024
Travis test 11.
2018-09-21 19:07:46 +02:00
Claudio Sanches
f8e62576a0
Inclcude composer dependencies
2018-09-21 14:06:16 -03:00
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
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
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
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
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
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
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
713dd242c7
Datepicker: resize dropdown on tab switch
2018-09-13 14:47:48 +12: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
Albert Juhé Lluveras
ac044b8720
Add empty state message to Top Selling Products card ( https://github.com/woocommerce/woocommerce-admin/pull/365 )
2018-09-12 14:09:53 +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
Robert Elliott
29113cffe8
align date formats for the chart
2018-09-12 09:22:08 +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
Kelly Dwan
ed1b847067
Fix Gutenberg 3.7 compatibility: Remove APIProvider ( https://github.com/woocommerce/woocommerce-admin/pull/390 )
...
* Remove APIProvider
Unused in the project, and deprecated in gutenberg
* Remove wp-api dependency
2018-09-11 15:48:43 -04:00
Robert Elliott
32285df636
package-lock bump
2018-09-11 13:16:14 +02:00
Timmy Crawford
b184aa2324
Update gridicons to v3.1.1
2018-09-11 13:10:44 +02: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
Albert Juhé Lluveras
8932f99038
Add fallback gutter for browsers that don't support CSS Custom properties ( https://github.com/woocommerce/woocommerce-admin/pull/372 )
2018-09-11 09:27:13 +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
Timmy Crawford
2ad6129830
Add w.js when wc_tracker is enabled. ( https://github.com/woocommerce/woocommerce-admin/pull/369 )
2018-09-07 07:36:20 -07: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
Robert Elliott
b73f2ba47d
updated README
2018-09-05 23:22:34 +02:00
Robert Elliott
964a43b674
x, y and tooltip formatting
2018-09-05 23:02:13 +02:00
Justin Shreve
251d9804ef
Remove test code/examples and disable the inbox activity panel. ( https://github.com/woocommerce/woocommerce-admin/pull/355 )
...
* Remove test code/examples and disable the inbox activity panel.
* Remove search example
2018-09-05 14:52:48 -04:00
Justin Shreve
898a82ca1d
Fix wp-admin navigation active state ( https://github.com/woocommerce/woocommerce-admin/pull/352 )
2018-09-05 14:37:26 -04:00
Justin Shreve
f5479e1c18
Add loading indicators, error state, and EmptyContent to the revenue report. ( #347 , woocommerce/woocommerce-admin#348 )
...
* Add loading indiciators for the revenue report.
* Improve accessibility, and fix up some documentation comments.
* Fix top border on mobile
* Add EmptyContent Component and revenue error/empty states. (https://github.com/woocommerce/woocommerce-admin/pull/348 )
* Add EmptyContent Component and revenue error/empty states.
* Move relative image handling to ImageAsset, combine secondary and primary action rendering, add some missing isRequired proptypes, add empty error handling.
* Handle PR Feedback: Clean up button css, set a default for illustration, fix deprecation typo, some code cleanup.
2018-09-05 12:45:49 -04:00
Albert Juhé Lluveras
9183756a70
Fix TopSellingProducts table not correctly loading data ( https://github.com/woocommerce/woocommerce-admin/pull/351 )
...
Update TopSellingProducts table API connection to correctly work
with the new selectors response format introduced in woocommerce/woocommerce-admin#316 .
2018-09-04 16:10:07 +02:00
Paul Sealock
ab97ed02c7
Search: move selected from state to props
2018-09-04 12:02:40 +12:00
Justin Shreve
4e2661f3f1
Connect the revenue report to the api ( https://github.com/woocommerce/woocommerce-admin/pull/316 )
2018-09-03 11:25:38 -04:00
Albert Juhé Lluveras
e94ae40d4d
Use native Array.isArray() instead of lodash function ( https://github.com/woocommerce/woocommerce-admin/pull/346 )
2018-09-03 17:09:09 +02:00
Albert Juhé Lluveras
71171ec80b
IE11: fix Acitvity Panel tab icons missing and wrong alignment ( https://github.com/woocommerce/woocommerce-admin/pull/345 )
2018-09-03 17:08:19 +02:00
Albert Juhé Lluveras
da2317f154
Add CSV download to Revenue table ( https://github.com/woocommerce/woocommerce-admin/pull/326 )
...
* Add CSV download to Revenue table
* Set revelant file name for revenue CSV file download
* Add package-lock.json
* Move CSV download logic inside /lib/
* Remove 'totals' from table CSV
* Check parameters are arrays in generateCSVDataFromTable
* Add @TODO comment about downloading large sets of data
2018-09-03 09:54:45 +02:00
Kelly Dwan
2ab7618447
Docs Project: Add markdown files, docsify to render site ( https://github.com/woocommerce/woocommerce-admin/pull/337 )
...
* Add generated docs to repo, add command to regenerate docs
* Add docsify to render markdown files & search from GitHub.io
* Add prop type description if it exists
This property is only filled in on descendent proptypes (items in a shape, for example)
* Vaguely woo-themed
* Tweak spacing in markdown file, add final newline to each file
2018-08-31 16:13:20 -04:00
Kelly Dwan
d36511479e
Docs Project: Add documentation parser + inline documentation ( https://github.com/woocommerce/woocommerce-admin/pull/336 )
...
* Switch all components to default exports
This ensures we can read all components for documentation generation (plus, standardizing is good)
* Add documentation to component file
* Fix table exports
* Move readme docs into inline docs
Includes updating new props, adding prop shapes
* Add doc-generation scripts to pull exported component docs into folder
* Remove key propType, causing react special-keys warning
* Fix proptype
* Update incorrect comment
* Remove template import, we can just use string concat
* Fix typo, update docs
2018-08-31 13:27:21 -04:00
Kelly Dwan
7711da472a
Docs Project: Component cleanup ( https://github.com/woocommerce/woocommerce-admin/pull/334 )
...
* Validate component with helper function
Fixes compat issue with react-docgen
* Switch all components to default exports
This ensures we can read all components for documentation generation (plus, standardizing is good)
* inValidDays -> invalidDays
Invalid is a single word, so by capitalization rules the V should be lowercase
* Export child-components of Chart
* Fix table exports
2018-08-31 13:19:13 -04:00
David Levin
4ee6becb6d
Merge pull request woocommerce/woocommerce-admin#335 from woocommerce/update/mobile-card-styles
...
Update Card Component Styles on Mobile
2018-08-31 07:55:35 -07:00
Albert Juhé Lluveras
3dcb1339b3
Create TablePlaceholder component to be used when table contents are loading ( https://github.com/woocommerce/woocommerce-admin/pull/338 )
2018-08-31 16:43:25 +02:00
David Levin
808c49fd4e
Merge pull request woocommerce/woocommerce-admin#332 from woocommerce/update/319-datepicker-design-details
...
updating datepicker styles
2018-08-30 16:33:07 -07:00
David Levin
ea672cdedb
update mobile card styles
2018-08-30 16:02:12 -07:00
Paul Sealock
89f5057d58
Hide react-dates container 1px
2018-08-31 09:53:25 +12:00
Paul Sealock
dea96a02c5
Merge pull request woocommerce/woocommerce-admin#325 from woocommerce/fix/popover-in-popover
...
DatePicker: Fix Error message positioning on non-mobile widths
2018-08-31 09:30:40 +12:00
Paul Sealock
4580fc453e
Merge pull request woocommerce/woocommerce-admin#324 from woocommerce/fix/invalid-date-error-msg
...
DaptePicker: fix erorr message popover
2018-08-31 09:29:23 +12:00
Paul Sealock
431caff91f
Datepicker: change Reset btn to default style
2018-08-30 11:07:34 +12:00
Paul Sealock
f48fdd2dea
Segmented-selection: remove focus outline in favor of inset box-shadow
2018-08-30 08:21:59 +12:00
David Levin
a44d94c7d5
updating datepicker styles
2018-08-29 09:11:35 -07:00
Albert Juhé Lluveras
52a0a9690c
Connect TopSellingProducts with the API ( https://github.com/woocommerce/woocommerce-admin/pull/323 )
...
* Connect Top Selling Products table to the API
* Add tests to TopSellingProducts
* Prepare TopSellingProducts component to render loading/error messages
2018-08-29 17:55:56 +02:00
Paul Sealock
f6ca6ad366
uncomment code
2018-08-29 16:05:01 +12:00
Paul Sealock
349f8e9d91
Datepicker: use negative margin on popover to avoid creating a new position context
2018-08-29 16:02:16 +12:00
Paul Sealock
cddb65813b
uncomment needed code
2018-08-29 15:03:55 +12:00
Paul Sealock
aae27050b4
set width expl
2018-08-29 15:03:20 +12:00
Paul Sealock
e137f7af60
DaptePicker: fix erorr message popover
2018-08-29 14:50:34 +12:00
Kelly Dwan
e19aff2169
Components: Add a search component based on Autocomplete ( https://github.com/woocommerce/woocommerce-admin/pull/322 )
...
* Add `Search` & `Tag` components
* Fork the Autocomplete component to support a single completer & input field
* Add results inline, not as popover
* Highlight search term in results list
* Check if the item is already selected
* Update docs
* Remove unused properties
* Remove temporary max-width
Once merged, we can tweak real styles
* Use stringifyQuery
2018-08-28 15:15:24 -04:00
Kelly Dwan
4e995590db
Store: Add product API + state handlers ( https://github.com/woocommerce/woocommerce-admin/pull/321 )
...
* Add product state
* Add products store tests
2018-08-28 14:43:26 -04:00
David Levin
c06c3b0cef
Merge pull request woocommerce/woocommerce-admin#318 from woocommerce/update/datepicker-styles-updates
...
Updates to presets / custom toggle and segmented selection
2018-08-23 12:15:59 -07:00
David Levin
c39e6f1edb
style updates per review
2018-08-23 11:21:04 -07:00
Kelly Dwan
d007105ec1
Animation mixin + add `prefers-reduced-motion` support to existing animations ( https://github.com/woocommerce/woocommerce-admin/pull/317 )
...
* Add mixin to control transform animation
* Add `prefers-reduced-motion` support to animations
* Fix duration variable
2018-08-23 13:47:27 -04:00
David Levin
c835432c88
Updates to segmented selection and presets / custom toggle
2018-08-22 19:07:19 -07:00
Kelly Dwan
4b30e78ae6
Filters: Remove `filterpaths` props ( https://github.com/woocommerce/woocommerce-admin/pull/315 )
...
* Filters: Remove filterPaths, add path as property to filters object
* Set a default path, so we only need to configure it for changed paths
* Fix nav & filter fetching for nested lists
* Add “go back” functionality to all subfilter lists, not only ones with components set
* Make label optional on component options
* Update documentation to remove mention of filterpaths
* Add documentation on the filters structure
2018-08-22 16:20:19 -04:00
Kelly Dwan
14e4aa11dd
Fix the summaryNumber display when in toggle-button state ( https://github.com/woocommerce/woocommerce-admin/pull/313 )
...
* Fix the summaryNumber display when in toggle-button state
* Fix right border
2018-08-22 14:08:48 -04:00
Timmy Crawford
af928f6773
Store: Add generic reports stats support. ( https://github.com/woocommerce/woocommerce-admin/pull/307 )
...
* Store: Add generic reports stats support.
* Updates per feedback.
* Change format and export reducer
2018-08-22 10:54:48 -07:00
David Levin
f9eea91eed
Add transition to chevron
2018-08-22 07:50:10 -07:00
David Levin
ad5e661f8a
Updated dropdown button styles
2018-08-21 21:44:01 -07:00
Kelly Dwan
f36d89cfaf
Add path & query back to filter props ( https://github.com/woocommerce/woocommerce-admin/pull/308 )
2018-08-21 15:03:20 -04:00
Kelly Dwan
39ca2cc627
Remove apiRequest in favor of apiFetch ( https://github.com/woocommerce/woocommerce-admin/pull/309 )
2018-08-21 15:02:49 -04:00
Timmy Crawford
f4814ee46f
Merge pull request woocommerce/woocommerce-admin#306 from woocommerce/update/revenue-chart
...
Revenue Report: Use href on SummaryNumber components.
2018-08-21 08:44:29 -07:00
Kelly Dwan
6ce012a2e7
Extensions: Add filter to allow third-party registration of reports ( https://github.com/woocommerce/woocommerce-admin/pull/298 )
...
* Create page helper function
* Enable filtering of report content for extensions to inject new reports
* Add error boundary
* Add documentation for the reports filter
2018-08-20 17:24:17 -04:00
Kelly Dwan
dec97d178e
Components: Export reusable components to a separate file + global ( https://github.com/woocommerce/woocommerce-admin/pull/297 )
...
* Importing all components from a root components file
* Update Ratings component to avoid circular dependencies, fix tests
* Export components on `wc.components`, use this for importing
* Move react-dates initialize to the components file
* Push query changes to history
Fixes an issues where native a links do not update the query in `history`
* Update test config for new @woocommerce/components path
* Update chart components import
* Merge simple/complex & alphabetize by first exported name
* Add a readme with info about how to call these components
2018-08-20 17:18:13 -04:00
Timmy Crawford
f555fed33a
Revenue Report: Use href on SummaryNumber components.
2018-08-20 13:40:17 -07:00