Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Fix rate exchange bug #984

Merged
merged 19 commits into from
May 9, 2019
Merged

Fix rate exchange bug #984

merged 19 commits into from
May 9, 2019

Conversation

jarindr
Copy link
Contributor

@jarindr jarindr commented May 3, 2019

Issue/Task Number: #980

Overview

When creating rate, the amount is not passed correctly because it divided a string x,xxx / y,yyy.

Changes

  • Fix rate dividing.
  • Fix height and unused css for top navigation.
  • Fix edit rate returning [Object]

Impact

Deploy as usual

@jarindr jarindr changed the base branch from master to v1.2 May 3, 2019 13:37
@jarindr jarindr self-assigned this May 3, 2019
@jarindr jarindr added this to the v1.2 milestone May 3, 2019
Copy link
Contributor

@nicholasmueller nicholasmueller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 while ur at it, we should also handle the edge case of really big inputs. like if someone tries to add 999,999,999 ETH for 1 OMG for example we're showing 'infinity' and will show 1 ETH = [object Object] OMG on the other side. maybe we set a max possible value on the input?

@nicholasmueller nicholasmueller self-requested a review May 7, 2019 04:08
Copy link
Contributor

@nicholasmueller nicholasmueller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@jarindr jarindr modified the milestones: v1.2, v2.0 May 7, 2019
Copy link
Contributor

@nicholasmueller nicholasmueller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if intended but weird numbers appear when typing long numbers, before eventually becoming NaN.

@jarindr
Copy link
Contributor Author

jarindr commented May 9, 2019

@nicholasmueller fixed both problem

@jarindr jarindr merged commit 7214fd0 into v1.2 May 9, 2019
@jarindr jarindr deleted the 983-rate-exchange-token branch May 9, 2019 09:55
@jarindr jarindr restored the 983-rate-exchange-token branch May 9, 2019 10:00
jarindr added a commit that referenced this pull request May 13, 2019
* Minor bug fix (#970)

* fix missing admin

* no wrap row for fromto

* remove divider

* add color link

* fix test

* Update admin email (#966)

* call right endpoint

* split email avatar actions, seperate reducer for alert

* verify email call on redirect

* verifyemail action tests

* remove log, new redirect url

* QC 1.2 (#976)

* standardize buttons

* section titles

* allow disable hover effect and fix admin key table

* breadcruymb and refine input

* modal tweaks, end page 4 of review

* dropdown tweaks

* consistency for buttons

* reorder table, add suffix to config and remove native spinner

* ability to cancel changes in config pages and restore original state

* highlight selected row when activity tab open

* transaction request page clean

* cancel edit profile and clean

* render create exchange pair if many tokens

* breadcrumb to userdetail

* unify none state to - in tables

* handle disabled state on select

* css tweaks and new export layout

* seperate time out

* new exported range table

* tweaks and conditional breadcrumb

* remove divider

* account name bug

* rounding

* a not so configurable css tooltip

* cleaner conditional

* remove selectedrow state

* tweak select disabled

* fix edit account

* Handles incorrect non-list inputs for filters (#978)

* Fix exception raised when the given `start_by` field is not allowed (#986)

* Fix exception when the given pagination field is not allowed

* Fix exception when non-existing field name is provided

* Fix rate exchange bug (#984)

* fix rate bug

* fix topbar height bug

* remove more flex

* add max length for input

* fix icon

* fix width

* add max amount for input

* add props for input

* remove prefix

* remove log

* fix object

* bring back animation

* finally fix decimal problem

* fix formatter

* !!!!

* fix test

* to number of rate

* change length

* fix audit package

* rename admin panel to frontend (#997)

* rename to frontend

* test rename

* fix flex bug (#1003)

* fix conflict
@T-Dnzt T-Dnzt deleted the 983-rate-exchange-token branch May 16, 2019 04:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants