Skip to content

fix(ui): Use kB instead of KB for byte formatting - #118906

Open
obostjancic wants to merge 2 commits into
masterfrom
fix/size-formatting-kb-si-unit
Open

fix(ui): Use kB instead of KB for byte formatting#118906
obostjancic wants to merge 2 commits into
masterfrom
fix/size-formatting-kb-si-unit

Conversation

@obostjancic

@obostjancic obostjancic commented Jul 2, 2026

Copy link
Copy Markdown
Member

Byte size formatting used KB instead of kB. This changes all base-10 formatters to emit kB. Base-2 units (KiB, etc.) are already correct and untouched.

Changed formatters: formatBytesBase10, formatMetricUsingUnit, profiling units.ts, and getsentry's formatByteUnits/bigNumFormatter. Also updated related UI copy, docs, and specs.

The base-10 byte formatters were emitting "KB" as the symbol for
kilobyte. The correct SI symbol is "kB" (lowercase k for kilo); "KB"
is not a valid unit. Update the formatters, their tests, docs, and
user-facing copy accordingly. Base-2 units (KiB, etc.) are unchanged.
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 2, 2026
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-5xhgmfvyz.sentry.dev

@obostjancic
obostjancic marked this pull request as ready for review July 2, 2026 14:26
@obostjancic
obostjancic requested review from a team as code owners July 2, 2026 14:26
@obostjancic
obostjancic requested review from a team as code owners July 2, 2026 14:27
@obostjancic obostjancic changed the title fix(ui): Use SI symbol kB instead of KB for byte formatting fix(ui): Use kB instead of KB for byte formatting Jul 2, 2026
@obostjancic
obostjancic marked this pull request as draft July 2, 2026 14:27
@obostjancic
obostjancic marked this pull request as ready for review July 6, 2026 08:40
@getsantry

getsantry Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry Bot added the Stale label Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants