Code Monkey home page Code Monkey logo

bao-ui's People

Contributors

clabby avatar jondwillis avatar rocky-baoboa avatar thebaoman avatar vitalsine85 avatar zfogg avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bao-ui's Issues

Fix max button on repay modal

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 doesn't show 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 farming dashboard

  • General QoL/UX improvements to farming dashboard/stats that appear at the top of the farming page.

Give users ability to not supply assets as collateral

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

Enhance farm page

  • Add the ability to sort farms.
  • Move staked farms to the top of the page/add a checkbox to only show staked farms.

Build analytics dashboard

  • Build an analytics dashboard for the app landing.
  • Should contain analytics for markets & general protocol analytics.
  • Should utilize VisX for charts (this is what we already use for nest/basket charts).
  • For example take a look at some Compound dashboards. Inverse Finance also has some great examples under their transparency section.

Cold-start/Locked Metamask Connect often fails

Steps to reproduce:

  1. Cold-start open Braze
  2. Metamask is locked and/or unconnected
  3. Press "Connect Wallet to Enter App" button, and "Connect" on the wallet select popup
  4. Metamask Is usually not opened and the UI is left in a "Connecting" state

image

There are related and intermittent issues when Metamask is in the following states:

  • Connect to another network (such as Polygon)
  • Has queued unlock/connect requests (can be reproduced by attempting to connect and then refreshing the page before completing)

Liquidation risk isn't dynamic

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.