Code Monkey home page Code Monkey logo

d8x-trader-frontend-lite's People

Contributors

b1674927 avatar c40003141 avatar m66260 avatar maxi1123 avatar shivamquan avatar spasibokojima avatar victorovchinnikovd8x avatar viktors-ovcinnikovs-verum avatar zografosg avatar

Watchers

 avatar  avatar

d8x-trader-frontend-lite's Issues

Resolution on small latops

macbook 13 inch:

Image

Options:

  1. apply the mobile order block for smaller laptops
  2. globally shrink everything, "90%" zoom setting ?

Loading of SDK in Liquidity UI

  • Ensure that after switching from Vault --> Trade --> Vault the initialy loaded values from Vault are directly shown. They should be stored in the corresponding Atoms.
  • Check why initial loading of SDK values in Vault is so slow

Fix minor bugs in new UI

  • Mobile & Desktop: On the top row fix the position of the quote currency, it jumps around when the price becomes single-digit. Also there might be a way to fix the digits.

  • Mobile & Desktop: Rename connect wallet to connect to "connect"

  • Mobile: Make sure the bg cant be moved so that the grey border appears to the right or left.

  • Mobile: The bg should be turned 180 degrees like in figma, so that blue is everywhere, right now the bottom part is just grey

  • Mobile: Add separator between Perpetual selector and start of price row like in figma

  • Mobile: make collateral/perpetual selector in white boxes like in figma

  • Mobile: check paddings, padding of white price boxes in mobile is for example not correct (should be padding: 12px 16px; but is 20px 24px). Check all other paddings please

  • Mobile: check gap, gap between elements in figma is 16px, should also be the same here

  • Mobile [Optional]: Should we put the buttons for stopp loss etc on two rows like in figma? I'm not sure, on my mobile the buttons on one row are just large enough to click.

Referred trading volume (as agency ?)

  • Total referral volume seems to not work for an agency addr, quantityCC is not 0, but the FE displays 0. I tested this with an agency address where the address is the agency and the referrer at the same time

Image

Image

Referral view - cosmetics

  • Round values under your referral and your discounts using the same logic as elsewhere in the FE (check: mapCurrencyToFractionDigits)

Refactor input components in referral view

Input components in referral view should be aligned with input design in other components.

For this, ResponsiveInput shall probably be used which also aligns the mobile view to show proper + / - action buttons.

Enhance "Your stats" block for Vault view

  • Add Info icons to all items in the "Your stats" block for Vault view. (VICTOR you can start with dummy text for now)

The info text needs to address points including:

  • Do I still earn yield on my assets while they are in the process of withdrawal?
  • What happens if my withdrawal is ready but I haven't withdrawn just yet? Do they still earn yield while they wait to be withdrawn?
  • Does my withdrawal request expire after some time and money goes back into my deposit, or does it sit there ready to be withdrawn no matter how long I let it sit there? (weeks, months, years??)

cancel order and add/remove collateral tx fail

Tx fails for cancel orders:

cancelOrder tx hash: 0x6bd2b9d55b6b216100c9e00921efc1b568448954164457dfeadee69afcc19424
https://mumbai.polygonscan.com/tx/0x6bd2b9d55b6b216100c9e00921efc1b568448954164457dfeadee69afcc19424

cancelOrder tx hash: 0xdc5ccc44cd1e47679bcca387b9fa3cd5abc325316de87291cc99670fed7de8fe
https://mumbai.polygonscan.com/tx/0xdc5ccc44cd1e47679bcca387b9fa3cd5abc325316de87291cc99670fed7de8fe

add collateral:
0x619e271068787eeedcf4055f09badb5639542c24b00901c51a9259088b623061

remove collateral:
https://mumbai.polygonscan.com/tx/0xc59c7b97bcadfc581a16fcb1c75f714170dd9e01b3ece17f438d40a0af5bd439

Error message "Fail with error 'invalid updt'"

Update PerpetualStats.tx

  • formatToCurrency needs to be updated. Currency cannot be hardcoded, this must be quote currency (it's not always USD), we can have ETH/BTC collateralized in MATIC

  • the position of currency should be stable for a given number of digits: if you have XXX.XX USD, the "USD" is always at the same position independently of what number X is. if the number changes to XXXX.XX USD, "USD" moves once.

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.