Commit Graph

14 Commits

Author SHA1 Message Date
Moon fec3ab8c5e Fix incorrectly selected column type in two-cols experiment (https://github.com/woocommerce/woocommerce-admin/pull/8137)
* Remove updating to two_cols

* Put woocommerce_task_list_prompt_shown update logic back
2022-01-13 09:38:38 +08:00
Moon 7348c302ec Fix duplicated back button with two-cols experiment (https://github.com/woocommerce/woocommerce-admin/pull/8138)
* Do not render individual task in the extended component when it is rendered with two column task component
* Change var name to shouldRenderTask
2022-01-11 08:21:50 -08:00
Joshua T Flowers 7aeb0a19d2 Migrate header items to slot fills (https://github.com/woocommerce/woocommerce-admin/pull/7805)
* Add SlotFill area to header

* Add activity panel fill

* Move activity panel to root client folder

* Move activity panel registration to its own folder

* Add navigation fill

* Add page title slotfill

* Slot fill the back button

* Move mobile banner to slot fill

* Fix navigation fill on embed pages

* Add changelog entry

* Allow order prop to header item fill

* Split header into before and after

* Fix header title gaps

* Fix nav and mobile app banner placement

* Fix display options import

* Only use last item for page header title fill

* Use function to pass fill props instead of bind

* Rename header slots

* Fix mobile banner dismissal check

* Fix up inbox panel rename

* Update task title in tests

* Fix up task status retrieval
2021-12-14 11:56:42 -05:00
Adrian Duffell b9b4c82dca Make Homescreen Default to Single Column Layout (https://github.com/woocommerce/woocommerce-admin/pull/7969)
* Add database migration deleting layout option

* Remove calls to update the option

* Remove unused variable

* Add changelog

* Remove unused var (lint failure)

* Increase e2e test timeout to 1000

* Fix test: navigate to homescreen

Co-authored-by: Moon <moon.kyong@automattic.com>
2021-11-29 13:04:34 -08:00
Ilyas Foo 62c3b6ea97 Fix TaskList UI experiment enablement logic (https://github.com/woocommerce/woocommerce-admin/pull/7930)
* Fix TaskList UI logic to enable when either experiment is in treatment

* Fix invalid react attribute

* Changelog
2021-11-12 18:32:27 +08:00
Moon 777c3a709a Add two-columns class dynamically (https://github.com/woocommerce/woocommerce-admin/pull/7878) 2021-11-01 19:43:46 -07:00
Moon 5391b9e066 Remove store setup from the things to do list (https://github.com/woocommerce/woocommerce-admin/pull/7876) 2021-11-01 19:33:10 -07:00
Ilyas Foo d4e27ea3ea Fix Tasklist UI illustrations styling (https://github.com/woocommerce/woocommerce-admin/pull/7858)
* Fix css styles

* Changelog
2021-10-28 16:02:56 +08:00
Ilyas Foo 96028ff055 Revert experiment task titles back to original (https://github.com/woocommerce/woocommerce-admin/pull/7853)
* Remove experiment task titles

* Changelog
2021-10-27 17:41:51 +08:00
Ilyas Foo 7ae80e7969 Change CTA text for personalize store task after completion (https://github.com/woocommerce/woocommerce-admin/pull/7852)
* Change CTA text for personalize store task after completion

* Changelog
2021-10-27 17:41:34 +08:00
Moon a90f80e838 Set the circle bg to transparent (https://github.com/woocommerce/woocommerce-admin/pull/7849) 2021-10-26 18:56:03 -07:00
Ilyas Foo 30d7def26f Add header cards for all tasks in Tasklist UI experiment (https://github.com/woocommerce/woocommerce-admin/pull/7838)
* Add illustration images

* Refactor the way clicking task is handled, tracking clicks should be during CTA

* Refactor task list on select and rendering

* Add WCPay task and update existing tasks to use new API

* Change payments task behaviour to show after wcpay is connected

* Add couple more tasks

* Add marketing and appearance tasks, customize styles

* Refactor to use svg components instead of images, add custom task titles for experiment

* Updated tracking to be like existing task list

* Change default task shown to be the last

* Cleanup css

* Changelog

* Fix ellipsis menu css to be more specific to the respective tasklist
2021-10-26 16:40:35 +08:00
Moon 543cefa004 Two columns experiment - move paid extensions to extended task list (https://github.com/woocommerce/woocommerce-admin/pull/7839)
* Render extended task list

* Remove margin-bottom when the extended task list is empty

* Fix typo

* Remove redundant isVisible check

* Remove unallowedTasks and move it to concat

* Remove woocommerce_tasklist_progression experiment

* Remove duplicate array items

* Use isVisible to check the visibility

* Remove redundant logic
2021-10-25 21:08:05 -07:00
Moon ef0fde6632 Add summary tasks for the new two-column tasklist experiment (https://github.com/woocommerce/woocommerce-admin/pull/7669)
* Add two column version of task list with a new design

* Show number in the status circle

* Set background for the active task

* Remove border top

* Changes in single column

* Task list does not render in the left column if two column task list has been rendered already.

* Your store today and activity panel does not render if user is running two column experiment

* Update the circle border color

* Fix lint issue

* Support single column mode

* Add box-shadow transition

* Fix max width

* Set the first card as the default if all tasks are complete

* Adjust font-weight for the complete tasks

* Use experiment

* Remove unnecessary placeholder

* Use two-column placeholder

* Use the new task REST API

* Remove unused code -- these are no longer used as we are using the new task list REST API

* Update logic to use the new fields

* Update css to fit the homescreen card

* Remove unused var

* Sync changelog from 2.8.0-rc.2 (https://github.com/woocommerce/woocommerce-admin/pull/7783)

* Remove changelogs that were picked into 2.8.0-beta.2

* Update changelog for 7690

* Update changelog for 7743

* Update changelog for 7734

* Update changelog for 7763, 7771

* Remove changelog for 7763 from 2.8.0 since it was in 2.7.2

* Update changelog for 7798

* Show keep & dismiss page when tasks are complete (https://github.com/woocommerce/woocommerce-admin/pull/7684)

* Add two column version of task list with a new design

* Changes in single column

* Task list does not render in the left column if two column task list has been rendered already.

* Your store today and activity panel does not render if user is running two column experiment

* Prompt a modal when hiding the task list

* Add completed compoent

* Move completed task to task-list

* Implement hide and keep list buttons

* Fix keep task list button

* Rename hideTaskCard to hideTasks and keepTaskCard to keepTasks

* Add two column version of task list with a new design

* Show number in the status circle

* Set background for the active task

* Remove border top

* Changes in single column

* Task list does not render in the left column if two column task list has been rendered already.

* Your store today and activity panel does not render if user is running two column experiment

* Update the circle border color

* Fix lint issue

* Support single column mode

* Add box-shadow transition

* Fix max width

* Set the first card as the default if all tasks are complete

* Adjust font-weight for the complete tasks

* Use experiment

* Remove unnecessary placeholder

* Use two-column placeholder

* Use the new task REST API

* Remove unused code -- these are no longer used as we are using the new task list REST API

* Update logic to use the new fields

* Update css to fit the homescreen card

* Remove unused var

* Show keep & dismiss page when tasks are complete (https://github.com/woocommerce/woocommerce-admin/pull/7684)

* Add two column version of task list with a new design

* Changes in single column

* Task list does not render in the left column if two column task list has been rendered already.

* Your store today and activity panel does not render if user is running two column experiment

* Prompt a modal when hiding the task list

* Add completed compoent

* Move completed task to task-list

* Implement hide and keep list buttons

* Fix keep task list button

* Rename hideTaskCard to hideTasks and keepTaskCard to keepTasks

* Remove unnecessary feature checking logic

* Separate && operator for Activity Header and Panel since one of them can be empty

* Add changelog

Co-authored-by: Matt Sherman <matt.sherman@automattic.com>
2021-10-20 09:16:22 -07:00