Commit Graph

5136 Commits

Author SHA1 Message Date
Timmy Crawford 7681f09d18 WCPay: Update supported countries (https://github.com/woocommerce/woocommerce-admin/pull/7048)
* WCPay: Update supported countries

* Add readme entry
2021-05-24 13:48:09 +08:00
renovate[bot] a85ce2f171 Update dependency typescript to v4.2.4 (https://github.com/woocommerce/woocommerce-admin/pull/7012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 15:48:00 +12:00
Ilyas Foo ff1e33bf9e Temporarily hardcode e2e workflow to use WordPress 5.7.1 (https://github.com/woocommerce/woocommerce-admin/pull/7054) 2021-05-24 10:01:25 +08:00
Joel Thiessen 3725d570d9 Fixing redudant notices when installing plugins via payment task list (https://github.com/woocommerce/woocommerce-admin/pull/7026) 2021-05-21 11:24:57 -07:00
Ilyas Foo 154071c1bc Revert copy for setup checklist (https://github.com/woocommerce/woocommerce-admin/pull/7015)
* Revert copy for index.js and tasks.js

* Update changelog

* Update test

* Update tests

* Update tests again

* Lint
2021-05-21 09:13:40 +08:00
louwie17 0276445f65 Updated transition time, and added external icon for link (https://github.com/woocommerce/woocommerce-admin/pull/7022)
* Updated transition time, and added external icon for link

* Add changelog
2021-05-20 08:31:14 -03:00
Joshua T Flowers d4bba9b931 Add PayPal to fallback payment gateways (https://github.com/woocommerce/woocommerce-admin/pull/7001)
* Remove unused spec properties

* Move default payment gateways to separate file

* Add Stripe to default gateways

* Fix payfast image and visibility conditions

* Fix setup button action when no fields are present

* Fix localized string and help text

* Fix settings transform and add help text

* Show connection button if oauth connection URL exists

* Add fallback when no fields exist

* Remove ToS text in favor of help text

* Update payment action boolean check

* Add changelog entry
2021-05-19 18:49:17 -04:00
Ján Mikláš ee2e89a75f Tweak: change MailPoet's title and description in Store Profiler (https://github.com/woocommerce/woocommerce-admin/pull/6989) (https://github.com/woocommerce/woocommerce-admin/pull/6990)
* Tweak: change MailPoet's title and description in Store Profiler (https://github.com/woocommerce/woocommerce-admin/pull/6989)

* Add a changelog entry

Co-authored-by: Timmy Crawford <timmyc@users.noreply.github.com>
2021-05-19 11:43:07 -07:00
Renovate Bot 37422bd809 Update dependency webpack-cli to v3.3.12 2021-05-19 03:18:35 +00:00
Renovate Bot b4015a2b79 Pin dependency @types/dompurify to 2.2.2 2021-05-19 01:41:34 +00:00
Joel Thiessen 9fda36439e Typescript conversion of DynamicForm Component (https://github.com/woocommerce/woocommerce-admin/pull/6981) 2021-05-18 12:46:21 -07:00
Moon f0b494142e Set target to blank for the external links (https://github.com/woocommerce/woocommerce-admin/pull/6999)
* Set target to blank for external links
2021-05-18 01:40:02 -07:00
David Garcia Watkins 9bd4eef17e Call existing filters for leaderboards. (https://github.com/woocommerce/woocommerce-admin/pull/6626)
* Call existing filters for leaderboards.
Fixes category data not refreshing when selecting a different currency while using docs/examples/extensions/sql-modification

* Update changelog

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-05-18 15:14:28 +08:00
Hsing-yu Flowers 9cce902c84 Update Form's documentation (https://github.com/woocommerce/woocommerce-admin/pull/6708)
* Rename onChangeCallback to onChange

* Add onChange documentation

* Update prop `touched` documentation

* Removd unused onChnage in the example

* Add changelog

* Handle feedback

* Deprecate onSubmitCallback

* Handle feedback 2

* Update new onSubmitcallbacks

* Handle feedback 3

Co-authored-by: Bec Scott <me@becdetat.com>
2021-05-18 14:24:24 +10:00
Paul Sealock 9c94852932 Consume Remote Free Extensions from UI (https://github.com/woocommerce/woocommerce-admin/pull/6952)
* transform data

* working

* better

* check for marketplace suggestions

* changelog

* copy initialInstallableExtensions before transform

* parse locales server side

* deep equality

* Match remote data to local data

* reflect changes on UI

* fix keys
2021-05-18 14:28:13 +12:00
Jeff Stieler 8d2bd3bb2f Avoid duplicate preload tags. (https://github.com/woocommerce/woocommerce-admin/pull/6998)
* Avoid duplicate preload tags.

* Add changelog entry.
2021-05-17 11:42:12 -06:00
Joshua T Flowers f5309f449d Get post install scripts from gateway and enqueue in client (https://github.com/woocommerce/woocommerce-admin/pull/6967)
* Add method to collect post install scripts from payment gateway

* Add reusable JS method to add scripts

* Enqueue gateway script after plugin install

* Fix current method not found when resolving methods

* Add changelog entry

* Fix readme merge conflict
2021-05-17 10:51:02 -04:00
Timmy Crawford 5c8fe41506 Update version to 2.4.0-dev and sync changelogs with release/2.3.0 branch (https://github.com/woocommerce/woocommerce-admin/pull/6991) 2021-05-14 14:50:15 -07:00
louwie17 7cfaa21db2 Add source support for notes query (https://github.com/woocommerce/woocommerce-admin/pull/6979)
* Add source support for notes query

* Add changelog

* Removed ternary condition
2021-05-14 13:13:51 -03:00
louwie17 844f71486b Remove `woocommerce/experimental` dependency from `woocommerce/components` (https://github.com/woocommerce/woocommerce-admin/pull/6986)
* Removed the experimental dependency from the components package, and moved stories to experimental package

* Add changelog

* Fix typo
2021-05-14 12:23:01 -03:00
Moon 8983a4d371 Make sure transformers exist (https://github.com/woocommerce/woocommerce-admin/pull/6987) 2021-05-13 21:46:49 -07:00
Moon e2d9a8792a Support transformers in remote inbox notifications (https://github.com/woocommerce/woocommerce-admin/pull/6948)
* Introduce Transformer to Remote Inbox Notification
* Added array_column, array_flatten, array_keys, array_search, array_values, and dot_notation transformers.
* Added tests
2021-05-13 21:27:35 -07:00
Jeff Stieler 5e51901e6a Update package versions for publishing. (https://github.com/woocommerce/woocommerce-admin/pull/6985) 2021-05-13 09:42:04 -06:00
Jeff Stieler eb4d60c4fd Fix styling of task item content. (https://github.com/woocommerce/woocommerce-admin/pull/6983) 2021-05-13 09:20:26 -06:00
Tomek Wytrębowicz 7cc1d724de Forward `autocompleter` prop from `CompareFilter` to `Search` (https://github.com/woocommerce/woocommerce-admin/pull/6911)
- Forward `autocompleter` prop from `CompareFilter` to `Search`.
	Allow, to use the `custom` type of search, 
	previously it was complaining about lack of `autocompleter`,
	even though it was provided.

- Move `path` in Storybooks example to a parameter, to allow setting it in unit tests.
- Add few tests for FilterPicker. 
	- it renders the basic storybook example without throwing an error
	- it forwards `autocompleter` & `type` props

Fixes: woocommerce/woocommerce-admin#6890
2021-05-13 17:20:07 +02:00
Jeff Stieler bdd91b3337 Move TaskItem component to experimental package for reuse. (https://github.com/woocommerce/woocommerce-admin/pull/6978)
* Move TaskItem component to experimental package for reuse.

* Bump package version.

* Add dompurify types.
2021-05-13 08:05:30 -06:00
Joshua T Flowers 685c012dfe Add transient notices feature (https://github.com/woocommerce/woocommerce-admin/pull/6809)
* Add PluginInstaller class

* Redirect to referring page if one exists

* Store message and show after redirect

* Add transient notices feature

* Fix default and empty state of notices

* Use TransientNotices to display plugin notices

* Add transient notices readme

* Add feature unit tests

* Update notice queue client-side

* Add filter to queued option prior to notice creation

* Use the core/notices2 data store

* Fix filtered queued notices

* Add methods to get individual notices and queue

* Allow user ID specific notices

* Remove errant script asset dependencies

* Add user ID property to docs

* Use preloaded option instead of window var

* Refactor transient notices to directly use option instead of state

* Show error message from WP_Error in plugin installer

* Add tests around notice queue in client

* Add changelog entry
2021-05-13 09:08:31 -04:00
Joshua T Flowers 8eb0179df7 Only fetch remote payment gateway recommendations when opted in (https://github.com/woocommerce/woocommerce-admin/pull/6964)
* Only fetch remote payment specs when marketplace suggestions enabled

* Fall back to default specs if remote fetch fails

* Change ruleset to object

* Add changelog entry
2021-05-13 08:55:51 -04:00
louwie17 295cd6b2c9 Add note date range logic (https://github.com/woocommerce/woocommerce-admin/pull/6969)
* Add notes helper method for date ranges

* Update two of the notes with date ranges

* Add tests and fix range logic

* Add changelog

* Update comments

* Update range name and added exception if invalid range passed in.

* Fix php unit tests

* Fix another test
2021-05-13 09:41:21 -03:00
louwie17 a7db89ff4f Add dry run option for the release script (https://github.com/woocommerce/woocommerce-admin/pull/6946)
* Added dry run option and clean between core and plugin builds

* Add safety so I will not accidently start a release

* Change return to exit and update plugin release name on dry run

* Updated some of the logging

* Made use of git --dry-run and hub --noop

* Add dry run to add as well

* Removed dry-run command, updated log
2021-05-13 09:26:12 -03:00
Renovate Bot 64eb902257 Update dependency terser-webpack-plugin to v2.3.8 2021-05-12 05:01:15 +00:00
Renovate Bot 9df869c45f Update dependency replace to v1.2.1 2021-05-12 03:46:22 +00:00
Renovate Bot 3b60c8d3a5 Update dependency fork-ts-checker-webpack-plugin to v6.2.7 2021-05-12 02:26:18 +00:00
Joshua T Flowers ca11fa7f9a Add remote payment gateway recommendations initial docs (https://github.com/woocommerce/woocommerce-admin/pull/6962) 2021-05-11 13:57:19 -04:00
Joshua T Flowers 487cdbb1bf Extend payment gateways REST endpoint (https://github.com/woocommerce/woocommerce-admin/pull/6919)
* Extend the existing REST endpoint with gateway status data

* Add settings URL to response

* Add setup specific fields to response

* Fix controller class name

* Only pass required setting keys instead of fields

* Add changelog entry
2021-05-11 13:25:00 -04:00
Joel Thiessen 073a220b59 Adding Slotfill extension components for remote payments (https://github.com/woocommerce/woocommerce-admin/pull/6932) 2021-05-11 09:36:56 -07:00
Jeff Stieler c904690cac Fix storybook example for the experimental list components. (https://github.com/woocommerce/woocommerce-admin/pull/6963) 2021-05-11 07:00:49 -06:00
Adrian Duffell 4ca9f57cf6 Remove Trailing Whitespace in `readme.txt` (https://github.com/woocommerce/woocommerce-admin/pull/6940)
* Remove editorconfig whitespace rule for text files

* Remove trailing whitespace from readme.txt
2021-05-11 13:41:45 +08:00
renovate[bot] d822515b2f Lock file maintenance (https://github.com/woocommerce/woocommerce-admin/pull/6959)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-11 14:01:24 +12:00
Ilyas Foo 7ec48a8aaa Update readme with changelog from 2.2.* releases (https://github.com/woocommerce/woocommerce-admin/pull/6953)
* Update readme with changelog from 2.2.* releases

* Add 2.2.5 release to the changelog

* Update with 2.2.6

Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-05-11 09:35:41 +08:00
Sam Seay 409618d73a Make the stat titles more specific to remove ambiguity (https://github.com/woocommerce/woocommerce-admin/pull/6925) 2021-05-11 08:24:09 +12:00
Jeff Stieler 278a92f52d Bump @woocommerce/experimental version. (https://github.com/woocommerce/woocommerce-admin/pull/6960) 2021-05-10 12:18:36 -06:00
louwie17 812743d3ff Move experimental list components to experimental package (https://github.com/woocommerce/woocommerce-admin/pull/6950)
* Move experimental list components to experimental package

* Update changelogs

* Fix lint errors

* Fix lint error

* Update css lint

* Fix test

* Update package lock
2021-05-10 11:40:49 -03:00
Mik 820bf30e29 Replace marketing extension - Google Listings and Ads (https://github.com/woocommerce/woocommerce-admin/pull/6939)
* Replace google icon

* Remove note for Google Ads extension

* Replace extension in API OnboardingProfile

* Record event for new extension

* Replace extension in onboarding flow

* Replace extension benefits

* Change background colour of Google icon

* Fix svg warnings

* Add changelog entry

* Fix prettier error

* Add old note to obsolete list for removal
2021-05-10 10:56:47 +01:00
renovate[bot] 47d0bebea3 Update babel monorepo (https://github.com/woocommerce/woocommerce-admin/pull/6929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-10 13:34:20 +12:00
Ron Rennick fe2dd7cc24 remove unnecessary vars from e2e action (https://github.com/woocommerce/woocommerce-admin/pull/6826) 2021-05-10 13:11:56 +12:00
Bec Scott 6671a5170b Add filter variation to tracks data in products analytics (https://github.com/woocommerce/woocommerce-admin/pull/6913)
* Add filter variation to tracks data in products analytics

* Add changelog

* only add filter_variation if required, default to 'all'
2021-05-10 10:50:02 +10:00
jonathansadowski 90d2bdcb1f Fix an issue with OBW when wc-pay and Jetpack are both being installed (https://github.com/woocommerce/woocommerce-admin/pull/6957)
* Fix an issue with OBW when wc-pay and Jetpack are both being installed

* Add readme and testing instructions for woocommerce/woocommerce-admin#6957

* Add filters for the installed and activated plugins and tie into those filters for ensuring Jetpack is installed ahead of WCPay
2021-05-07 14:22:12 -05:00
louwie17 094b73561d Fix/6954 script asset filename (https://github.com/woocommerce/woocommerce-admin/pull/6955)
* Update the get_script_asset_filename function calls to match new format

* Added e2e test for the coupons page

* Add changelog

* Remove typo in changelog
2021-05-07 13:29:20 -03:00
Ilyas Foo de9cfb210d Try add payment method selector to onboarding store (https://github.com/woocommerce/woocommerce-admin/pull/6921)
* Added payment method to onboarding data store

* Add reducer test

* Address feedback on reducer naming convention, isResolving, enabledMethods

* Move out types to live in its own island

* Add a comment to remind ourselves for utilizing payments data store for enabled payment gateways

* Update changelog
2021-05-07 18:06:35 +08:00