Automattic / wp-calypso

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

Plans: Make storage selection reflection in header price optional #96520

Open jeyip opened 3 days ago

jeyip commented 3 days ago

Related to https://github.com/Automattic/martech/issues/3403 and https://github.com/Automattic/wp-calypso/pull/96357#pullrequestreview-2441944966

Proposed Changes

Why are these changes being made?

Testing Instructions

Pre-merge Checklist

github-actions[bot] commented 3 days ago
Calypso Live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-124991
Jetpack Cloud live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-124991&env=jetpack
Automattic for Agencies live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-124991&env=a8c-for-agencies
matticbot commented 3 days 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 update/term-savings-pricing-to-ignore-storage-addon-selections on your sandbox.

matticbot commented 3 days ago

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

Sections (~741 bytes added πŸ“ˆ [gzipped])

``` name parsed_size gzip_size update-design-flow +2063 B (+0.2%) +518 B (+0.2%) plugins +2063 B (+0.1%) +520 B (+0.1%) plans +2063 B (+0.2%) +519 B (+0.1%) link-in-bio-tld-flow +2063 B (+0.1%) +511 B (+0.1%) jetpack-app +2063 B (+0.5%) +519 B (+0.4%) theme +36 B (+0.0%) +23 B (+0.0%) stats +36 B (+0.0%) +25 B (+0.0%) site-purchases +36 B (+0.0%) +25 B (+0.0%) purchases +36 B (+0.0%) +25 B (+0.0%) posts-custom +36 B (+0.0%) +26 B (+0.0%) posts +36 B (+0.0%) +26 B (+0.0%) migrate +36 B (+0.0%) +26 B (+0.0%) import-hosted-site-flow +36 B (+0.0%) +26 B (+0.0%) hosting +36 B (+0.0%) +26 B (+0.0%) domains +36 B (+0.0%) +25 B (+0.0%) checkout +36 B (+0.0%) +27 B (+0.0%) ``` 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 (~545 bytes added πŸ“ˆ [gzipped])

``` name parsed_size gzip_size async-load-signup-steps-plans-theme-preselected +2063 B (+0.5%) +519 B (+0.4%) async-load-signup-steps-plans +2063 B (+0.5%) +519 B (+0.4%) async-load-design-blocks +36 B (+0.0%) +26 B (+0.0%) ``` 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. **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.

jeyip commented 1 day ago

Hey @chriskmnds just leaving a message here to say I didn't miss your comments. Will get to them tomorrow 😎

jeyip commented 13 hours ago

It's getting near the end of my day. I started reviewing the comment, but will continue tomorrow. Thanks for the patience!