Skip to content

Commit

Permalink
Post-migration Experience: Adds the placeholder task list (#39593)
Browse files Browse the repository at this point in the history
* Add the placeholder Migration task list

* changelog

* Update the tasklist name to match calypso's

---------

Co-authored-by: Valter Lorran <[email protected]>
  • Loading branch information
valterlorran and Valter Lorran authored Oct 1, 2024
1 parent e812044 commit 3583df8
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: added

Adds the placeholder task list for the Migration flow
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,13 @@ function wpcom_launchpad_get_task_definitions() {
return site_url( '/wp-admin/admin.php?page=wc-admin&task=launch_site' );
},
),
'migrating_site' => array(
'get_title' => function () {
return __( 'Migrating the site', 'jetpack-mu-wpcom' );
},
'is_complete_callback' => 'wpcom_launchpad_is_task_option_completed',
'is_visible_callback' => '__return_true',
),
);

$extended_task_definitions = apply_filters( 'wpcom_launchpad_extended_task_definitions', array() );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,14 @@ function wpcom_launchpad_get_task_list_definitions() {
'woo_launch_site',
),
),
'post-migration' => array(
'get_title' => function () {
return __( 'Site migration', 'jetpack-mu-wpcom' );
},
'task_ids' => array(
'migrating_site',
),
),
);

$extended_task_list_definitions = apply_filters( 'wpcom_launchpad_extended_task_list_definitions', array() );
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: added
Comment: We are just adding a placeholder tasklist


Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: added
Comment: We are just adding a placeholder tasklist


0 comments on commit 3583df8

Please sign in to comment.