Dan Finlay
86d367957f
Move responsive ui into its own folder for easier merges
7 years ago
Dan Finlay
5eb3d5d485
Make folder for responsive UI
8 years ago
frankiebee
653319be10
move address check to util.isValidAddress
8 years ago
Frankie
7d9e295b75
Change regex in isHex function
8 years ago
Frankie
d79424e9c0
clean up the isHex function
8 years ago
Frankie
aa4746f4c7
Add test and ability for isHex to handle hex strings with hex-prefix
8 years ago
Frankie
5fb1e492fb
Add valdations to txData param
8 years ago
Frankie
edfb0eb968
Fix issue where if given a balance that does not need to be parsed will not be parsed
8 years ago
Kevin Serrano
683651e75d
Lint and changelog.
8 years ago
Kevin Serrano
4cebf12bb5
Fix rounding issues.
8 years ago
Kevin Serrano
7d1b2db87e
linting and ignoring.
8 years ago
Kevin Serrano
fd37f5db65
Add fix for zero balance shorten.
8 years ago
Kevin Serrano
96cd087c97
Readd string to conform to tests. Will discuss later.
8 years ago
Kevin Serrano
2fc2731479
Remove unused None string.
8 years ago
Aust
c1859a24ee
Add eslint config to pass tests
8 years ago
Aust
061633bf67
Make zero balance display 0. Fixes #449
8 years ago
Frankie
dbc9008295
Fix eth balance tooltip to show 6 decimals ( #440 )
...
* Fix tooltip to show to the 6 decimal place on balances ovr 0...
* Change font size for balance component in tx-list so it fits the notation
* Add to change log
* Linting
* change log
8 years ago
Kevin Serrano
d7e6b752a3
Integrate changes back into eth-balance
9 years ago
Kevin Serrano
6a61591dad
Move shorten balance to util. Add as property of generateBalance object output.
9 years ago
Kevin Serrano
37f21cf18f
Remove unused functions. Readd if necessary.
9 years ago
Frankie
cd8ae4b5ff
Change function name to generateBalanceObject
9 years ago
Frankie
0a6560bd5d
Add method to deal with small decimals and create the object for eth-balance component
9 years ago
Frankie
2cc44df584
Revert back to original formatBalance
9 years ago
Dan Finlay
7481f7c3df
Fleshed out pending tx view
9 years ago
Frankie
8834548b01
Handle to small of balances with "<0.00001"
9 years ago
Dan Finlay
7058dc4ee3
Began reworking tx conf view
9 years ago
Frankie
9d577ea023
Add decimal hendeling to ETH balance
9 years ago
Dan Finlay
2c89cd722e
Simplify empty account balance rendering
9 years ago
Frankie
42cd0b69e7
Implemt new account layout
9 years ago
Frankie
5252504e3f
WIP: Working on new layout
9 years ago
Dan Finlay
8fde8a8921
Manually linted
9 years ago
Dan Finlay
a08c3bc01b
Auto linted
9 years ago
Zac Mitton
bd6ee81d09
tweek
9 years ago
Zac Mitton
9132f08507
added a failing case and fixed it by refactoring everything to strings
9 years ago
Dan Finlay
272bea31b5
Fix hashed address validation
9 years ago
Zac Mitton
2ce9f1a776
correctly displaying small balances with tests
9 years ago
Dan Finlay
47540ad0b3
Allow empty recipient fields on tx
9 years ago
Dan Finlay
60270de53d
Add full precision to send tx value field.
9 years ago
Dan Finlay
22a77b8041
Increase send value precision
9 years ago
Dan Finlay
c8deb355f7
Add address capitalization checksumming
9 years ago
kumavis
6ae0a90d7b
ui - redesign - ether amount component
9 years ago
Dan Finlay
7276e80816
Removed logs
9 years ago
Dan Finlay
d6ab6bb4fa
Fix floating point input bug
...
When sending a transaction, we were converting to BN before handling decimals, which meant we were losing any precision past a decimal point, since BN does not handle decimals!
Put this numeric normalization into a utility function with a test around it and got it working.
9 years ago
Dan Finlay
33dc68535d
Add leading zero to account balances
9 years ago
kumavis
cef1f2a65f
ui - util - fixes#110 formatBalance
9 years ago
Dan Finlay
8527d051b0
Fix eth resolution
...
utils.formatBalance was returning rounded ether, was not useful for displaying account balances.
Now returns four decimal points, and is easily configurable for more, with passing tests.
Spoiler alert: Don't you dare divide bignumber wei. Bignumber does not have decimals. Keep it as wei, format it as ether.
9 years ago
Dan Finlay
d814a45dff
Moved UI into repo with its own dependency stack
9 years ago