Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Earnings Summary View #53

Open
7 tasks
micahalcorn opened this issue Aug 17, 2020 · 3 comments
Open
7 tasks

Earnings Summary View #53

micahalcorn opened this issue Aug 17, 2020 · 3 comments
Labels
dapp Relating to OUSD.com P3 Users are not significantly affected, minor cosmetic issue

Comments

@micahalcorn
Copy link
Member

micahalcorn commented Aug 17, 2020

Show the breakdown of a user's OUSD balance in the main DApp module. The user should be able to navigate to it by clicking an arrow below the buying/selling form. The earnings summary should include a graph of the user's total OUSD balance over time (generally increasing). Hovering over this graph should cause the vertical line to move along the X axis while displaying the balance at any given moment in time.

  • Basic navigation
  • Principal
  • Net earnings
  • Estimated daily earnings
  • Graph
  • Graph hover behavior
  • Information icons with tooltips on click/hover

Design: https://zpl.io/V101PjJ

@micahalcorn micahalcorn added the P2 Small number of users are affected, major cosmetic issue label Aug 17, 2020
@micahalcorn micahalcorn mentioned this issue Aug 17, 2020
4 tasks
@micahalcorn micahalcorn added dapp Relating to OUSD.com P3 Users are not significantly affected, minor cosmetic issue and removed P2 Small number of users are affected, major cosmetic issue labels Sep 26, 2020
@micahalcorn
Copy link
Member Author

Let's just make a graph like this accessible from the account history page. We can start by just adding a little button next to the Export button so that the user can toggle between the itemized history and the graph. Later, we can move it to a dashboard view that every user will land on rather than the itemized history.

@micahalcorn
Copy link
Member Author

@micahalcorn To building chart for account history, I need to get the simply account data(template). so I mean that i don't have any transaction on ousd. Also I checked the transaction history from clicking on Export button. btw I couldn't know the data structure for ousd transaction.

You can override the account by providing a query parameter: https://ousd.com/history?override_account=0x54b55662901af57b31fb6b52af8175b652a5816e

You will still need to have a wallet connected for the history page to be shown. But this lets you see how it behaves if your account doesn't actually have any history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dapp Relating to OUSD.com P3 Users are not significantly affected, minor cosmetic issue
Projects
None yet
Development

No branches or pull requests

2 participants
@micahalcorn and others