Giter Site home page Giter Site logo

app-v2's People

Contributors

beowulf518 avatar best-coder-na avatar bigwampa avatar brendanww avatar frostbournesb avatar greatdolphinls avatar invokermaster avatar jomarip avatar jonasslv avatar joshualelon avatar mohsenparvar avatar ncookiez avatar oxluis avatar prodvdjin avatar saito-sv avatar sanjeev1308 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

app-v2's Issues

Enable Dark Mode

Currently some of our users are requesting dark mode on our website, we had one but disabled before the launch because it was not working correctly, the idea is to reenable it and make any changes needed for this to work.

[IMPROVEMENT] Add staking/unstaking QoL features

Add quality of life features to staking and unstaking into vaults, which will save a lot of users a lot of time:

  1. Allow for partial withdrawals of vaults. This is useful for anyone trying to DCA their position out gradually
  2. Allow for adding extra LP to vaults you are already in. This is useful for anyone trying to increase their position -- this is done now

When a wallet's pairs are retrieved, entered filters are invisibly reset

Tested on main and last dev build
On the compound and earn screen, the pairs can sometimes take quite a while to load.
It is possible to set filters on the list of pairs, before the wallets deposited pairs are retrieved causes them to be selected but not applied:

image

Steps to recreate:

  1. Navigate to compound & earn tab
  2. Type into pairs search filter (e.g. WBTC)
  3. <>
    => List is sorted with wallet pairs at top (i.e. the LPs that the user has entered), and any selected filters are not applied.

Either we should be clearing any set filters upon wallet pairs retrieved
-or-
We should be reapplying filters after pairs are retrieved

Distribution Phase is Outdated

Please drop the distribution phase portion on the website. It is outdated and doesn't match the current emissions model.

PopupInfo details

imagen

We need to separate props for the PopupInfo.
Now we need title + message in a string, but we need separate in:

Title: Claim Error
Title of Message: Error Claiming from Gauge
Message: Metamask Tx Signature: User denied transaction Signature

Adittional data:
Link (If transaction success) : Check on C-Chain Explorer

Route read-only calls to Snowball private node

Snowball deployed a load balancer with private RPC Nodes connected to Avalanche Blockchain, we should use this nodes for the readonly calls so we can avoid the problems of using a public RPC like high traffic.

[Improvement] Wallet Amounts not polled

Wallet balances are either not being polled or maybe it is just very slow.
When a user clicks deposit
image

The available number there will be out of date unless a manual refresh is done. Likewise any available LP in wallet won't be able to be staked if it was received after the page has been loaded.

It would be quite handy, and less disruptive to the servers, if we didn't have to manually force a refresh quite so often. User refreshing the entire website just to get their updated balances is probably causing a lot more web traffic (and associated fees) than is otherwise needed

Total Earned LP

The idea is to track the LP value the user deposited in the pool and show the difference with the compounding effect, this involves Backend, I tried to do it using Covalent queries, it worked for recent positions, but older positions the logic was not applied, which make me think Covalent has some kind of a hole on their old Avalanche data.

This is a feature that we will only be able to do when we rework our API so we can get this kind of stuff by querying directly the blockchain blocks instead of relying in another API.

[MINOR] Font too large on claim modal dialog

Tested on Firefox with 100% scaling and default settings (not a 4k monitor or any HiDPI settings on).
image
image

As you can see it looks a bit out of place the body text on this message. When a global receipt is received it is cliped and off screen.

Retrying failed deposit race-condition

It is difficult to reproduce, but i've had it happen a few times that after one of the two deposit operations have failed, for any reason, subsequent attempts fail with a JSON rpc error:

message: "Error: VM Exception while processing transaction: reverted with reason string 'ERC20: transfer amount exceeds allowance'" .

[IMPROVEMENT] Add new QoL Claim features

Add some new quality of life changes to make claiming easier:

  1. Having a claim all button, would save a lot of time
  2. Having a claim button on collapsed vaults is helpful when trying to figure out which pool you left has residual SNOB inside
  3. Automatically claiming when leaving a vault likewise will save time

Rejecting approval via MetaMask does not NACK operation on website

Clicking reject on the approve transaction screen in metamask is not reflected on the webapp.
image

The processing operation toast notification at the bottom and the deposit modal dialog both show in progress despite reject has been triggered by the plugin:
image

Note: This functionality is working as expected when doing deposit steps.

Performance Fixes > single staking context

We want to have just one context for the staking page to maintain our pattern, also we can cut a lot of contract calls from the staking context, that are being loaded on the page opening.
Instead we should use this specific contract calls only when they're needed.

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.