fix: format large on-chain leaderboard scores gracefully#2
Conversation
Display real contract data instead of hiding it. Scores up to 1B show with comma formatting, larger values (like uint256.max) use scientific notation (e.g. 1.157e+77). Added break-all for text wrapping. Made-with: Cursor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). 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 |
Summary
1,200)uint256.maxdisplay in scientific notation (e.g.1.157e+77) instead of overflowing the UIbreak-allCSS for text wrapping on the score containerTest plan
Made with Cursor