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

Stats Chart: Add comparisons for chart tabs #96602

Open kangzj opened 1 day ago

kangzj commented 1 day ago

Related to https://github.com/Automattic/red-team/issues/268

Proposed Changes

Testing Instructions

image

Kudos to dognose for adding all the styles. Very much appreciated πŸ™‡

Pre-merge Checklist

github-actions[bot] commented 1 day ago
Calypso Live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-125369
Jetpack Cloud live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-125369&env=jetpack
Automattic for Agencies live (direct link)
https://calypso.live?image=registry.a8c.com/calypso/app:build-125369&env=a8c-for-agencies
matticbot commented 4 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 update/use-highlight-cards-for-tabs on your sandbox.

matticbot commented 4 hours ago

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

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

``` name parsed_size gzip_size stats +818 B (+0.1%) +231 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.

Async-loaded Components (~1295 bytes added πŸ“ˆ [gzipped])

``` name parsed_size gzip_size async-load-store-app-store-stats +5258 B (+1.3%) +1295 B (+1.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.