frontend-monorepo icon indicating copy to clipboard operation
frontend-monorepo copied to clipboard

Improve qUSD treatment across a few screens

Open JonRay15 opened this issue 1 year ago • 0 comments

The Chore

We are missing a tooltip on the referrals page to explain qUSD properly, and we also dont consistently use it on the fees page so we just have a bunch of figures with no units, which is not ideal.

This ticket will include a bunch of tasks to streamline the use of qUSD across the app.

Tasks

  • [x] Identify where we are using qUSD
  • [ ] Referrer stats page
    • [ ] In the base commission rate tile when it gives the set volume we should have qUSD and the same tooltip as on the rewards page - "qUSD provides an approximate USD value of balances across all assets using the 'quantum' set for each asset." - note this is a slight change in wording so pleaase make that change
    • [ ] My volume tile should also have qUSD and the tooltip, same format / layout as the commission tile
    • [ ] The referees table in the volume column should say "Volume in qUSD (last 3 epochs)" with the normal tooltip (same as the commission column
    • [ ] In the current program details the colume should be "Min trading volume in qUSD (last 3 epochs" with the usual tooltip
  • [ ] Referee stats page
    • [ ] "Combined running notional over the 3 epochs" change to "Combined running volume (last 3 epochs)" to align to other labels
    • [ ] In that tile after the figure we should be showing qUSD with an info icon and usual tooltip same format as we do for commission / my volume tiles from the referrer page
    • [ ] Volume to next tier again add the qUSD and the tooltip same format again as the others
    • [ ] Current program details I assume inherits the same changes defined above
  • [ ] Fees page
    • [ ] My current volume: Replace "Past 7 epochs" with "Volume in qUSD over last 7 epochs" with usual tooltip
    • [ ] Referral benefits: Replace with "Combined running volume in qUSD (last 3 epochs)"
    • [ ] Volume discount table:
      • [ ] Min. trading volume >> "Min. trading volume in qUSD (last 7 epochs)" with normai tooltip
      • [ ] My volume (last 7 epochs) >> "My volume in qUSD (last 7 epochs)" with normal tooltip
    • [ ] Referral discount
      • [ ] Min trading volume >> "Min. trading volume in qUSD (last 3 epochs)" with normal tooltip

Additional details / background info

I am generally trying to follow the Total Commission tile as the template for how to show qUSD in tiles. image

For the tables we need a different approach so I am showing it once in the title rather than repeating it in every line.

Also note that anywhere above that i use "last 3 epochs" or "last 7 epochs" I am expecting that we're using the appropriate query on the window length of the valid program.

JonRay15 avatar Dec 08 '23 10:12 JonRay15