HomePhabricator

[Cashtab] Show token qty and cumulative qty in any given agora offer in a…

Description

[Cashtab] Show token qty and cumulative qty in any given agora offer in a tooltip

Summary:
Part of incremental effort to get agora UX on par with binance UX

Both Binance and Coinex show the amount of token for sale at each limit order price. They also show the cumulative amount as you proceed further up the depth chart.

I think it is too much info to show these quantities all the time in Cashtab, esp as token quantities can be quite large. But would be nice to show with a tooltip.

Expanding on D17449 which I forgot about

Test Plan:
npm test for CI, screenshot to confirm we see displayed amount. The calculation of the amount itself is already tested elsewhere.

image.png (389×1 px, 54 KB)

...for some reason the opacity goes down when I take a screenshot, but it is not like this in normal use, can verify at test site

deployed to test site at https://cashtab-local-dev.netlify.app/

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Subscribers: emack, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D17540

Details

Provenance
bytesofmanAuthored on Wed, Jan 15, 19:09
bytesofmanPushed on Thu, Jan 16, 05:55
Reviewer
Restricted Project
Differential Revision
D17540: [Cashtab] Show token qty and cumulative qty in any given agora offer in a tooltip
Parents
rABC18aa9533dcc9: [test] Fix intermittent timeouts in various functional tests
Branches
Unknown
Tags
Unknown