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

Stats: Tweak the static display for the hour period on the period dropdown #96664

Open dognose24 opened 6 hours ago

dognose24 commented 6 hours ago

This change is a follow-up of https://github.com/Automattic/wp-calypso/pull/96607.

Proposed Changes

Why are these changes being made?

Testing Instructions

Before After
截圖 2024-11-22 晚上8 36 58 截圖 2024-11-22 晚上8 36 29

Pre-merge Checklist

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

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

Sections (~43 bytes added 📈 [gzipped])

``` name parsed_size gzip_size stats +137 B (+0.0%) +43 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 (~43 bytes added 📈 [gzipped])

``` name parsed_size gzip_size async-load-store-app-store-stats-listview +137 B (+0.0%) +43 B (+0.1%) async-load-store-app-store-stats +137 B (+0.0%) +43 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.