Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

A4A: add support for new pressable enterprise plans #96647

Open travisw opened 7 hours ago

travisw commented 7 hours ago

Related to: https://github.com/Automattic/automattic-for-agencies-dev/issues/1466 P2: pfSQfS-tF-p2

Proposed Changes

🚧 🚧 WIP 🚧 🚧

Why are these changes being made?

Testing Instructions

Pre-merge Checklist

github-actions[bot] commented 7 hours ago
Calypso Live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-125360
Jetpack Cloud live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-125360&env=jetpack
Automattic for Agencies live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-125360&env=a8c-for-agencies
matticbot commented 7 hours ago

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 install-plugin.sh $pluginSlug add/a4a-support-for-pressable-enterprise-plans on your sandbox.

matticbot commented 7 hours ago

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

App Entrypoints (~70 bytes added 📈 [gzipped])

``` name parsed_size gzip_size entry-stepper +864 B (+0.0%) +70 B (+0.0%) entry-main +864 B (+0.0%) +70 B (+0.0%) entry-subscriptions +252 B (+0.0%) +37 B (+0.0%) entry-login +252 B (+0.0%) +39 B (+0.0%) entry-domains-landing +252 B (+0.0%) +37 B (+0.0%) entry-browsehappy +252 B (+0.1%) +37 B (+0.1%) ``` Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used.

Sections (~15288 bytes added 📈 [gzipped])

``` name parsed_size gzip_size a8c-for-agencies-marketplace +37221 B (+4.7%) +11866 B (+4.9%) a8c-for-agencies-client +821 B (+0.1%) +491 B (+0.1%) hosting -775 B (-0.0%) +1044 B (+0.2%) a8c-for-agencies-purchases +743 B (+0.1%) +150 B (+0.1%) a8c-for-agencies-team +196 B (+0.0%) +711 B (+0.3%) site-settings +181 B (+0.0%) +329 B (+0.1%) site-performance +181 B (+0.0%) +286 B (+0.1%) reader +78 B (+0.0%) +346 B (+0.1%) jetpack-cloud-agency-sites-v2 +78 B (+0.0%) +340 B (+0.1%) a8c-for-agencies-sites +78 B (+0.0%) +340 B (+0.1%) site-tools +13 B (+0.0%) +358 B (+0.1%) github-deployments +13 B (+0.0%) +364 B (+0.1%) ``` Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to.

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. **Gzip Size:** Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.