Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bundle] Enhance the change unit for easier comparison #1917

Open
Tracked by #1121
Adal3n3 opened this issue Jun 12, 2024 · 0 comments
Open
Tracked by #1121

[Bundle] Enhance the change unit for easier comparison #1917

Adal3n3 opened this issue Jun 12, 2024 · 0 comments
Labels
enhancement New feature or request in discovery The design, product, and specifications require refinement

Comments

@Adal3n3
Copy link

Adal3n3 commented Jun 12, 2024

Problem

It's not very easy to understand the change of bundle size because the units on the UI are not the same as the "Previous size" and "New size".

Example 1:
Previous size: 6.87 MB
New size 6.87 MB
Change -575 B
6.87 MB - 0.000575 MB = 6.869425 MB

Example 2:
Previous size 27.99 MB
New size: 27.97 MB
Change: -19.27 kB (0.01927)
27.99 MB -0.01927 MB = 27.97073 MB
Example: link

Screenshot 2024-06-10 at 2 29 10 PM
Another example
Screenshot 2024-06-10 at 2 30 25 PM

Proposed solution

  • We use the same unit when it comes to comparison (I know the number will not look pretty but I can understand the size,
  • We can use % of change to help the user understand the size of change.
@Adal3n3 Adal3n3 added in discovery The design, product, and specifications require refinement enhancement New feature or request labels Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in discovery The design, product, and specifications require refinement
Projects
None yet
Development

No branches or pull requests

1 participant