snowbankdao / snowbank-frontend Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Is your feature request related to a problem? Please describe.
A lot of noobies point to the fact that RFV is decreasing because of the $SB supply being diluted, and it's a slight inconvenience for more experienced Snowies to explain that SB is being distributed to stakers at an equal rate to the dilution of the supply.
If you account for the distribution to stakers by multiplying the RFV by Current Index, then it can more accurately show the true growth of an investor's staked Snowbank ($sSB)
Describe the solution you'd like. Include clear acceptance criteria.
Given, I am in the dashboard, When I want to check the growth in value of $SB token, Then I should be able to see both the RFV per $SB as well as the statistic mentioned above.
Is any UX Design input needed?
Not really, you can just simply add another thing to track on the dashboard, using the same style.
Describe alternatives you've considered
Manually multiplying the already-shown RFV by current index, but this is not user-friendly and makes it hard to grasp for noobies.
Tech Notes/Testing Notes
The addition of this new element is very simple and can be done within a few minutes by someone familiar to Snowbank's structure, such as one of the core devs.
Out of scope
This feature does not replace RFV but should rather be an accessory to it to allow new investors to comprehend the value growth by just buying and staking.
Additional context
N/A
Describe the bug
When you go into Snowglobe section, the right sidebar appears and disappears in an infinite loop.
To Reproduce
Go into Snowglobe section
Expected behavior
The sidebar should appear if need it and if not should be hidden.
Screenshots
https://streamable.com/fx3xvw
Desktop (please complete the following information):
Additional context
Keep the awesome work guys, let me know if I can help solve this small bug!
Describe the bug
After staking any amount of SB, the Wrapped Staked Snowbank balance displayed on the UI, as well as all the items derived from it (value of balances, etc.), become far too large. This disappears after a refresh.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The balance of wsSB should remain the same while the sSB is being added.
Workarounds (if any)
Refresh the page.
Screenshots
No screenshots here, to prevent my personal wallet being found.
Desktop (please complete the following information):
Additional context
This happens in my dev copy of the dashboard running on my local machine, and the dashboard.
As far as I tested, this only happens to users with a balance of wsSB tokens.
I believe it may be some error with unit conversion, as it only happens to wsSB, which has a different amount of decimals to sSB and SB.
Describe the bug
The RFV shown on the dashboard is -$0.00.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The actual RFV should be displayed.
Workarounds (if any)
Use a preview URL for a PR before #27.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Irrelevant, it affects all users
Smartphone (please complete the following information):
Irrelevant, it affects all users
Additional context
Educated guess as I'm not on my computer, but I believe it may be caused by the new MIM-AVAX turbine being added without updating the RFV calculation logic
Could you please provide how to deploy.js
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.