Skip to content

fix(dashboards): format negative bytes in metrics charts - #122476

Merged
lzhao-sentry merged 3 commits into
masterfrom
lzhao/fix/format-negative-values-metrics-chart
Aug 24, 2026
Merged

fix(dashboards): format negative bytes in metrics charts#122476
lzhao-sentry merged 3 commits into
masterfrom
lzhao/fix/format-negative-values-metrics-chart

Conversation

@lzhao-sentry

@lzhao-sentry lzhao-sentry commented Aug 24, 2026

Copy link
Copy Markdown
Member

Description

This change is to address DAIN-1824

Instead of updating the many places the formatter is used, update the formatters themselves to handle negative bytes. Also added some unit tests for the formatters

Before Change

Screenshot 2026-08-24 at 12 17 30 PM

After Change

Screenshot 2026-08-24 at 12 17 14 PM

@lzhao-sentry
lzhao-sentry requested review from a team as code owners August 24, 2026 16:21
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 24, 2026

@nsdeschenes nsdeschenes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Though, wondering if it would be worth it to handle this in the underlying formatter, rather than applying it around it 🤔

@lzhao-sentry
lzhao-sentry requested a review from a team as a code owner August 24, 2026 17:12
@lzhao-sentry lzhao-sentry changed the title dashboards(fix): format negative bytes in metrics charts fix(dashboards): format negative bytes in metrics charts Aug 24, 2026
@lzhao-sentry
lzhao-sentry merged commit 4ab64dd into master Aug 24, 2026
94 of 96 checks passed
@lzhao-sentry
lzhao-sentry deleted the lzhao/fix/format-negative-values-metrics-chart branch August 24, 2026 17:48
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants