Skip to content

Conversation

@dashed
Copy link
Member

@dashed dashed commented Nov 25, 2025

Closes https://linear.app/getsentry/issue/BIL-1812/stack-2-migrate-chart-functions-to-use-formatting-config
Continues from #104023

  • Update mapReservedToChart to use formatting.reservedMultiplier instead of isByteCategory() check with GIGABYTE constant
  • Update formatProjected to use formatting.projectedAbbreviated instead of hardcoded category !== DataCategory.ATTACHMENTS check
  • Export mapReservedToChart and add unit tests for multiplier logic

…atting

- Update mapReservedToChart to use formatting.reservedMultiplier
  instead of isByteCategory() check with GIGABYTE constant
- Update formatProjected to use formatting.projectedAbbreviated
  instead of hardcoded DataCategory.ATTACHMENTS check
- Export mapReservedToChart and add unit tests for multiplier logic

Part of BIL-952: Move formatting functions to DATA_CATEGORY_INFO
@dashed dashed self-assigned this Nov 25, 2025
@dashed dashed requested a review from a team as a code owner November 25, 2025 22:14
@linear
Copy link

linear bot commented Nov 25, 2025

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 25, 2025
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