Commit Graph

6 Commits

Author SHA1 Message Date
louwie17 3707812ebe Refactor/consolidate Datasource poller (https://github.com/woocommerce/woocommerce-admin/pull/7671)
* Initial refactor and consolidation of the DataSourcePoller code

* Move transient logic into DataSourcePoller class

* Fix function name

* Fix tests

* Add changelog

* Fix tests and update use of DataSourcePoller

* Make use of ID's in the DataSourcePoller

* Fix parsing error

* Update data_sources filter
2021-10-20 15:53:43 -03:00
louwie17 da395281e7 Add changelog and enable promotion in core and plugin configs (https://github.com/woocommerce/woocommerce-admin/pull/7666)
* Add changelog and enable promotion in core and plugin configs

* Add PR number

* Make variation name a constant

* Clone spec as we are overwriting the is_visible prop

* Fix unit tests and support array and object

* Revert explat variation name

* Update changelog entry

* Update changelog once more

* Make sure the recommendations show up if marketplace suggestions is not defined defaulting to 'yes'
2021-09-27 10:24:47 -03:00
louwie17 f5dc970a0f Pass empty string instead of null to init (https://github.com/woocommerce/woocommerce-admin/pull/7692) 2021-09-21 14:40:14 -04:00
louwie17 b5ccd3acf8 Add explat variation for wc pay promotion (https://github.com/woocommerce/woocommerce-admin/pull/7554)
* Add experimental abtest class and use it in WCPayPromotion

* Update experiment version data structure

* Address PR feedback
2021-09-10 10:50:58 -03:00
louwie17 7f38f6fd0a Feature/7319 add woocommerce com data (https://github.com/woocommerce/woocommerce-admin/pull/7553)
* Add woocommerce.com data source poller

* Change data source back to .com

* Fix namespace

* Make use of the sub_title prop to display payment cards

* Fix some styling issue and add TS types

* Rename admin script to keep it more generic

* Add br tag as allowed, and update expected data format

* Update styling

* Address PR feedback
2021-09-09 09:25:13 -03:00
louwie17 4c4161ac3c Render psuedo wc pay payment gateway in payment method table (https://github.com/woocommerce/woocommerce-admin/pull/7550)
* Render psuedo wc pay payment gateway in payment method table

* Fix lint errors

* Fix lint error

* Add setup event and make use of script_assets file

* Left align payment icons

* Fix feature import and update pageview track

* Fix broken test and add an extra one

* Fix payment method ordering persistance

* Remove the use of psuedo and addressed several PR related feedback

* Fix PHP lint errors

* Make sure track props use underscore

* Fix test

* Update comment

* Add await
2021-09-08 13:41:00 -03:00