wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

WIP: Plugins update manager

Open bogiii opened this issue 1 year ago • 3 comments

Related to https://github.com/Automattic/dotcom-forge/issues/5544 Closes https://github.com/Automattic/dotcom-forge/issues/5648

Proposed Changes

Testing Instructions

Pre-merge Checklist

  • [ ] Has the general commit checklist been followed? (PCYsg-hS-p2)
  • [ ] https://wpcalypso.wordpress.com/devdocs/docs/testing/index.md for your changes?
  • [ ] Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • [ ] Have you checked for TypeScript, React or other console errors?
  • [ ] Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • [ ] Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
  • [ ] For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?

bogiii avatar Feb 15 '24 11:02 bogiii

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

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

name                   parsed_size           gzip_size
entry-login                +1994 B  (+0.1%)     +830 B  (+0.2%)
entry-domains-landing      +1994 B  (+0.3%)     +830 B  (+0.5%)
entry-browsehappy          +1994 B  (+1.4%)     +830 B  (+2.0%)
entry-subscriptions        +1915 B  (+0.1%)     +736 B  (+0.2%)
entry-main                  +341 B  (+0.0%)     +871 B  (+0.2%)
entry-stepper                -77 B  (-0.0%)     +915 B  (+0.1%)

Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used.

Sections (~1781 bytes removed 📉 [gzipped])

name                               parsed_size           gzip_size
jetpack-cloud-plugin-management       +84051 B  (+5.9%)   +26406 B  (+6.3%)
plugins                               +61433 B  (+2.6%)   +19617 B  (+3.0%)
link-in-bio-tld-flow                    -903 B  (-0.1%)     -440 B  (-0.1%)
signup                                  -892 B  (-0.3%)     -404 B  (-0.6%)
update-design-flow                      -890 B  (-0.1%)     -438 B  (-0.1%)
plans                                   -497 B  (-0.0%)    -1341 B  (-0.3%)
settings-newsletter                     -461 B  (-0.1%)    -3025 B  (-1.9%)
settings-podcast                        -435 B  (-0.1%)    -2907 B  (-1.7%)
import-flow                             -395 B  (-0.0%)     +848 B  (+0.1%)
media                                   -342 B  (-0.0%)    -1458 B  (-0.3%)
theme                                   +294 B  (+0.0%)     +790 B  (+0.3%)
gutenberg-editor                        -280 B  (-0.0%)     -342 B  (-0.2%)
settings-writing                        -265 B  (-0.0%)    -1870 B  (-1.0%)
settings-jetpack                        -263 B  (-0.0%)      -87 B  (-0.1%)
jetpack-cloud                           -256 B  (-0.1%)     -191 B  (-0.1%)
marketplace                             -231 B  (-0.0%)     +909 B  (+0.3%)
checkout                                +230 B  (+0.0%)     +735 B  (+0.1%)
stats                                   -221 B  (-0.0%)     +417 B  (+0.1%)
marketing                               +183 B  (+0.0%)     +192 B  (+0.1%)
jetpack-app                             -183 B  (-0.0%)     -387 B  (-0.3%)
woocommerce-installation                -172 B  (-0.0%)     -309 B  (-0.3%)
woocommerce                             -172 B  (-0.1%)     -309 B  (-0.3%)
subscribers                             -172 B  (-0.0%)     -309 B  (-0.1%)
promote-post-i2                         -172 B  (-0.0%)     -309 B  (-0.2%)
preview                                 -172 B  (-0.1%)     -310 B  (-0.3%)
migrate                                 -172 B  (-0.0%)     -309 B  (-0.3%)
jetpack-social                          -172 B  (-0.0%)     -317 B  (-0.2%)
jetpack-search                          -172 B  (-0.0%)     -382 B  (-0.2%)
jetpack-cloud-pricing                   -172 B  (-0.0%)     -309 B  (-0.1%)
jetpack-cloud-features-comparison       -172 B  (-0.0%)     -309 B  (-0.1%)
google-my-business                      -172 B  (-0.0%)     -309 B  (-0.2%)
export                                  -172 B  (-0.0%)     -309 B  (-0.3%)
customize                               -172 B  (-0.0%)     -309 B  (-0.3%)
concierge                               -172 B  (-0.0%)     -309 B  (-0.2%)
add-ons                                 -172 B  (-0.0%)     -309 B  (-0.3%)
a8c-for-agencies-sites                  -172 B  (-0.1%)     -311 B  (-0.5%)
a8c-for-agencies-plugins                -172 B  (-0.1%)     -311 B  (-0.5%)
a8c-for-agencies-overview               -172 B  (-0.1%)     -311 B  (-0.5%)
a8c-for-agencies-marketplace            -172 B  (-0.0%)     -311 B  (-0.2%)
home                                    -140 B  (-0.0%)       +0 B
comments                                +137 B  (+0.0%)     +436 B  (+0.2%)
site-purchases                          -133 B  (-0.0%)     -133 B  (-0.0%)
settings-reading                        +127 B  (+0.0%)     +613 B  (+0.4%)
domains                                 -120 B  (-0.0%)     -661 B  (-0.1%)
security                                +117 B  (+0.0%)     +731 B  (+0.3%)
jetpack-cloud-agency-sites-v2           +117 B  (+0.0%)     +297 B  (+0.1%)
start-writing-flow                      -108 B  (-0.6%)      -28 B  (-0.6%)
reblogging-flow                         -108 B  (-1.3%)      -27 B  (-1.0%)
newsletter-flow                         -108 B  (-0.6%)      -27 B  (-0.6%)
new-hosted-site-flow                    -108 B  (-1.7%)      -22 B  (-1.1%)
link-in-bio-flow                        -108 B  (-0.7%)      -25 B  (-0.5%)
design-first-flow                       -108 B  (-0.6%)      -24 B  (-0.5%)
connect-domain                          -108 B  (-0.4%)      -24 B  (-0.3%)
purchases                               -104 B  (-0.0%)     +201 B  (+0.0%)
earn                                     -92 B  (-0.0%)     +939 B  (+0.4%)
backup                                   +91 B  (+0.0%)     +382 B  (+0.1%)
site-blocks                              -79 B  (-0.0%)     +241 B  (+0.1%)
privacy                                  -79 B  (-0.0%)     +241 B  (+0.1%)
notification-settings                    -79 B  (-0.0%)      +41 B  (+0.0%)
me                                       -79 B  (-0.0%)     +241 B  (+0.1%)
jetpack-connect                          -79 B  (-0.0%)     -267 B  (-0.1%)
jetpack-cloud-partner-portal             -79 B  (-0.0%)     -315 B  (-0.1%)
help                                     -79 B  (-0.0%)      -79 B  (-0.0%)
developer                                -79 B  (-0.0%)     +241 B  (+0.1%)
account-close                            -79 B  (-0.0%)     +241 B  (+0.1%)
settings-security                        +75 B  (+0.0%)     +555 B  (+0.4%)
settings-performance                     +75 B  (+0.0%)     +592 B  (+0.4%)
sites-dashboard                          -69 B  (-0.0%)     -276 B  (-0.1%)
site-monitoring                          -69 B  (-0.0%)     -300 B  (-0.2%)
settings-discussion                      -55 B  (-0.0%)     +966 B  (+0.7%)
people                                   +54 B  (+0.0%)     +620 B  (+0.3%)
settings                                 +53 B  (+0.0%)     +985 B  (+0.4%)
hosting                                  -53 B  (-0.0%)     +324 B  (+0.1%)
posts-custom                             +50 B  (+0.0%)     +279 B  (+0.1%)
posts                                    +50 B  (+0.0%)      +51 B  (+0.0%)
email                                    +50 B  (+0.0%)      +51 B  (+0.0%)
activity                                 +50 B  (+0.0%)     +730 B  (+0.3%)
themes                                   -42 B  (-0.0%)     +599 B  (+0.2%)
scan                                     +24 B  (+0.0%)     -318 B  (-0.1%)
pages                                    +24 B  (+0.0%)     +375 B  (+0.2%)
jetpack-cloud-settings                   +24 B  (+0.0%)     +219 B  (+0.1%)
jetpack-cloud-overview                   +24 B  (+0.0%)     +627 B  (+0.4%)
import                                   +24 B  (+0.0%)     +289 B  (+0.2%)
github-deployments                       +24 B  (+0.0%)      +77 B  (+0.0%)
account                                  +24 B  (+0.0%)     +344 B  (+0.1%)
reader                                   -12 B  (-0.0%)      +93 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 (~12639 bytes added 📈 [gzipped])

name                                                                              parsed_size           gzip_size
async-load-design                                                                      +356 B  (+0.0%)     +811 B  (+0.2%)
async-load-design-blocks                                                               -352 B  (-0.0%)    -1069 B  (-0.2%)
async-load-design-playground                                                           -301 B  (-0.0%)     +698 B  (+0.2%)
async-load-automattic-global-styles-src-components-global-styles-variations            +196 B  (+0.0%)     +602 B  (+0.1%)
async-load-signup-steps-plans-theme-preselected                                        -183 B  (-0.0%)     -388 B  (-0.3%)
async-load-signup-steps-plans                                                          -183 B  (-0.0%)     -388 B  (-0.3%)
async-load-calypso-layout-guided-tours-component                                       -172 B  (-0.2%)     -535 B  (-2.7%)
async-load-calypso-components-command-palette                                          -172 B  (-0.1%)     -326 B  (-0.5%)
async-load-calypso-blocks-support-article-dialog-dialog                                -172 B  (-0.1%)     -521 B  (-0.8%)
async-load-automattic-help-center                                                      -172 B  (-0.0%)     -489 B  (-0.3%)
async-load-calypso-post-editor-editor-media-modal                                      -170 B  (-0.0%)     -748 B  (-0.2%)
async-load-publish                                                                     -108 B  (-0.2%)     -349 B  (-2.3%)
async-load-calypso-post-editor-media-modal                                             -103 B  (-0.0%)      -27 B  (-0.0%)
async-load-calypso-lib-account-settings-helper                                         -103 B  (-0.1%)      -16 B  (-0.0%)
async-load-calypso-layout-guided-tours                                                  -99 B  (-1.4%)      -47 B  (-2.0%)
async-load-comment-block-editor                                                         +95 B  (+0.0%)    +1298 B  (+0.2%)
async-load-calypso-blocks-support-article-dialog                                        -84 B  (-2.6%)      -17 B  (-1.4%)
async-load-design-wordpress-components-gallery                                          +67 B  (+0.0%)     +742 B  (+0.4%)
async-load-automattic-design-preview                                                    +65 B  (+0.0%)     +232 B  (+0.1%)
async-load-signup-steps-page-picker                                                     +26 B  (+0.0%)      +18 B  (+0.0%)
async-load-my-sites-checkout-purchase-modal-is-eligible-for-one-click-checkou...        +26 B  (+0.0%)      +24 B  (+0.0%)
async-load-calypso-reader-sidebar                                                       +26 B  (+0.0%)       +9 B  (+0.0%)
async-load-calypso-my-sites-stats-summary                                               +26 B  (+0.0%)       +9 B  (+0.1%)
async-load-calypso-my-sites-current-site-notice                                         +26 B  (+0.0%)       +9 B  (+0.0%)
async-load-calypso-components-web-preview-component                                     +26 B  (+0.0%)     +179 B  (+0.1%)
async-load-calypso-blocks-jitm-templates-sidebar-banner                                 +26 B  (+0.1%)      +10 B  (+0.1%)
async-load-calypso-blocks-jitm-templates-notice                                         +26 B  (+0.1%)       +9 B  (+0.1%)
async-load-calypso-blocks-jitm-templates-default                                        +26 B  (+0.1%)      +10 B  (+0.1%)

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.

matticbot avatar Feb 15 '24 11:02 matticbot

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/11603947

Some locales (Hebrew, Japanese) have been temporarily machine-translated due to translator availability. All other translations are usually ready within a few days. Untranslated and machine-translated strings will be sent for translation next Monday and are expected to be completed by the following Friday.

Thank you @bogiii for including a screenshot in the description! This is really helpful for our translators.

a8ci18n avatar Mar 14 '24 15:03 a8ci18n

Translation for this Pull Request has now been finished.

a8ci18n avatar Mar 18 '24 00:03 a8ci18n