-
Notifications
You must be signed in to change notification settings - Fork 2k
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
A4A > Migrations: Initial implementation of self site migration tool #96401
base: trunk
Are you sure you want to change the base?
A4A > Migrations: Initial implementation of self site migration tool #96401
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~12 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~1211 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Async-loaded Components (~8 bytes added 📈 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it is working as expected. Good job! 👍
I left a few comments for improvement. Let me know what you think.
setMenuVisible( ( isVisible ) => ! isVisible ); | ||
}; | ||
|
||
const popoverContent = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as my previous comment on another PR. We can wrap this with useMemo
to avoid redrawing it or just move it within the template.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed it here: 8af12d3.
href: A4A_MIGRATIONS_LINK, | ||
}, | ||
{ | ||
label: translate( 'Overview' ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this clickable just to be consistent with breadcrumb behavior?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are removing this in another PR. So, leaving this as-is
5922c7a
to
8af12d3
Compare
Thanks for the review, @jkguidaven!
I will fix this in my next PR here: #96443 as we are updating this there.
Good one. Fixed it here: 8af12d3. Could you please take another look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing my comments.
I tested the new changes, and they look good.
No more comments from me.
Closes https://github.com/Automattic/automattic-for-agencies-dev/issues/1475
Closes https://github.com/Automattic/automattic-for-agencies-dev/issues/1476
Closes https://github.com/Automattic/automattic-for-agencies-dev/issues/1441
Proposed Changes
This PR:
Migrate your sites
to a dropdown menu, giving multiple optionsMigrate to Pressable
andMigrate to WordPress.com
pagesWhy are these changes being made?
Testing Instructions
Migrate your sites
button opens up the contact support form/migrations/overview
page and you can now see the options for theMigrate your sites
buttonPre-merge Checklist