Repository navigation
Apply design tweaks to the Reprint migration screen - #11
Merged
Merged
Conversation
The redirect used to be set only on the first activation, before the site had a BlogVault account. A bulk activation now stays on the plugin list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A wider column without the logo header, a status pill above the heading on the connected, set-up and ready screens, and new text per mode. The WordPress.com button reads "Go to WordPress.com", carries an arrow, and links to my.wordpress.com/sites. The login button reads "Connect WordPress.com". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The arrow's wpcom-migration-button__icon class also contains wpcom-migration-button, so each Go to WordPress.com button counted twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes DOTCOM-18781
Ilona reviewed the Reprint migration screen and tweaked the designs. This PR applies those tweaks and makes the plugin open its main screen after every activation.
/wp-admin/admin.php?page=wpcom-migration-status– Unconfigured/wp-admin/admin.php?page=wpcom-migration-status– User clicked "Log in with WordPress.com" and finished the login process./wp-admin/admin.php?page=wpcom-migration-status– Reprint key added (WPCOM adds the key automatically if the user approves an application password)/wp-admin/admin.php?page=wpcom-migration-status– Reprint exporter enabled (WPCOM enables it when the migration starts)Activation redirect
The redirect to the main screen (Reprint or BlogVault, whichever WordPress.com names) used to happen only on the first activation, before the site had a BlogVault account. Every activation now sets it. A bulk activation stays on the plugin list, and the handler exits after it redirects.
Testing
composer lintandcomposer lint:php:compatpass.bin/build.sh && tests/e2e/run.sh build/wpcom-migration) passes all ten scenarios. The assertions cover the new text, pills and URL. New menu steps cover reactivating a site that already has an account, and a bulk activation.🤖 Generated with Claude Code