Commit Graph

523 Commits

Author SHA1 Message Date
Dan Finlay a2781df8b4 Add better event lifecycle management to token list.
Token list now renders errors when a token lookup fails.
Also now cleans up event listeners when re-initializing the token list.
2017-06-19 19:11:55 -07:00
Dan Finlay 60855b0510 Add send button to TokenFactory
A simple solution to a temporary token send screen: Linking to EtherScan.

Will hold us over until we make our own token send view.
2017-06-19 19:02:13 -07:00
Dan Finlay 48789f2a3d Add ability to add tokens to token list
Fiex #1616
2017-06-15 16:22:53 -07:00
Dan Finlay c4f6176820 Merge branch 'AddTokenList' into AddingTokens 2017-06-15 14:00:28 -07:00
Dan Finlay 39c7ed230d Merge remote-tracking branch 'origin/master' into AddTokenList 2017-06-15 13:44:58 -07:00
Dan Finlay 0e1e0aa323 Create add token button and template view 2017-06-14 20:55:56 -07:00
Dan Finlay 1ed5804e4d Multiple loading style improvements
- When seeking network, show a full screen loading indication + message.
- Network menu is still accessible "over" this indication.
- Top Menu-Droppo components now slide *under* the menu bar like they should.
- Loading indication opacity increased to increase message legibility.
2017-06-14 19:15:50 -07:00
Dan Finlay 68389d5d49 Remove excessive log 2017-06-14 18:12:41 -07:00
Dan Finlay 1814721e80 Add no tokens message 2017-06-14 18:08:03 -07:00
Dan Finlay 96d416c486 Vertically center loading indication 2017-06-14 15:30:47 -07:00
Dan Finlay 6fda78cd2b Refresh token balance on network change 2017-06-14 15:21:51 -07:00
Dan Finlay b7b9e0c1ac Persist selected account tab
Also improve error handling with token balances.
2017-06-14 14:21:50 -07:00
Dan Finlay 108c4ab2c5 Auto populate token list with popular token balances
Half implements #175

Things to do:
- Add ability to add tokens to the list.
- Persist the token tab selection (so it is an implicit preference)
- Check what's up with the token-tracker polling, it seems like it is not waiting the interval.
2017-06-13 17:53:42 -07:00
Kevin Serrano 141e66171b Merge pull request #1600 from MetaMask/i1554-ensSymFix
ENS symbol renders on proper networks
2017-06-13 14:31:58 -07:00
Kevin Serrano 790712e6fd
Cleanup zero addresses. 2017-06-13 13:38:27 -07:00
Dan Finlay a741cc4fc4 Merge branch 'master' into AddTokenList 2017-06-12 17:17:16 -07:00
Kevin Serrano 5e03b69892
Fix check icon appearing in inappropriate situations. 2017-06-12 16:56:37 -07:00
frankiebee d1fa3c6de1 only prefix ethereum address 2017-06-12 14:38:26 -07:00
frankiebee 5668910244 prefix the address with "ethereum:" 2017-06-12 14:05:08 -07:00
Dan Finlay 8af41f1b05 Merge pull request #1574 from MetaMask/internfix
Wording fix for notice button
2017-06-12 10:37:46 -07:00
Dan Finlay 3e1d648ec0 Merge branch 'master' into gasupdater 2017-06-12 10:26:40 -07:00
Kevin Serrano 2fcf3d8439
Modify wording to new accept. 2017-06-09 10:48:28 -07:00
Kevin Serrano cb95129fa1
Merge branch 'master' of github.com:nihar97/metamask-plugin into internfix 2017-06-08 16:10:59 -07:00
Dan Finlay c8f0802a8e Fix bug that prevented publishing contracts 2017-06-05 15:35:52 -07:00
kumavis 95d20e9b76 Merge pull request #1545 from MetaMask/inValidAddressFix
Dissallow transactions to be sent to 0x000...
2017-06-05 13:11:20 -07:00
frankiebee 94fedd1fc9 Fix for quick switch on ENS names 2017-06-05 13:00:15 -07:00
frankiebee ec99bfd553 set the ensResolution to an invalid address if an error ocurs durring look up 2017-06-05 12:37:29 -07:00
frankiebee 0f69a09823 Fix linting error 2017-06-05 12:22:02 -07:00
frankiebee 653319be10 move address check to util.isValidAddress 2017-06-05 12:09:19 -07:00
frankiebee 37fd32025f Fix punctuation 2017-06-05 12:00:01 -07:00
frankiebee bb6e41963d Dissallow transactions to be sent to 0x0000000000000000000000000000000000000000 2017-06-05 11:48:04 -07:00
Dan Finlay 8dc6aa9c4c Remove dead style code 2017-06-04 22:26:32 -07:00
Dan Finlay 773b36b0de Move address copying into reusable component
"copyable" component allows any elements to be wrapped to include:

- a tool tip that changes/debounces its label when clicked.
- a customizable copyable value.

Fixes #1539
2017-06-04 22:22:59 -07:00
Dan Finlay ec097c8e34 Add copy links to mini tx panels 2017-06-04 22:13:28 -07:00
Kevin Serrano 2b7d842498
Update gasblocklimit params with every block. 2017-06-02 15:18:14 -07:00
Kevin Serrano 51b5e2f6e7
Add max gas limit to UI 2017-05-24 16:18:37 -07:00
Kevin Serrano 9554788c14
Minor cleanup of lint 2017-05-24 11:02:58 -07:00
Kevin Serrano 293d0b4a57
Minor cleanup 2017-05-24 11:02:26 -07:00
Kevin Serrano 10ca3b6467
Fix bug where submit was enabled when invalid params were filled out. 2017-05-24 10:13:43 -07:00
Kevin Serrano 60281f7250
Cleanup code. 2017-05-24 09:55:16 -07:00
Kevin Serrano 31d17c9e25
Fix test, create new value for precision/scale 2017-05-23 14:26:37 -07:00
Kevin Serrano 97d19f0f79
Merge branch 'master' into i1412-decimalizethegas 2017-05-23 10:43:59 -07:00
Kevin Serrano 959038132a
Increase accuracy of our rounding schemes. 2017-05-23 10:43:37 -07:00
Dan Finlay 058b732213 Tolerate nonces of any format 2017-05-22 15:43:20 -07:00
Dan Finlay 954d8bd111 Render txs with no nonce 2017-05-22 14:14:13 -07:00
Dan Finlay 0ef9e8b709 Lint 2017-05-21 14:18:23 -07:00
Dan Finlay 3c90024564 Label the pending tx icon with a tooltip 2017-05-21 14:15:34 -07:00
Dan Finlay 6209224a6c Add transaction number (nonce) to tx list 2017-05-21 14:09:44 -07:00
Dan Finlay 7e7ceab95e Fix decimal tolerance 2017-05-17 14:31:06 -07:00
Kevin Serrano 717db41d0b
Modify test, replace clone package. 2017-05-17 14:18:01 -07:00
Dan Finlay 24737ded34 Fix bug where decimals in gas inputs gave strange results 2017-05-17 14:13:05 -07:00
Kevin Serrano 90bfa3cbcd
Fix merge conflicts. 2017-05-16 16:28:57 -07:00
Kevin Serrano d8130f1eff
Fix reset button. 2017-05-16 16:20:58 -07:00
Kevin Serrano 53b8d18a5f
Complete transition into BN. 2017-05-16 15:30:22 -07:00
Nihar 5c71149a8f continue button changed to agree 2017-05-16 14:23:42 -07:00
Dan Finlay b4e6ea9db7 Fix fiat rendering
Fixes #1439.

When reorganizing fiat-value component to not use global state, had missed its necessary `currentCurrency` parameter.

This now passes it in wherever it's used.
2017-05-16 11:36:21 -07:00
kumavis 9560de80a0 Merge pull request #1430 from MetaMask/i1407-FixNonEditingTxForm
Add test around conf-tx view's gas editing.
2017-05-15 23:25:20 -07:00
Thomas Huang 3367363b12 Remove all traces of testnet 2017-05-15 19:11:16 -07:00
Thomas Huang 4c10e2021a Change default network to rinkeby 2017-05-15 18:05:11 -07:00
Dan Finlay fc7b4cb4bc Linted 2017-05-15 15:22:49 -07:00
Dan Finlay 75d9b5619c Verify updating gas value updates 2017-05-15 15:21:28 -07:00
Dan Finlay 4b341e6a95 Got test failing nearly correctly 2017-05-15 15:07:38 -07:00
Dan Finlay c4be4c7195 Skip jazzicons in unit tests 2017-05-15 14:35:24 -07:00
Dan Finlay 19db11856b Remove redux dependency from eth-balance and its dependent tree
For better unit testability of the conf-tx view.
2017-05-12 12:44:51 -07:00
Dan Finlay d737bd1633 Break up pending-tx component for better unit testability 2017-05-10 17:26:09 -07:00
kumavis ac54c7d96b ens - add mainnet ens support 2017-05-09 11:28:39 -07:00
Kevin Serrano d61b587f30
Redefine txmeta when submitting. 2017-05-08 16:02:41 -07:00
Kevin Serrano 53a88b319b
Merge branch 'i1381-GasPriceInGwei' of github.com:MetaMask/metamask-plugin into i1381-GasPriceInGwei 2017-05-08 13:58:46 -07:00
Dan Finlay c7b2f2f2e9 Cleanup 2017-05-08 13:34:01 -07:00
kumavis 68be86abe9 ui - remove web3, use eth-query 2017-05-08 12:29:08 -07:00
Dan Finlay 80d8a4e73e Input gas in gwei
Also enforces "safe low gas" minimum recommended by this article by eth-gas-station:
https://medium.com/@ethgasstation/the-safe-low-gas-price-fb44fdc85b91

Fixes #1381
2017-05-07 16:51:57 -07:00
Dan Finlay f17c6b4eef Fix ens iterated element without key error 2017-05-07 16:44:43 -07:00
Dan Finlay d1a1069180 Merge branch 'master' into rinkeby 2017-04-27 14:50:19 -07:00
Thomas Huang 6bdb4c8728 Fix linting warnings 2017-04-26 21:05:45 -07:00
Kevin Serrano f2bf7326cc
Linting. 2017-04-25 14:44:25 -07:00
Kevin Serrano 242dc1e99f
Add missing changes. Create unique style for rinkeby icon. 2017-04-25 14:39:01 -07:00
Nickyg d764e46a50 change network name to rinkeby when selected 2017-04-26 02:15:15 +05:30
Nickyg e9aa37b699 add rinkeby network 2017-04-26 01:40:33 +05:30
Dan Finlay bce4af2dca Add placeholder etherscan token icons 2017-04-24 13:55:19 -07:00
frankiebee 79f88398ac fix spelling 2017-04-24 20:56:31 +02:00
frankiebee df9e40be63 Css fixes 2017-04-24 12:58:01 +02:00
frankiebee 9ebc5ed33c make buy button green 2017-04-24 12:36:17 +02:00
Jared Pereira 7f12be6a01 remove updateCoinBaseAmount action 2017-04-24 12:18:54 +04:00
Jared Pereira 5cabd3e02d remove updateBuyAddress action 2017-04-23 21:45:55 +04:00
Dan Finlay 40e2450022 Get token list looking ok 2017-04-21 09:01:51 -07:00
Dan Finlay 9bae32e78b Add functional but ugly and hard-coded token list 2017-04-20 19:10:22 -07:00
frankiebee ce03b7db51 Initial redo attempt of the buy view to look like vladt's desighn 2017-04-18 23:22:17 +02:00
frankiebee 83811910c8 Create a custom radio list component 2017-04-18 18:20:31 +02:00
kumavis 8b14666348 clean - remove unused extension ref 2017-04-04 22:43:55 -07:00
kumavis 5a91adf7d8 add platforms to mascara + move buyEther window open to ui 2017-04-04 18:23:46 -07:00
kumavis aa06183c64 ui - use global.platform for extension interaction 2017-03-31 18:04:13 -07:00
kumavis be88c87b25 extension - prefer extensionizer module 2017-03-30 18:30:24 -07:00
Dan Finlay a3e08d779e Merge branch 'master' into kovan-faucet-instructions 2017-03-28 14:50:55 -07:00
Dan Finlay 81d3658343 Improve UI gas calculation logic
- Now striping hex prefixed gas values, which may have been causing mis-estimation.
- Unified calculation logic to be entirely functional.
- Greatly simplified how the pending-tx form keeps updated form state.

Still needs a commit from @kumavis to ensure the background passes in a txMeta.txParams.gasPrice value.
2017-03-28 11:52:15 -07:00
Kevin Serrano 67892c49a6 Merge branch 'master' into kovan-faucet-instructions 2017-03-27 16:45:04 -04:00
Kevin Serrano 9a8bf5a605
Fix edge case where notice does not require scrollbar. 2017-03-27 16:33:04 -04:00
Kevin Serrano c1136a6317
Add link to kovan faucet instructions. 2017-03-27 16:05:21 -04:00
Dan Finlay c15dfccaa4 Merge branch 'master' into kovan-notice 2017-03-24 13:53:45 -07:00
Dan Finlay 5cc934f18c Fix tx selecting bug 2017-03-24 12:50:39 -07:00
Dan Finlay 8e7b5d6a13 Remove unnecessary log 2017-03-24 10:26:50 -07:00