fix: use subscript for price notation#24441
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsThe changes are limited to UI formatting utilities for the Trending tokens feature:
Key observations:
Since there are no E2E tests for these features and the changes are isolated UI formatting improvements with full unit test coverage, no E2E test tags need to be run. |
|
|
Missing release label release-7.62.0 on PR. Adding release label release-7.62.0 on PR and removing other release labels(release-7.63.0), as PR was cherry-picked in branch 7.62.0. |



Description
This PR improves the price formatting in the Trending Tokens feature by introducing subscript notation for very small token prices (e.g., 0.00000614 → $0.0₆14).
Changes include:
Changelog
CHANGELOG entry: Improved price display for trending tokens with subscript notation for very small values (e.g., $0.0₆14)
Related issues
Fixes: #24327
Fixes: #24326
Manual testing steps
Screenshots/Recordings
Before
After
Screen.Recording.2026-01-15.at.16.26.55.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Improves readability of tiny token prices and zero-value stats in Trending Tokens.
formatPriceWithSubscriptNotationinPredict/utils/format.ts(withtoSubscript) to render very small prices using subscript (e.g.,$0.0₅614), returns—for zero, otherwise 2–4 decimalsTrendingTokenRowItem.tsxto use the new formatter and display—instead of percentage change when price is zeroformatMarketStatsinTrendingTokenRowItem/utils.tsto show-for zeromarketCap/volumeWritten by Cursor Bugbot for commit 9aa0b5d. This will update automatically on new commits. Configure here.