Commit Graph

12 Commits

Author SHA1 Message Date
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
Joel Thiessen 1d00a09ec3 Add show/hide behavior for task list API (https://github.com/woocommerce/woocommerce-admin/pull/7733)
Co-authored-by: Joshua Flowers <joshuatf@gmail.com>
2021-10-04 10:02:01 -07: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
louwie17 5c9bf5d925 Add extended task list support to the new REST api task lists (https://github.com/woocommerce/woocommerce-admin/pull/7730)
* Add extended task list support to the new REST api task lists

* Some small refactors

* Small refactors from PR review

* Create extended tasks on the fly if added on the client

* Remove unneeded change

* Add level and additionalInfo support, also adding it to the WooCommerce Payments task

* Fix a mis-type in a comment
2021-10-01 15:46:23 -03:00
Joel Thiessen 9c5c39732b Only return viewable tasks from tasks endpoint (https://github.com/woocommerce/woocommerce-admin/pull/7718) 2021-09-29 16:47:01 -07:00
Joshua T Flowers 43f68534ef Fix task list placeholder not showing (https://github.com/woocommerce/woocommerce-admin/pull/7724) 2021-09-29 14:30:34 -04:00
Joshua T Flowers a423bd0f52 Fix task snooze and dismiss functions (https://github.com/woocommerce/woocommerce-admin/pull/7728)
* Fix tax snoozeability

* Fix tax dismissal endpoint

* Clean up undo endpoints

* Fix up task visibility

* Handle PR feedback
2021-09-29 13:55:44 -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
Joshua T Flowers 6300e8aacd Add task list components to consume task list REST API (https://github.com/woocommerce/woocommerce-admin/pull/7556)
* Add initial task list render

* Add task list item render

* Separate task list menu component

* Fix click handling for tasks

* Add task started count data

* Scroll to top after selecting task

* Handle PR feedback

* Handle PR feedback round 2
2021-09-01 17:28:24 -04:00
Joshua T Flowers 7cb06f00fd Add tasks feature flag (https://github.com/woocommerce/woocommerce-admin/pull/7522)
* Add feature flags for tasks feature

* Add tasks initial render and placeholder to layout

* Fix lint errors
2021-08-23 10:29:20 -04:00