pickle-finance / pickle-ui

UI to interact with the PICKLE protocol
https://app.pickle.finance
51 stars 51 forks source link

v2: APR/TVL display improvements #503

Closed larrythecucumber321 closed 2 years ago

larrythecucumber321 commented 2 years ago

Closes #501 and closes #437

Max jar APY on dashboard limited to 10,000%

New and low balance jar liquidity displays according to @janklimo's comments:

Upon new Jar launch for up to 1 month: Display TVL as "NEW"
If TVL passes $10k during the first month: Display TVL as the actual number
If 1 month passes and TVL below $1k: Display TVL as "<$1k"
For all Jars with over $1k TVL more than 1 month after launch: Display TVL as as the actual number
For all Jars with under $1k TVL: Display TVL as "<$1k"
image

Bonus: clicking the dashboard callout card now sets the filters for that jar to show image

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
pickle-ui ✅ Ready (Inspect) Visit Preview May 25, 2022 at 7:52PM (UTC)
janklimo commented 2 years ago

@larrythecucumber321 an alternative to your bonus addition would be just sorting jars by APY. I think it would be pretty intuitive - you click on a card promoting the highest APY and you're shown results sorted by APY. The added benefit of that is that you'll see all the remaining investment options with attractive APY.

larrythecucumber321 commented 2 years ago

Thanks for the input @janklimo! Agree with all your points and have implemented them. Apologies for the messy recent commits, I forgot to rebase =(

image