codecov / engineering-team

This is a general repo to use with GH Projects
1 stars 1 forks source link

[Investigation] Update bundle tab summary #1962

Open nicholas-codecov opened 2 months ago

nicholas-codecov commented 2 months ago

With our changes bringing in better gzip data inside our stats, we should update our bundle tab summary a bit to give a better value to the end user. The reason being is that you can't compress every file type with gzip and the two primary things we care about splitting out that are compressible are JS and CSS as they are the most actionable by developers without going outside of their editor. Also we're looking at removing the module count, as it really doesn't affect things in the bundle, as the bundler abstracts and combines the modules into assets so it doesn't really matter how many their are

Below is the proposed solution. Breaking out JS and CSS stats specifically, and grouping together the remainder, while removing the module count.

image

WIP: designs

codecovdesign commented 1 month ago

from slack thread (7/9):

added WIP: designs per the breakdown update in description

nicholas-codecov commented 1 month ago

is that because other may not have clear data? if not, for the data to js/css is this accurate even if some file are not compressed

The current way we display gzip data is incorrect (in a big way) and we will be removing it so we do not confuse users. JS and CSS the data will be accurate because we are actually running gzip on the files and getting the resulting size.