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