Skip to content

feat(ui): format chart values with abbreviations#67587

Merged
obostjancic merged 10 commits into
masterfrom
ogi/feat/metrics-format-counts
Apr 2, 2024
Merged

feat(ui): format chart values with abbreviations#67587
obostjancic merged 10 commits into
masterfrom
ogi/feat/metrics-format-counts

Conversation

@obostjancic

@obostjancic obostjancic commented Mar 25, 2024

Copy link
Copy Markdown
Member
  • closes: Format counts #67585
  • Refactors formatAbbreviatedNumber for readability and adds test cases
  • Adds formatAbbreviatedNumberWithDynamicPrecision

Before:
image

After:
image

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 25, 2024
@obostjancic obostjancic marked this pull request as ready for review March 28, 2024 10:47
@obostjancic obostjancic requested a review from a team as a code owner March 28, 2024 10:47
Comment thread static/app/utils/formatters.tsx Outdated
Comment thread static/app/utils/formatters.tsx Outdated
Comment thread static/app/utils/formatters.tsx Outdated
Comment thread static/app/utils/formatters.tsx Outdated
Comment thread static/app/utils/formatters.tsx
Comment thread static/app/utils/formatters.tsx
Comment thread static/app/utils/formatters.tsx Outdated
Comment thread static/app/utils/formatters.tsx Outdated
Comment thread static/app/utils/metrics/formatters.tsx Outdated
@obostjancic

Copy link
Copy Markdown
Member Author

@ArthurKnaus I think i addressed all of the comments now :D

@obostjancic obostjancic merged commit 3bbfd96 into master Apr 2, 2024
@obostjancic obostjancic deleted the ogi/feat/metrics-format-counts branch April 2, 2024 12:41
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Format counts

2 participants