baofinance / bao-ui Goto Github PK
View Code? Open in Web Editor NEWFrontend for the Bao Finance app
Home Page: https://app.baofinance.io
Frontend for the Bao Finance app
Home Page: https://app.baofinance.io
change link to https://medium.com/baomunity
Fix decimal issue with USDC when withdrawing from market. It loads more than 6 decimals.
Borrow limit % not updating on modal when the limit is starting at 0%
Max button in repay modal should consider both the borrowed amount and wallet balance. If the wallet contains more than borrow balance, the borrow balance should be max. If the wallet balance is less than the borrow balance, it should consider the wallet balance.
Borrow/Repay Modal does not show wallet balance anywhere. Wallet balance is only shown under Supply Stats in accordion and is not very intuitive. Additionally, the max button refers to a user's borrowed amount, but it does not take into account how much the user actually has in their wallet.
Improve responsive design.
We've modified the bdTokens to give users the option to flag assets as collateral as they mint, however at the moment, the UI always flags the supplied assets as collateral.
To save a bit of gas and allow the user to supply assets w/o flagging them as collateral, we should make this feature an option within the supply modal.
Relevant transactions in MarketButton.tsx
: https://github.com/baofinance/bao-ui/blob/ropsten/src/views/Markets/components/MarketButton.tsx#L97-L101
mint
function changes
Add skeleton components to the Markets page. i.e. show empty components on the page while the market loads.
Steps to reproduce (on 1a7c941):
AccountButton
may not be an issue, but adding to make sure just incase
setVal to ' ' on modal close.
Liquidity doesn't update on the accordions when supplying, hard refresh is needed.
Checkbox on accordion is manipulatable if your assets are not set as collateral. You're able to tick it on and off with a fresh account.
Steps to reproduce:
There are related and intermittent issues when Metamask is in the following states:
Liquidation risk text should change based on risk level i.e. Low-Medium-High-Critical. Should also change colors based on status i.e. Green-Yellow-Orange-Red
Market stays "active" even when all supplied funds have been withdrawn. i.e. I withdrew my ETH but the market still appears at the top.
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.