-
Notifications
You must be signed in to change notification settings - Fork 2k
Dashboard v2: switcher: enable add site button #103630
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
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~4666 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. 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. |
Please no, this is going to prevent sharing the component with V1. Let's leave the component as is and instead have a separate one (or just use the modal inline) |
See #103488 |
Why do we want to share it if it's going to be redesigned? |
Also why does the modal prevent using another component inside of it? |
That way it's redesigned for both. Right now it's exactly the same code that is duplicated.
That's fine, I'm just saying that the reusable component shouldn't change from "content" to "modal". |
d428bfb
to
0bde7db
Compare
@youknowriad better? |
Yes, this works for me. Initially I thought we wanted to keep the regular "add new site" button as a dropdown though? |
If we want all of them to be a Modal, It's ok to have another dedicated component (different from the existing one) to share the logic. |
6eefe13
to
46f7c0d
Compare
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 |
See #103344.
Proposed Changes
Why are these changes being made?
Testing Instructions
Pre-merge Checklist