Giter VIP home page Giter VIP logo

0x-launch-kit-frontend's People

Contributors

adekbadek avatar agupane avatar albrow avatar bmillman19 avatar dekz avatar eharris128 avatar fragosti avatar fvictorio avatar gabitoesmiapodo avatar mariano-aguero avatar pablofullana avatar tomhschmidt avatar unjapones avatar xianny avatar zabirauf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

0x-launch-kit-frontend's Issues

Use a BigNumberInput for the price field

We are using a type="number" input, which can cause precision errors. Let's change it for a BigNumberInput. Also, if there are places where the price is represented as a number, they should be changed to BigNumber.

Add addblock fallback

If a user has addblock / addblock plus installed on the browser, when the app tries to get the eth USD value, the following error is displayed:
image

This should be solved or at least detect the plugin and display a message

Set selected token

As a user, I should be able to switch the selected token. The corresponding dropdown in the main top-toolbar should list all the available tokens as listed in "My Wallet".
The tokens' information to be displayed covers basic data:

  • icon
  • symbol

Also, this should update the corresponding symbol on the buy/sell forms accordingly.

Image 2019-02-20 at 3.19.39 PM.png

NOTE, this issue does not cover:

  • Show updated data (colums "Price", 24 "Change", etc) of the tokens listed in the dropdown.
  • Show updated data of the selected token in the main top-toolbar.

Investigate if tests can be run faster

Tests are taking ~30 seconds to start (at least on my not-that-fast laptop). Maybe there's something that can be done to speed them up? At the very least, compilation should be incremental when using jest in watch mode.

Cancel Orders

As a logged in user, I should be able to cancel an order of mine.

Orderbook sizes show more decimals

On the orderbook, the trade size amount shows only two decimals, the rest are zero paddings, even when the real value is not that, for example:

size value: 5.015, UI displays: 5.010

Buy/Sell (market)

As a logged in user, I should be place a market order (buy/sell).

  • Buy market
  • Sell market

Keep track of ETH/USD price in store

Depends on #58

The USD price of ETH should be saved in the store and updated regularly. Components that use it should just get it from the store.

This means that this value will be nullable, since there's a time window —between the start of the app and the moment the price is obtained— in which the price is unknown. Also, the API could be down. So any component that depends on this should handle the case in which the value is not known.

Originally posted by @Agupane in https://github.com/_render_node/MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI2MDc1OTc2Ng==/comments/review_comment

Orderbook is not subtracting filled values

The total size for a price in the order book should not take into account the filled values.

For example, an order of size 100 with 30 filled, should add 70 to the total size for its price.

The same probably applies too to the "My size" column.

Automatic UI Update Improvement

Check if is necesary to use polling in order to receive the user account changed / networks events on wallets like nifty wallet. The current implementation uses events and it's supported on metamask but not tested on nitfy wallet.

Based on the comment: #84 (comment)

Test against real relayer

Let's start with testing manually launch-kit frontend using an existing already-deployed launch-kit backend.

Orderbook details

  • Parent of #42 (Orderbook is not subtracting filled values)
  • Parent of #59 (Add 'My Size' column to Orderbook)
  • Parent of #60 (Pad sizes with 0)

More items to be added

Track 'online' notifications

As a logged in user, I'd like to be notified every time an order but/sell order is executed/updated.

Update: This version covers only those events that occur while user is 'online'. #106 deals with 'offline' events.

Add base modal flow mechanism

Add base modal to implement user interaction flows (e.g: "Create order with no WETH and no unlocked ZRX", "Create order with no ZRX", etc).

Assume the first flow is going to be simple: "Sign Order + submit to the relayer backend" (assume WETH and ZRX are unlocked + enough balance).

Buy/sell (limit)

As a logged in user, I should be place a limit order (buy/sell).

  • Buy limit
  • Sell limit

Realtime updates v1

As a user, I'd like to see prices, sizes, statuses updated in realtime, so I don't have to manually refresh the page.

This first iteration of this feature aims to implement this real time updates via polling.

Open for discussion

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.