chore: update byte units on frontend#4444
chore: update byte units on frontend#4444MasterPtato wants to merge 1 commit into03-17-fix_runner_alloc_idx_logic_api_auth_for_actor_getfrom
Conversation
|
🚅 Deployed to the rivet-pr-4444 environment in rivet-frontend
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
PR Review: chore: update byte units on frontendFiles changed: 5 files, +42 / -44 lines SummaryThis PR migrates billing-related frontend labels and computed values from SI (decimal, base-1000) byte units (KB/MB/GB/TB) to IEC (binary, base-1024) units (KiB/MiB/GiB/TiB). Changes span display labels, inline constant definitions, comments, and the Key Question: Backend Unit ConventionThe most important aspect of this PR is that
These are intentional if the backend measures usage in IEC (binary) units. However, if the backend still measures in SI (decimal) units, the displayed thresholds would be misleading after this change. Please confirm the backend unit convention matches before merging. Inline Constants in
|
f1b6d0a to
d4011f0
Compare
5b2bead to
cfc4fad
Compare
d4011f0 to
3b845cb
Compare
cfc4fad to
65280b5
Compare
65280b5 to
84dbf32
Compare
3b845cb to
1028b2c
Compare
84dbf32 to
90c2e97
Compare
1028b2c to
88d15c3
Compare
88d15c3 to
ede07de
Compare
90c2e97 to
ebdaa13
Compare
ede07de to
e9536ed
Compare
63b3a1f to
73107a6
Compare
e9536ed to
cf68e1c
Compare
73107a6 to
b2f4422
Compare
cf68e1c to
0422e8d
Compare
b2f4422 to
7baeb4c
Compare
0422e8d to
1cb5f34
Compare
1cb5f34 to
34988dd
Compare
791a38d to
d5c2eee
Compare
34988dd to
388ad2e
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: