Uh oh!
There was an error while loading. Please reload this page.
fix: show integers for values below 1k in trends chart tooltip - #2550
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
📝 WalkthroughWalkthroughRounded tooltip raw values with Changes
Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Uh oh!
There was an error while loading. Please reload this page.
Follow up to #2519
This fixes an edge case for the big charts (downloads modal, compare page) where values displayed in the tooltip have decimals applied when data correction is enabled and the value in the tooltip is < 1k.
Just rounding the number before it is served to the formatter.