oasisprotocol / explorer

Official explorer for the Oasis Network.
https://explorer.oasis.io
Apache License 2.0
9 stars 9 forks source link

Show precise balance in chart tooltip #1600

Closed buberdds closed 3 weeks ago

buberdds commented 1 month ago

Closes https://github.com/oasisprotocol/explorer/issues/1520

recharts expects value to be a number and that's a place where we loose precision. Introduce additional, optional data prop that can be extracted in formatters

acc https://pr-1600.oasis-explorer.pages.dev/mainnet/consensus/address/oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p https://explorer.dev.oasis.io/mainnet/consensus/address/oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p

validator https://pr-1600.oasis-explorer.pages.dev/mainnet/consensus/validators/oasis1qq3xrq0urs8qcffhvmhfhz4p0mu7ewc8rscnlwxe https://explorer.dev.oasis.io/mainnet/consensus/validators/oasis1qq3xrq0urs8qcffhvmhfhz4p0mu7ewc8rscnlwxe

github-actions[bot] commented 1 month ago

Deployed to Cloudflare Pages

Latest commit: 632e51a4e1e71d65a72125b2126bcd61d091179d
Status:✅ Deploy successful!
Preview URL: https://be8f69ce.oasis-explorer.pages.dev
Alias: https://pr-1600.oasis-explorer.pages.dev