Commit Graph

10 Commits

Author SHA1 Message Date
Joshua T Flowers babefd0d47 Fix Gutenberg CardBody styles for task card (https://github.com/woocommerce/woocommerce-admin/pull/7411)
* Fix Gutenberg CardBody styles for task card

* Add changelog entry
2021-07-23 09:53:39 -04:00
Ilyas Foo 3b7c05a845 WordPress 5.8 compatibility UI fixes (https://github.com/woocommerce/woocommerce-admin/pull/7255)
* Add appropriate text props to supplement variant revamp

* Add font styles to navigation title since its removed in wp.components

* Add more missing styles

* Accidental change

* Add changelog

* Fix lint

* Update jest snapshots
2021-06-28 09:14:59 +08:00
Jeff Stieler 150c902d36 Add progressive task list animation (https://github.com/woocommerce/woocommerce-admin/pull/7128)
* Hide unexpanded task item content with css.

* Add transition animation to expanding TaskItems.

* Fix tests.
2021-06-08 08:16:53 -04:00
louwie17 baba993f85 Add remind me later support to task list (https://github.com/woocommerce/woocommerce-admin/pull/6923)
* Initial ellipses menu render on task list

* Added remind me later functionality

* Fixed tests and wrote tests for ellipsis menu

* Update tracks

* Add changelog and update css

* Fix up spacing and track name

* Address PR feedback and add extra integration tests

* Remove the should render correctly test, as the other tests cover this

* Move logic out of mark up

* Directly reference the EllipsisMenu for now to circumvent a circular dependency

* Fix direct import in jest tests

* Preload remind me later optoin

* Some styling animation changes for the task list

* Stagger transitions for dismissing within collapsible list

* Fix lint warnings

* Update logic to prevent the use of TS `as`

* Add tests and comments
2021-06-03 18:44:05 -03:00
Jeff Stieler 4ab034e5d5 Add progressive task list experiment (https://github.com/woocommerce/woocommerce-admin/pull/7089)
* Remove "core" setup list detection logic.

* Fix tests.

* Add tests for onComplete and onHide callbacks.

* Add optional item expansion behavior to TaskList.

* Add task item expansion A/B test.

* Add tests for A/B variations.

* Add changelog entry.
2021-06-01 12:43:17 -06:00
Jeff Stieler c23d02bcc0 Add conditional copy/content and CTA to expanded task items (https://github.com/woocommerce/woocommerce-admin/pull/6956)
* Add action button to TaskItem.

* Pass through click event.

* Add separate action and label to onClick.

* Add initial copy for task expansion.

* Expand one task at a time.

* Add descriptive text to the payments step.

* Set the first incomplete task current by default.

* Revert expansion behavior.

* Fix margins.

* Curate purchase products task content based on selections.

* Fix appearance task copy.

* Fix payment task copy.

* Add conditional tax step title.

* Indicated if task is expanded to click handlers.

* Automatically enable WC Tax from the expanded CTA.

* Restore additional text property.

* Fix task title xpath selector in E2E test.

* Fix automatic tax setup query param logic.

* Add changelog entries.
2021-06-01 12:04:21 -06: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
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
louwie17 99c6044e55 Add task hierarchy support to task item (https://github.com/woocommerce/woocommerce-admin/pull/6916)
* Add task hierarchy support to task item

* Add optional tooltip

* Add changelog

* Update the logic to keep it more generic

* Fix up css

* Change level to numbers

* Switched the levels around where 1 is the highest priority

* Updated classnames and made sure tooltip does not show on completed item
2021-05-05 14:43:46 -03:00
louwie17 0f4c102c51 Expand collapse extendable task list (https://github.com/woocommerce/woocommerce-admin/pull/6910)
* Partial change with new task-list

* Made use of the new CollapsibleList for the extended list

* Add test for expansion item

* Add changelog

* Add tracks for expand and collapse

* Update translation to plural/singular option
2021-05-03 14:13:47 -03:00