aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/util.js
Commit message (Collapse)AuthorAgeFilesLines
* Add retry button to TransactionListItemAlexander Tseung2018-08-241-1/+1
|
* Use css grid for TransactionListItem for responsive layoutAlexander Tseung2018-08-241-1/+1
|
* Add exportAsFile optional type argumentWhymarrh Whitby2018-08-141-2/+2
|
* Add fallback options for displaying recipient name in the Confirm screenAlexander Tseung2018-07-211-0/+9
|
* ENS input in send form shows distinct errors for invalid addresses and ↵Dan2018-06-151-0/+5
| | | | non-existent addresses.
* Unit tests for containers, utils and selectors in send_/Dan2018-05-051-1/+1
|
* Show checksummed addresses throughout the UIbitpshr2018-04-181-2/+13
|
* Change double-quotes to single-quotesThomas2018-04-051-1/+1
|
* Add target=_blank exportAsFileThomas2018-04-051-0/+1
|
* Adding one or more tokens sets the selected token before returning the user ↵Dan J Miller2018-01-171-0/+5
| | | | to the main screen. (#2995)
* Merge branch 'NewUI-flat' into NewUI-flat-4.0.5cAlexander Tseung2018-01-041-0/+40
|\
| * Client side error handling for from, to and amount fields in send.jsDan2017-09-231-0/+5
| |
| * Merge branch 'master' into NewUI-flatChi Kei Chan2017-09-191-0/+7
| |\
| * \ Merge branch 'master' into nmChi Kei Chan2017-09-191-0/+16
| |\ \
| * | | Update yarn.lock; Fix tx-list-item overflow; Fix gas exchange rateChi Kei Chan2017-09-141-0/+6
| | | |
| * | | Add token exchange ratesChi Kei Chan2017-09-131-0/+1
| | | |
| * | | Lint fixesDan2017-08-311-6/+5
| | | |
| * | | Use hex values only in send.js to handle limit and price; GasTooltip accepts ↵Dan2017-08-291-4/+2
| | | | | | | | | | | | | | | | and returns values as hex (allows user to enter floats)
| * | | Move getTaxBN and bnMultiplyByFraction to util.jsDan2017-08-291-0/+24
| | | |
| * | | Render TxListItem component from real data: address, identicon, status, ETH ↵sdtsui2017-08-231-0/+7
| | | | | | | | | | | | | | | | value
| * | | Move responsive ui into its own folder for easier mergesDan Finlay2017-07-211-0/+217
| | | |
| * | | Make folder for responsive UIDan Finlay2017-07-041-217/+0
| | | |
* | | | Add backend fix for util in normalizeethstringtowei.Kevin Serrano2017-12-281-0/+3
| |_|/ |/| |
* | | Check if all lower or upper before doing checksum.Kevin Serrano2017-09-131-1/+1
| | |
* | | Add specific error message for failed address checksum.Kevin Serrano2017-09-131-0/+7
| |/ |/|
* | Move function as util function.Kevin Serrano2017-09-121-0/+16
|/
* move address check to util.isValidAddressfrankiebee2017-06-061-0/+1
|
* Change regex in isHex functionFrankie2016-10-221-4/+1
|
* clean up the isHex functionFrankie2016-10-221-3/+4
|
* Add test and ability for isHex to handle hex strings with hex-prefixFrankie2016-10-201-0/+1
|
* Add valdations to txData paramFrankie2016-10-201-0/+6
|
* Fix issue where if given a balance that does not need to be parsed will not ↵Frankie2016-08-201-2/+2
| | | | be parsed
* Lint and changelog.Kevin Serrano2016-08-191-2/+2
|
* Fix rounding issues.Kevin Serrano2016-08-191-6/+11
|
* linting and ignoring.Kevin Serrano2016-08-171-1/+1
|
* Add fix for zero balance shorten.Kevin Serrano2016-08-081-0/+2
|
* Readd string to conform to tests. Will discuss later.Kevin Serrano2016-07-191-1/+1
|
* Remove unused None string.Kevin Serrano2016-07-191-1/+1
|
* Add eslint config to pass testsAust2016-07-191-0/+1
|
* Make zero balance display 0. Fixes #449Aust2016-07-181-1/+5
|
* Fix eth balance tooltip to show 6 decimals (#440)Frankie2016-07-141-2/+6
| | | | | | | | | | | | * 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
* Integrate changes back into eth-balanceKevin Serrano2016-07-121-6/+10
|
* Move shorten balance to util. Add as property of generateBalance object output.Kevin Serrano2016-07-121-2/+17
|
* Remove unused functions. Readd if necessary.Kevin Serrano2016-07-121-18/+4
|
* Merge branch 'master' of github.com:MetaMask/metamask-plugin into ↵kumavis2016-07-081-0/+12
|\ | | | | | | ConfirmationStyle
| * Change function name to generateBalanceObjectFrankie2016-07-081-2/+2
| |
| * Add method to deal with small decimals and create the object for eth-balance ↵Frankie2016-07-081-0/+12
| | | | | | | | component
* | Merge branch 'master' into ConfirmationStyleDan Finlay2016-07-081-20/+13
|\|
| * Revert back to original formatBalanceFrankie2016-07-081-20/+13
| |
* | Merge branch 'master' into ConfirmationStyleDan Finlay2016-07-071-1/+1
|\|
| * Handle to small of balances with "<0.00001"Frankie2016-07-071-1/+1
| |
* | Fleshed out pending tx viewDan Finlay2016-07-071-1/+2
| |
* | Merged latest balance formatting codeDan Finlay2016-07-071-13/+20
|\|
| * Add decimal hendeling to ETH balanceFrankie2016-07-071-13/+20
| |
* | Began reworking tx conf viewDan Finlay2016-07-071-2/+12
| |
* | Simplify empty account balance renderingDan Finlay2016-07-061-1/+1
|/
* Manually lintedDan Finlay2016-06-221-8/+8
|
* Merge branch 'master' of github.com:MetaMask/metamask-plugin into AutoLintDan Finlay2016-06-221-10/+7
|\
| * tweekZac Mitton2016-06-211-1/+0
| |
| * added a failing case and fixed it by refactoring everything to stringsZac Mitton2016-06-211-10/+8
| |
* | Auto lintedDan Finlay2016-06-221-44/+43
|/
* Fix hashed address validationDan Finlay2016-06-031-1/+1
|
* correctly displaying small balances with testsZac Mitton2016-05-261-16/+28
|
* Allow empty recipient fields on txDan Finlay2016-05-201-0/+2
|
* Add full precision to send tx value field.Dan Finlay2016-05-201-0/+15
|
* Increase send value precisionDan Finlay2016-05-201-2/+2
|
* Add address capitalization checksummingDan Finlay2016-05-201-1/+15
|
* ui - redesign - ether amount componentkumavis2016-05-191-5/+20
|
* Removed logsDan Finlay2016-04-201-2/+0
|
* Fix floating point input bugDan Finlay2016-04-201-3/+11
| | | | | | 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.
* Add leading zero to account balancesDan Finlay2016-04-161-1/+1
|
* ui - util - fixes#110 formatBalancekumavis2016-04-151-2/+2
|
* Fix eth resolutionDan Finlay2016-04-151-2/+7
| | | | | | | | 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.
* Moved UI into repo with its own dependency stackDan Finlay2016-04-141-0/+102