You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Number formatting inconsistencies exist across different pages, affecting readability and user experience. We need to standardize how we display numerical values throughout the application.
Current Inconsistencies by Page
Dashboard Page
Total Value Locked (TVL): raw numbers without separators
APY: varying decimals (12.5%, 12.50%)
Statistics: inconsistent thousand separators
Restaking Page
Staking Information:
Available Balance: raw decimals (e.g., 1234.5678901)
Description
Number formatting inconsistencies exist across different pages, affecting readability and user experience. We need to standardize how we display numerical values throughout the application.
Current Inconsistencies by Page
Dashboard Page
Restaking Page
1234.5678901
).toFixed(4)
(e.g.,1234.5678
).toFixed(2)
(e.g.,1234.56
)Liquid Staking Page
Nomination Page
Common Number Types to Standardize
Token Amounts
Percentages
Large Numbers
Currency Values (USD)
Proposed Solution
Create a standardized formatting utility with these rules:
Token Amounts:
Percentages:
Large Numbers:
Currency:
Technical Considerations
Example Screenshot
The text was updated successfully, but these errors were encountered: