-
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
[Draft] Task: Create Plans page for Jetpack App Site Creation #82404
[Draft] Task: Create Plans page for Jetpack App Site Creation #82404
Conversation
- Created jetpack-app-plans directory - Added an entry into sections.js with a path and module - Created controller.jsx that displays JetpackAppPlans component and passes query parameters - Created index.js defining a page and including jetpackAppPlans controller - Created main.jsx that shows a loading indicator while querying plans, and PlansFeaturesMain component once plans are loaded - Created style.scss with jetpack-app-plans style that includes plan-features-layout-switcher to support media queries when displaying plans grid
- Allow redirect_to parameter to URL which is then used to callback with a selected plan - Do not pass selected plan if free plan is selected
Use getPlanCartItem to get plan
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: App Entrypoints (~145 bytes added 📈 [gzipped])
Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used. Sections (~21928 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 (~17 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. |
16f967e
to
01afb54
Compare
…ns page shown on the app
…p-site-creation-test
This is a PR to make a build and test some changes to #82135