Commit Graph

170 Commits

Author SHA1 Message Date
Joshua T Flowers 5f8db47c16 Add payment gateway suggestion docs and example extensions (https://github.com/woocommerce/woocommerce-admin/pull/7966)
* Remove dated doc references

* Clean up slotfill and install script docs

* Add filter to suggestion specs

* Register example gateways

* Mock gateway installation and activation

* Add simple gateway

* Update gateway IDs

* Add slot filled gateway

* Add slot fill for slot filled gateway

* Allow gateway to be enabled and marked as configured if already enabled

* Add changelog entry

* Add quick start blurb to markdown file

* Remove duplicate JS registration and add default export

* Add payment settings save hook
2021-12-03 15:13:05 -05:00
louwie17 0cb4382c05 Correctly match payment gateways by id (https://github.com/woocommerce/woocommerce-admin/pull/7994) 2021-12-03 09:27:45 -04:00
Moon 398aaa6320 Set comp props explicitly (https://github.com/woocommerce/woocommerce-admin/pull/7985) 2021-11-30 19:13:25 -08:00
Joel Thiessen 1ccb1f6e1d Fixing references to null value throwing errors on products task (https://github.com/woocommerce/woocommerce-admin/pull/7934) 2021-11-15 16:48:14 -08:00
Joshua T Flowers 331ca075c4 Pass child props to partners card (https://github.com/woocommerce/woocommerce-admin/pull/7929) 2021-11-15 15:09:02 -05:00
Joshua T Flowers 7d464a514c Remove task status endpoint (https://github.com/woocommerce/woocommerce-admin/pull/7841)
* Add extra status properties to tasks

* Convert extra properties to camelcase

* Replace task status usage in client

* Remove task status data store

* Remove task status endpoint

* Remove remaining task status references

* Add has products to appearance task data

* Handle PR feedback

* Fix up additional data for Avalara task

* Add changelog entry
2021-11-09 07:42:33 -05:00
Joshua T Flowers abc47adc95 Add Avalara to tax task (https://github.com/woocommerce/woocommerce-admin/pull/7874)
* Move woocommerce tax flow to subdirectory

* Add partner cards

* Use png for logo files

* Add partner card other actions

* Add partner card styling

* Add in mobile styles

* Interpolate links and html elements

* Redirect to tax configuration if Avalara not supported

* Mark task complete if Alavara is installed

* Record events when task partners are shown or selected

* Add changelog entry

* Update task card flow based on visible partners

* Skip plugin step if all plugins installed

* Move reusable components into subdirectory

* Record available partner options

* Fix type reference

* Wrap callback functions in useCallback to avoid rerenders

* Handle PR feedback

* Add key to partner card container

* Add testing instructions
2021-11-05 16:32:02 -04:00
Joshua T Flowers d27da1aac1 Clean up tax task components (https://github.com/woocommerce/woocommerce-admin/pull/7870)
* Separate tax automated screen and stepper

* Move stepper to separate folder

* Fix up TS errors

* Fix location settings update

* Move complete address logic to store location component

* Prevent prematurely showing steps before resolution

* Update onEnable to onAutomate

* Add changelog entry
2021-11-02 13:33:42 -04:00
Joshua T Flowers ea857c73d6 Add WC Pay in person text (https://github.com/woocommerce/woocommerce-admin/pull/7830)
* Update WCPay in person text

* Remove div wrapping finish setup button

* Add changelog entry

* Add US specific WooCommerce Payment suggestion

* Allow different gateway suggestion IDs for wcpay

* Add older fallback version of WCPay

* Change check to dev version of 2.9.0

* Use 5.10.0-dev for WC checks
2021-11-02 09:03:04 -04:00
Joshua T Flowers d5bdb285d8 Add marketing extensions back to obw (https://github.com/woocommerce/woocommerce-admin/pull/7831)
* Add back in extension list title

* Separate task list and obw plugin lists

* Remove mailpoet from basics list

* Bump extensions REST API to v3

* Add changelog entry
2021-10-29 08:47:05 -04:00
Fernando f20113fa01 Add country validation to subscription inclusion (https://github.com/woocommerce/woocommerce-admin/pull/7777)
* Add country validation

* Add OnboardingProductTypes

* Add OnboardingProductTypes

* Add country validation to product task

* Add `productTypes` data handling

* Add country validation and new productTypes handling

* Fix to get `productTypes` from a SSOT

* Add `invalidateResolution` for `getTaskLists`

* Fixed testing instructions

* Fix `isTaskListHidden` issue

* Fixed product type

* Added constant `EMPTY_ARRAY` to `selectors.ts`

* Fixed constant `EMPTY_ARRAY`

* Moved `invalidateResolutionForStoreSelector` into OBW

* Updated testing instructions

* Updated testing instructions

* Fixed testing instructions

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-10-13 13:15:47 -03:00
Joshua T Flowers d8f3aca83a Use action to verify appearance task completion (https://github.com/woocommerce/woocommerce-admin/pull/7770)
* Use task action to verify appearance completion

* Add migration for old option

* Handle PR feedback
2021-10-08 17:01:12 -04:00
Joshua T Flowers ba71478725 Clean up task related functions (https://github.com/woocommerce/woocommerce-admin/pull/7739)
* Move active task transient

* Move default tasks to constant

* Move task return notice scripts

* Remove redundant task completion check

* Move deprecated options to separate class

* Move media scripts to appearance task

* Fix up missing classes
2021-10-06 16:48:28 -04:00
Jacob Sewell 6aa8afa85a Minor design update to marketing task (https://github.com/woocommerce/woocommerce-admin/pull/7732)
* Remove background color from marketing tool list header, increasee padding in plugin list, rearrange list borders.

* Changelog entry for 7642.

* Section heading tweaks: bottom padding, force uppercase.

* Move Marketing task plugin list changes into more specific stylesheet.
2021-10-06 12:26:27 -05:00
Joshua T Flowers 0b8596f53c Remove tasks feature flag and old components (https://github.com/woocommerce/woocommerce-admin/pull/7736)
* Remove feature flag

* Remove unused task status items

* Remove old task list components

* Remove more unused task status items

* Move completion checking to TaskList class

* Move completion checking to Task class

* Add changelog entry

* Fix up old task-list component references

* Remove flag around slotfill area

* Add back missing task stylesheet

* Move task specific styles to respective fills

* Add PR number to changelog entry
2021-10-05 14:20:28 -04:00
Joshua T Flowers 93b42ad9ef Add an endpoint and method for actioning tasks (https://github.com/woocommerce/woocommerce-admin/pull/7746)
* Add checks for actioned task status

* Update completion logic for task

* Add rest route for actioning tasks

* Add action in data store for actioning tasks

* Add test for actioning task

* Only prune isActioned from task data
2021-10-05 13:07:50 -04:00
Fernando 5d7661eeb9 Store Profiler and Product task - include Subscriptions (https://github.com/woocommerce/woocommerce-admin/pull/7734)
* Add flag

* Add free subscription to Product Types step

* Show copy and install WC-Pay when `Subscriptions` is checked

* Fixed `Start with a template` description

* Added flag to product-types and small refactor

* Add test for subscriptions

* Fixed wc-pay installation in product-types step

* Refactor product-template-modal

# Conflicts:
#	client/task-list/tasks/products/product-template-modal.js
#	client/tasks/fills/products/product-template-modal.js

* Add more tests

* Refactor product types list

* Add wc-pay activation in store profiler

* Add `wc-pay filter in business details step

* Add redirection after selecting subscriptions template option

* Fix prop renamed

* Fix product-types list

* Add changelog

* Fix typo

* Add check to `Free features`

* Refactor `SelectiveExtensionsBundle`

* Add `is_activated` to `EvaluateExtension`

* Add validation to `ProductTemplateModal` component

* Removed useless import

* Add missing flags

* Fix list

* Add promise.all to `product-types`

* Removed useless validation

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-10-05 09:27:30 -03:00
Joshua T Flowers 5b553ff2ea Allow already installed marketing extensions to be activated (https://github.com/woocommerce/woocommerce-admin/pull/7740)
* Allow already installed marketing extensions to be activated

* Add installAndActivate to old task list

* Add changelog entry
2021-10-04 13:11:00 -04:00
Joshua T Flowers d3d2acdd25 Add optimistic task completion and cache invalidation (https://github.com/woocommerce/woocommerce-admin/pull/7722)
* Add action to optimistically complete task

* Optimistically mark shipping task complete

* Invalidate cache on task completion

* Add complete tax task handler

* Add completion handlers to remaining tasks
2021-10-01 15:53:22 -04:00
Joel Thiessen f187c6763a Adding SlotFill support for API-driven tasks components (https://github.com/woocommerce/woocommerce-admin/pull/7616) 2021-09-21 12:33:44 -07:00