Commit Graph

3699 Commits

Author SHA1 Message Date
Paul Sealock 83ff92910a Fix Starter Pack styles (https://github.com/woocommerce/woocommerce-admin/pull/3776) 2020-02-28 09:52:59 +13:00
renovate[bot] 555686f593 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3733)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-27 10:14:30 -04:00
Ron Rennick 8b72dc0c51 initial stock report user documentation (https://github.com/woocommerce/woocommerce-admin/pull/3744) 2020-02-25 09:00:36 -04:00
Ron Rennick 40e252febd Initial revenue report docs (https://github.com/woocommerce/woocommerce-admin/pull/3749) 2020-02-25 09:00:04 -04:00
Paul Sealock 35462eab0d Coding standards: fix errors (https://github.com/woocommerce/woocommerce-admin/pull/3763) 2020-02-25 14:18:52 +13:00
Bec Scott 1cc7e0288f Add PayFast payment gateway option for sites in South Africa (https://github.com/woocommerce/woocommerce-admin/pull/3738)
* Add PayFast payment gateway option for sites in South Africa

* Fix PayFast extension in the whitelist

* Configure PayFast from within the task list

* Triggering hook

* Show PayFast payment method at the bottom of the options

* When configuring the PayFast extension set the store currency to ZAR

* Remove withSelect from compose function

* Only do one call to update the settings
2020-02-24 13:54:46 +10:00
Rua Haszard 8eda9cbd59 Add Storybook for documenting and testing components in isolation (https://github.com/woocommerce/woocommerce-admin/pull/3679)
* basic empty storybook setup

* borrow (copy paste) config (module.rules & aliases) from main webpack

* story for rating (styling not working)

* correctly style rating stars in storybook

* import webpack config for storybook instead of paste

* tweak rating story to show partial stars

* stylelint fixes

* pin storybook addons versions

* add knobs for rating & totalStars

* add knob for size + use defaultProps for knob defaults

* import all component styles into storybook preview:
- stories shouldn't import component styles directly, consistent with
how they are used
2020-02-24 15:25:25 +13:00
Alex Kirk 8d08616a87 Typo (https://github.com/woocommerce/woocommerce-admin/pull/3757) 2020-02-21 16:16:00 -08:00
renovate[bot] d724d5fa68 Update dependency raw-loader to v4 (https://github.com/woocommerce/woocommerce-admin/pull/3735)
* Update dependency raw-loader to v4

* Fix markdown require to use default export.

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-02-20 11:38:28 -08:00
renovate[bot] 8e98002c27 Update dependency react-dates to v21 (https://github.com/woocommerce/woocommerce-admin/pull/3736)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-20 10:47:09 -08:00
renovate[bot] caf99e42d9 Update dependency react-docgen to v5 (https://github.com/woocommerce/woocommerce-admin/pull/3737)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-20 09:55:20 -08:00
Jeff Stieler 4462d080a7 Add documentation for Products Report. (https://github.com/woocommerce/woocommerce-admin/pull/3721) 2020-02-20 07:03:39 -08:00
Ron Rennick 952b70774f Merge Version/1.0 to master (https://github.com/woocommerce/woocommerce-admin/pull/3740)
* Try: Moving Customers to main Woo Menu (https://github.com/woocommerce/woocommerce-admin/pull/3632)

* Only add onboarding settings on wc-admin pages when task list should be shown. (https://github.com/woocommerce/woocommerce-admin/pull/3722)

* Use cron for unsnoozing admin notes (https://github.com/woocommerce/woocommerce-admin/pull/3662)

* Use wp-cron for admin note snoozing.

* Remove "unsnooze" scheduled action.

* Use correct version.

* Avoid using deprecated method for unscheduling actions.

* Onboarding: Fix toggle tracking events (https://github.com/woocommerce/woocommerce-admin/pull/3645)

* Fix errant wcadmin prefix on event name

* Track the onboarding toggle on the option in case enable_onboarding isn't used

* Move toggle actions to separate function

* Move onboarding actions

* Move onboarding filters

* Move help tab updates to add_toggle_actions

* Only run onboarding actions when enabled

* Onboarding: Add tracks events when profiler steps are completed (https://github.com/woocommerce/woocommerce-admin/pull/3726)

* Add tracks for store profiler step completion

* Record event when profiler is completed

* Ensure continue setup loads the onboarding profiler (https://github.com/woocommerce/woocommerce-admin/pull/3646)

* 'All that include' option removed when input field is empty (https://github.com/woocommerce/woocommerce-admin/pull/3700)

* 'All that include' option removed when input field is empty

Added a control to check that when the input field 'Search by customer name' is empty, the 'All that include' option is not appearing.

* Const name improved

The constant name hasValues was changed to optionsHaveValues (more descriptive)

* Fix select text alignment (https://github.com/woocommerce/woocommerce-admin/pull/3723)

Co-authored-by: Timmy Crawford <timmyc@users.noreply.github.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Fernando <ultimoround@gmail.com>
Co-authored-by: edmundcwm <edmundcwm@gmail.com>
2020-02-20 07:59:02 -04:00
renovate[bot] eafc31fd89 Update dependency husky to v4 (https://github.com/woocommerce/woocommerce-admin/pull/3734)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-19 17:16:54 -08:00
renovate[bot] 01b3d19475 Pin dependency lint-staged to 10.0.7 (https://github.com/woocommerce/woocommerce-admin/pull/3732)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-19 16:45:59 -08:00
edmundcwm f4710a7356 Fix select text alignment (https://github.com/woocommerce/woocommerce-admin/pull/3723) 2020-02-18 13:57:53 -04:00
Ron Rennick 7269eca1ae add docs for coupons report (https://github.com/woocommerce/woocommerce-admin/pull/3685) 2020-02-18 09:29:56 -04:00
Bec Scott 2a7e4f0c97 Make analytics tables use the site's date format setting (https://github.com/woocommerce/woocommerce-admin/pull/3715)
* Make analytics tables use the site's date format setting

* Use getSetting instead of the wcSettings global

* Use configured date format in coupons analytics table

* Use default date format as fallback in analytics

* Rename downloads table class name
2020-02-17 11:12:35 +10:00
Paul Sealock 43274b9fa8 Coding Standards: Fix getReportItems function call order (https://github.com/woocommerce/woocommerce-admin/pull/3724) 2020-02-17 14:02:32 +13:00
Timmy Crawford ae11c1a0de Documentation: Add Dashboard Documentation. (https://github.com/woocommerce/woocommerce-admin/pull/3491)
* Create Dashboard doc.

* intro, dashboard sections, and performance indicators.

* few more udpates.

* Updates per feedback.
2020-02-14 12:58:00 -08:00
Timmy Crawford 3435c7d51a Documentation: Analytics basics doc (https://github.com/woocommerce/woocommerce-admin/pull/3684)
* Analytics basics doc

* More analytics basics

* Updates per feedback.
2020-02-14 12:53:09 -08:00
Fernando d0a557df96 Added link to "go shopping" button (https://github.com/woocommerce/woocommerce-admin/pull/3712)
* Added link to "go shopping" button

Onboarding - added a link to the shop page in the "go shopping" button

* Now using core's helper method

* Added esc_url function to shop_url

* woocommerce_get_page_id was replaced by wc_get_page_id
2020-02-14 14:24:31 -03:00
Darren Ethier 33c5b41e3f Align WooCommerce javascript code standards/linting/styles with WordPress core. (https://github.com/woocommerce/woocommerce-admin/pull/3674)
* align code styles with the same configuration as Woo-Blocks

* initial pass of reformat-files

* applies manual fixes to various new linting errors surfaced by the configuration change.

* Fix state mutation in image-upload

* remove unused pre-commit-hook.js

* requestAnimationFrame -> window.requestAnimationFrame

* wc-api eslint changes

* eslint fixes on client/lib and client/settings

* client/header eslint changes

* fixes for client/dashboard part 1

* fixes client/dashboard part 2 of 2

* client/analytics part 1

* client/analytics continued

* client/analytics, last batch

* rename __mock__ directory

* pass in useEffect, useState from React component or function

* remove '+' from sprintf string argument

* use ref instead of findDOMNode

* reformat and repaply package.json changes

* install deps before running linter in Travis

* useGetCountryStateAutofill

* counryStateAutofill

* countryStateAutofill

Co-authored-by: Paul Sealock <psealock@gmail.com>
2020-02-14 15:23:21 +13:00
renovate[bot] e57ad7ec30 Update dependency webpack to v4.41.6 (https://github.com/woocommerce/woocommerce-admin/pull/3704)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-13 13:25:52 -04:00
renovate[bot] 7a66f51d72 Update dependency webpack-cli to v3.3.11 (https://github.com/woocommerce/woocommerce-admin/pull/3705)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-13 13:22:43 -04:00
renovate[bot] 8efe525bd7 Update dependency rtlcss to v2.5.0 (https://github.com/woocommerce/woocommerce-admin/pull/3703)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-13 13:18:55 -04:00
renovate[bot] f800d1bfbd Update dependency eslint-plugin-jest to v23.7.0 (https://github.com/woocommerce/woocommerce-admin/pull/3702)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-13 13:06:48 -04:00
Bec Scott f5292427d8 Update form example to better format the form return data (https://github.com/woocommerce/woocommerce-admin/pull/3706) 2020-02-13 15:15:35 +10:00
Jeff Stieler 6ed3943281 Initial documentation of the Customers Report. (https://github.com/woocommerce/woocommerce-admin/pull/3686) 2020-02-08 15:56:03 -08:00
Ron Rennick db8a3ed88c tag version 0.25.1 (https://github.com/woocommerce/woocommerce-admin/pull/3681) 2020-02-07 11:15:00 -08:00
Timmy Crawford 9336150461 Enable onboarding in production. (https://github.com/woocommerce/woocommerce-admin/pull/3680) 2020-02-07 10:08:20 -08:00
renovate[bot] 16c6dd4f22 Update wordpress monorepo (https://github.com/woocommerce/woocommerce-admin/pull/3673)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 16:16:19 +13:00
renovate[bot] 6899a84124 Update dependency eslint-plugin-react to v7.18.3 (https://github.com/woocommerce/woocommerce-admin/pull/3672)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 15:56:38 +13:00
renovate[bot] 6285a175b7 Update dependency dompurify to v2.0.8 (https://github.com/woocommerce/woocommerce-admin/pull/3671)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 15:53:31 +13:00
renovate[bot] caa09e252d Update dependency @octokit/rest to v16.43.1 (https://github.com/woocommerce/woocommerce-admin/pull/3670)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 15:46:53 +13:00
renovate[bot] a0247f0651 Update dependency @automattic/color-studio to v2.2.1 (https://github.com/woocommerce/woocommerce-admin/pull/3669)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 14:55:19 +13:00
renovate[bot] 1bd31a79dc Update babel monorepo to v7.8.4 (https://github.com/woocommerce/woocommerce-admin/pull/3668)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-06 14:16:24 +13:00
Fernando 387bf188a4 Decode breadcrumb correctly (https://github.com/woocommerce/woocommerce-admin/pull/3653)
When viewing the Accounts & Privacy tab in WooCommerce Settings, the page title in the breadcrumbs includes an "&amp;".
Now "decodeEntities" method is used to correct the breadcrumb.
2020-02-05 11:35:50 -08:00
Ron Rennick 8e0a6a18fd cast tax amount to float (https://github.com/woocommerce/woocommerce-admin/pull/3656) 2020-02-05 07:50:02 -08:00
Ron Rennick 64f9cd733b tag version 0.25 (https://github.com/woocommerce/woocommerce-admin/pull/3641) 2020-02-05 13:18:28 +13:00
Timmy Crawford 03274bbe6d Match Woo Core JP Autoloader version (https://github.com/woocommerce/woocommerce-admin/pull/3667) 2020-02-04 15:38:37 -08:00
Vasily Belolapotkov 06dce7a558 Add outline styling to focused textarea element (https://github.com/woocommerce/woocommerce-admin/pull/3655)
Textearea and input look different because ouline styling is not
applied to text area element.
2020-02-03 15:16:32 +13:00
renovate[bot] b3176813b6 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/3660)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:57:38 +13:00
renovate[bot] 7f30546bfd Update dependency eslint-plugin-jest to v23 (https://github.com/woocommerce/woocommerce-admin/pull/3640)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:45:44 +13:00
renovate[bot] 79bf3f646b Update dependency eslint-loader to v3 (https://github.com/woocommerce/woocommerce-admin/pull/3639)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:22:32 +13:00
renovate[bot] 50ddf20cbd Update dependency cross-env to v7 (https://github.com/woocommerce/woocommerce-admin/pull/3638)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:19:58 +13:00
renovate[bot] 4d0042d82d Update dependency node-sass to v4.13.1 (https://github.com/woocommerce/woocommerce-admin/pull/3637)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:17:08 +13:00
renovate[bot] 31b9bc3e3b Update dependency concurrently to v5.1.0 (https://github.com/woocommerce/woocommerce-admin/pull/3636)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:13:20 +13:00
renovate[bot] aea1ed1c7a Update dependency @octokit/rest to v16.42.0 (https://github.com/woocommerce/woocommerce-admin/pull/3635)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:08:13 +13:00
renovate[bot] 8e99e5d752 Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/3629)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-03 14:07:11 +13:00