Description (what needs to be done) / Expected Behavior
On the single proposal view, the frontend should know the decimal value of token and divide the tokens value from the backend with that number
Eg -
100000000000 - Value
Decimal - 6
Display on Frontend - 100000000000/10 ** 6 = 100000
On the proposals summary page for each community, the display for # of tokens voting for each option should calculate as above, and abbreviate the display as follows:
K as a symbol for 1000, and M as a symbol for 1,000,000 (one million)
Eg -If there were 10,207,430 tokens voting yes, that would display as 10.2M. If 1200, display 1.2K. If 1022, display 1K.
Acceptance Criteria
The individual proposal page shows the above notation format, and the proposals summary page shows the above abbreviation format.
Supporting information (Figma link, notes, etc)
When finished, please add Link to the PR or completed Figma / design asset, as a comment to the ticket.
Description (what needs to be done) / Expected Behavior
On the single proposal view, the frontend should know the decimal value of token and divide the tokens value from the backend with that number
Eg -
100000000000 - Value Decimal - 6 Display on Frontend - 100000000000/10 ** 6 = 100000
On the proposals summary page for each community, the display for # of tokens voting for each option should calculate as above, and abbreviate the display as follows:
K as a symbol for 1000, and M as a symbol for 1,000,000 (one million) Eg -If there were 10,207,430 tokens voting yes, that would display as 10.2M. If 1200, display 1.2K. If 1022, display 1K.
Acceptance Criteria The individual proposal page shows the above notation format, and the proposals summary page shows the above abbreviation format.
Supporting information (Figma link, notes, etc)
When finished, please add Link to the PR or completed Figma / design asset, as a comment to the ticket.