Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post-migration Experience: Adds the placeholder task list #39593

Merged
merged 3 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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