Commit Graph

2470 Commits

Author SHA1 Message Date
Dan d12bb8c14f Merge branch 'i3725-refactor-send-component-' of github.com:MetaMask/metamask-extension into i3725-refactor-send-component- 2018-05-31 15:29:17 -02:30
Dan 5091b03e4b Merge branch 'develop' into i3725-refactor-send-component- 2018-05-31 15:28:03 -02:30
Dan J Miller 15f4ce352d
Merge pull request #4386 from MetaMask/i4077-replace-currency-input-with-numeric-input
Replace currency-input.js with NumericInput
2018-05-31 15:09:13 -02:30
Alexander Tseung cc73d869fe Add new alert modals 2018-05-31 10:37:52 -07:00
Alexander Tseung f4d833cb09 Change btn-secondary styles to btn-default. Make btn-secondary red warning style buttons 2018-05-31 10:37:52 -07:00
Dan 990b69c655 Improve input width calculation in currency-display.js 2018-05-31 13:47:18 -02:30
Dan d454b5de2b Token name is not hidden in wallet if balance is exceptionally long. 2018-05-31 13:32:18 -02:30
Dan 67c74cd5b6 Fix currency display send integration tests. 2018-05-31 12:07:23 -02:30
Dan 1bde2892ec Improve efficiency of estimateGasPriceFromRecentBlocks 2018-05-30 22:43:49 -02:30
Dan 0f3480a97f Fix then-catch + error handling in import-account 2018-05-30 21:33:40 -02:30
kumavis 64aa56b5a6 test - send-utils.test - lint fix 2018-05-30 20:54:32 -02:30
Dan 5a842e440f Gas estimation uses block gas limit as fallback if query.estimateGas returns an expected error. 2018-05-30 20:54:32 -02:30
Dan 0f20fce9b7 Auto update gas estimate when to changes. 2018-05-30 20:54:31 -02:30
Dan 2eddb7b652 Support smaller decimals in currency-display 2018-05-30 20:54:31 -02:30
Dan 4f0b4eef50 Estimate gas using same algorithm as backend. 2018-05-30 20:54:31 -02:30
Dan 166fda5877 Simplify gas estimate actions and add local estimateGasPriceFromRecentBlocks method. 2018-05-30 20:54:31 -02:30
Dan 17909465f2 getParamsForGasEstimate extracts symbol from token instead of just accepting symbol. 2018-05-30 20:54:31 -02:30
Dan 6f633a97e1 Rename gas change actions. 2018-05-30 20:54:31 -02:30
Dan 8b6d08a15d Split out getGasEstimate logic from updateGasTotal 2018-05-30 20:54:31 -02:30
Dan 6d8344d0d0 Update amount error on update of send screen. 2018-05-30 20:51:46 -02:30
Dan 1c3d2aa18b Importing account by json and private key shows error and does not change account if no selectedAddress comes after import. 2018-05-30 17:00:50 -02:30
Alexander Tseung 389346913b
Prevent loading screen from overlaying the app bar (#4417) 2018-05-30 10:38:53 -07:00
Alexander Tseung d40971e7f3
Fix error handling on incorrect password (#4401) 2018-05-30 09:23:31 -07:00
Dan 5347319dff Fix setting of token balance on account switch in send screen from field. 2018-05-30 13:35:01 -02:30
Dan 7f23e017b2 Delete currency-input.js 2018-05-29 22:21:55 -02:30
Dan 2e1d962b1a Remove currency input from input-number 2018-05-29 22:15:21 -02:30
Dan f33bb3e2fd Stop using external NumericInput component. 2018-05-29 16:25:03 -02:30
Alexander Tseung 41e38fe553
Add notification for dropped retry transactions (#4363) 2018-05-29 10:23:06 -07:00
Alexander Tseung e3c9629130
Fix add-token token list placeholder width (#4365) 2018-05-29 10:03:08 -07:00
Alexander Tseung d1f5d8ccc6
Fix text field labels of first time flow. Add text fields to storybook (#4389) 2018-05-29 09:35:18 -05:00
Dan ea28c8a437 Replaces currency-input.js with NumericInput 2018-05-29 09:21:54 -02:30
kumavis a7b7c8f034 newui - unlock - dont catch errors unrelated to tryUnlockMetamask 2018-05-28 23:34:40 -07:00
Dan e712336189 Send refactor: fix error handling and form disabling in send form. 2018-05-25 14:39:31 -02:30
Dan 0de765aa25 Clean up for send refactor PR. 2018-05-25 00:00:55 -02:30
Dan dc2b5d0ef4 Move formShouldBeDisabled from send-footer util to component. 2018-05-24 22:23:54 -02:30
Dan 3a87d9221d Fix order of button text in page-container-footer. 2018-05-24 22:23:30 -02:30
Dan 5bb399e55a Display correct titles and subtitles on send token and editing send transaction screens. 2018-05-24 17:27:33 -02:30
Dan 1405237479 Fix display of primary currency symbol in send amount row 2018-05-24 13:31:14 -02:30
Alexander Tseung df38b0f307
Fix scrolling in Deposit Ether modal (#4336) 2018-05-23 14:26:25 -07:00
Dan c4e48d9263 Send refactor: fix amount max button for tokens. 2018-05-23 16:56:13 -02:30
Dan 440905125d Merge branch 'develop' into i3725-refactor-send-component- 2018-05-23 16:03:15 -02:30
kumavis b5bbfd3264
Merge pull request #4308 from MetaMask/i4232-addtoken
Update designs for Add Token screen
2018-05-22 12:53:59 -07:00
Alexander Tseung 8245bf010e Update input field border on focus 2018-05-21 15:24:38 -07:00
Frankie 5e67951c1a
Merge pull request #4295 from MetaMask/kumavis-patch-3
ui - token-util - warn via loglevel on token lookup failure
2018-05-21 15:06:18 -07:00
kumavis 9929f89c6e
Merge pull request #4316 from MetaMask/fix-signature-request
Fix signature request header text
2018-05-21 14:18:55 -07:00
kumavis a1d2813f8f
Merge pull request #4273 from brunobar79/fix-new-ui-popup-header
Remove fix modal header height
2018-05-21 14:07:06 -07:00
Alexander Tseung c4e75a7075 Fix tests 2018-05-20 14:08:45 -07:00
Alexander Tseung 646545551c Fix signature request header text 2018-05-20 13:01:31 -07:00
Alexander Tseung 4f6b53c1aa Update designs for Add Token screen 2018-05-19 23:04:19 -07:00
kumavis 666c1f1b30
token-util - warn via loglevel on token lookup failure 2018-05-18 10:51:49 -07:00
Whymarrh Whitby 924cc1fcf7 Move setAccountLabel into PreferencesController 2018-05-17 12:57:39 -02:30
Bruno b0dcdc30fa remove fix header height 2018-05-16 18:51:55 -04:00
kumavis 4be681f447
Merge pull request #4255 from MetaMask/i4233-dropdowns
Fix account and network dropdowns in confirm screen
2018-05-16 13:02:27 -07:00
kumavis ff91ef96ef ui - unlock - remove setNetworkEndpoints calls from new unlock screen 2018-05-16 12:35:43 -07:00
kumavis c6f822ad45 ui - remove files accidently added by bad merge 2018-05-16 12:29:57 -07:00
kumavis c27d9162d7 Merge branch 'develop' of github.com:MetaMask/metamask-extension into network-controller-remove-setNetworkEndpoints 2018-05-16 11:57:07 -07:00
Dan 759bc17388 Merge branch 'develop' into i3725-refactor-send-component- 2018-05-15 11:21:15 -02:30
Dan 44679f6cda Import defaults in send_/ 2018-05-15 09:59:23 -02:30
Dan 8ff60267d8 Fix Button component path in page-container footer. 2018-05-15 09:13:39 -02:30
Dan 77ee23d493 Add index.js files to send_ subdirectories 2018-05-14 20:33:04 -02:30
Alexander Tseung 5561937773 Fix account and network dropdowns in confirm screen 2018-05-14 15:03:04 -07:00
Dan 6bc8cc819a Merge branch 'develop' into i3725-refactor-send-component- 2018-05-14 11:44:50 -02:30
Dan 0739618a61 Tests for send.duck.js 2018-05-14 10:27:36 -02:30
Dan 0076b732bd Rename ducks/send.js to ducks/send.duck.js 2018-05-14 09:49:09 -02:30
Dan b3f08681fd Add missing unit tests in send_/: now 100% function test coverage in send_/ 2018-05-14 09:43:55 -02:30
Dan c2ed2d4e50 Lint fixes 2018-05-14 07:01:41 -02:30
Dan 145e53b404 Unit tests for account-list-item, amount-max-button and send-amount-row components. 2018-05-14 06:55:03 -02:30
Alexander Tseung 0bcfbc1544 Add error message when passwords don't match in first time flow. Change input field styling in first time flow 2018-05-13 21:46:12 -07:00
Alexander Tseung 0301b33a48 Add TextField component to storybook 2018-05-11 12:49:17 -07:00
Alexander Tseung 2381c0e0f4 Add new unlock screen design 2018-05-11 12:49:17 -07:00
Dan 61d35e7abe Unit tests for from-dropdown; split out send-dropdown-list from from-dropdown 2018-05-11 13:50:43 -02:30
Dan 5d79d12648 SendRowErrorMessage component test. 2018-05-11 04:07:33 -02:30
Dan 22e2806ae2 Unit tests for send from, gas, to and wrapper row components. 2018-05-10 12:17:05 -04:00
Dan f94ffa022c Fix test descriptions and remove unnecessary proptypes. 2018-05-10 09:24:43 -04:00
Thomas Huang c3079ff160
Merge pull request #4196 from MetaMask/i3457-fontweight
Change font weight from 300 to 400
2018-05-08 12:46:27 -07:00
Dan 9ccc609e56 Adds test for send, send-content, send-footer and send-header components. 2018-05-07 08:03:20 -04:00
Alexander Tseung fff7f52074 Change font weight from 300 to 400 2018-05-05 15:12:41 -07:00
Dan 7c49009854 Unit tests for containers, utils and selectors in send_/ 2018-05-05 11:58:14 -04:00
Alexander Tseung d5759cf4a8 Add storybook integration 2018-05-03 10:51:15 -07:00
kumavis a1d13d45cf lint - cleanup some unused variables 2018-05-02 18:23:55 -07:00
kumavis 096851d091
Merge pull request #4156 from MetaMask/i4010-spinner
Fix styling of the app spinner
2018-05-02 17:00:57 -07:00
kumavis ad1f98f8f2
Merge pull request #4162 from MetaMask/ui-actions-pify-importNewAccount
ui - actions - importNewAccount - rethrow err on failure
2018-05-01 12:36:19 -06:00
kumavis 0e48ddfceb ui - actions - importNewAccount - rethrow err on failure 2018-05-01 11:16:35 -07:00
Dan e869d09c79 Merge branch 'i3725-refactor-send-component-' of github.com:MetaMask/metamask-extension into i3725-refactor-send-component- 2018-05-01 00:37:17 -02:30
Dan e488c0eeea Delete dead send code. 2018-05-01 00:30:38 -02:30
Dan 2f78fffbdb Merge branch 'i3725-refactor-send-component-' into i3725-refactor-send-component-2 2018-05-01 00:12:57 -02:30
Alexander Tseung ffda954add Fix styling of the app spinner 2018-04-30 18:58:37 -07:00
kumavis 6f316ca450 network - remove setNetworkEndpoints 2018-04-30 16:36:17 -07:00
Paul Bouchon 5ec631cad3
Handle Promise rejections when importing accounts (#4142)
* Silently catch import failures since errors exist in Redux state
* Add comment about no-op catch statement
2018-04-30 18:07:25 -04:00
kumavis bce7adac85 ui - actions - importNewAccount - use async and pify for cleaner syntax 2018-04-30 14:46:53 -07:00
kumavis 5f3f8c85fc
Merge pull request #4059 from MetaMask/i-4033-seed-words
Use new design for Reveal Seed screen. Persist seed words only in the first time flow.
2018-04-30 12:04:53 -06:00
Dan 954394f810 Remove 'goHome' from send_ 2018-04-30 14:08:03 -02:30
Dan beb8d1cf5e Move getMaxModeOn selector to amount-max-button container. 2018-04-30 14:07:01 -02:30
Dan 4a8c3194c2 Use constants for send screen errors messages. 2018-04-30 14:00:01 -02:30
Dan bc145dc6a6 Fix send-v2__form class in send-content.component 2018-04-30 13:39:05 -02:30
Dan 41b609ab5b Fix amount max button. 2018-04-30 13:33:49 -02:30
Dan 5529ec6efd Fix close button on send screen 2018-04-30 13:06:23 -02:30
Dan 26f965bcce Further refactors; includes refactor of send-v2.js and associated container 2018-04-30 13:05:48 -02:30
bitpshr b4b33b57bc Fix ShapeShift purchases on new UI 2018-04-28 14:41:46 -04:00
kumavis 141884ee6a
Merge pull request #4113 from MetaMask/i4107-send-tokens-without-symbols-decimal-methods
Wraps calls to symbol() and decimals() in try catch (Fixes #4107)
2018-04-27 19:21:12 -06:00
Dan 9f9e8789cc Simplify return of existing token in getSymbolAndDecimals 2018-04-27 21:38:57 -02:30
Dan b71dbf52d1 Convert decimals to string in getSymbolAndDecimals; return null for symbol or decimals. 2018-04-27 21:33:56 -02:30
Dan 6de450488b Wraps calls to symbol() and decimals() in try catch 2018-04-27 20:45:36 -02:30
Paul Bouchon 1bad3fa257
Allow transactions with 0-gwei gas price (#4073)
* Allow transactions with 0-gwei gas price
* Add tests to verify tx with 0 gas fee
* Conditionally use CurrencyInput in CurrencyDisplay
2018-04-27 10:42:02 -04:00
Dan 33c16d1bf6 Fixes to get tests passing. 2018-04-27 08:11:18 -02:30
Dan 91c201aa72 Lint fixes and alphabetization for i3725-refactor-send-component 2018-04-27 00:16:11 -02:30
Alexander Tseung 61b8c3efff Redirect to correct seed phrase screen 2018-04-26 19:27:33 -07:00
Dan 8ff7806f1b Core of the refactor complete 2018-04-26 14:08:38 -02:30
kumavis ee8b91262d
i18n-helper - wrap fallback in brackets to help indicate something is wrong 2018-04-25 15:27:30 -07:00
Dan Finlay b2fbc6399a Return key instead of empty string on i18n fail 2018-04-25 10:57:44 -07:00
kumavis 3500689ed0
i18n-helper - abort on i18n failure 2018-04-24 09:53:16 -07:00
Dan 02a6d2089e Merge branch 'master' into i3725-refactor-send-component 2018-04-24 13:31:39 -02:30
Dan Finlay 66ae4a948a
Merge pull request #3940 from nyatla/master
Small layout and cursor problem fix.
2018-04-23 17:07:40 -07:00
Dan Finlay 4289f813e9
Merge pull request #3968 from MetaMask/gh-3653
Clean up network config
2018-04-23 15:49:17 -07:00
Dan Finlay f1c0d8ad6e
Merge pull request #4028 from MetaMask/i4016-customrpc
Fix custom RPC not redirecting to Settings page
2018-04-23 15:14:23 -07:00
Alexander Tseung 9e41f58af2 Clean up network config 2018-04-23 10:18:05 -07:00
Alexander Tseung 1d2d9798cb Merge branch 'master' of https://github.com/MetaMask/metamask-extension into i-4033-seed-words 2018-04-22 09:28:29 -07:00
Alexander Tseung 3082d2e4ef Use new design for reveal seed screen. Persist seed words only in first time flow 2018-04-22 09:24:21 -07:00
Alexander Tseung 477b74124d Revert "Fix UI getting stuck in Reveal Seed screen"
This reverts commit 2c8156ebe9.
2018-04-21 22:23:45 -07:00
Thomas Huang 00efcf9e8b
Merge pull request #4030 from MetaMask/i4014-metamask-version
Show correct MetaMask version number in the Info page
2018-04-19 09:56:12 -07:00
Alexander Tseung 2fdf45b418 Show correct MetaMask version number in the Info page 2018-04-18 18:44:51 -07:00
Alexander Tseung ce74cd7774 Fix custom RPC not redirecting to Settings page 2018-04-18 17:34:28 -07:00
Alexander Tseung 1d80a4c452 Fix exception thrown when revealing seed words 2018-04-18 16:10:42 -07:00
Dan Finlay 061975cd4a
Merge pull request #3977 from MetaMask/i-3913-big-number
Fix BigNumber exception in confirm-send-ether
2018-04-18 11:45:20 -07:00
Dan Finlay 0a14cedaf1
Merge pull request #4004 from MetaMask/i3955-reveal-seed
Fix UI getting stuck in Reveal Seed screen
2018-04-18 11:44:14 -07:00
Dan Finlay 40f0a40edf
Merge pull request #3998 from MetaMask/i3988-checksummed-address
Show checksum addresses on UI
2018-04-18 11:43:38 -07:00
Alexander Tseung 2c8156ebe9 Fix UI getting stuck in Reveal Seed screen 2018-04-18 10:18:24 -07:00
bitpshr cce123c30e Show checksummed addresses throughout the UI 2018-04-18 09:47:05 -04:00
Alexander Tseung 053044fb65 Fix spinner layout 2018-04-18 01:03:07 -07:00
Alexander Tseung de7fc781a5 Fix BigNumber exception in confirm-send-ether 2018-04-18 00:58:40 -07:00
Dan Finlay 6ee57dcad7
Merge branch 'master' into i3580-InternationalizeCurrency 2018-04-17 13:36:21 -07:00
Alexander Tseung b0a105ce80 Fix confirmation popup not always opening 2018-04-17 08:58:37 -07:00
Dan Finlay 0668976514
Merge branch 'master' into i3981-contract-rates 2018-04-16 16:32:56 -07:00
Dan Finlay 26d2f5cd0e
Merge pull request #3970 from MetaMask/i3651-removeGlobalLog
Remove reliance on window.log
2018-04-16 15:16:45 -07:00
bitpshr d0447f9058 Maintain token prices using a background service 2018-04-16 11:47:06 -04:00
bitpshr a350e80fee Fetch token prices based on contract address 2018-04-15 23:46:40 -04:00
Dan Finlay 34692acdf9 Fix action for setting locale 2018-04-13 16:14:23 -07:00
bitpshr 7129d7c0f3 Require loglevel singleton in each module that uses it 2018-04-13 17:56:28 -04:00
Dan 59c887301a second commit 2018-04-11 11:51:54 -02:30
Alexander Tseung f96c13d616 Refactor page-container component structure 2018-04-10 15:28:52 -07:00
nyatla c9a4077207 Reduced button padding.
Title overflowed in Japanese.
2018-04-10 18:51:44 +09:00
Dan f4d8da9277 Merge branch 'master' into i3725-refactor-send-component 2018-04-10 07:19:01 -02:30
nyatla 5166e1a9fd Expanded dropdown menu width of title.
Title overflowed in Japanese.
2018-04-10 18:47:59 +09:00
nyatla 2ccd9ca29d Changed mouse cursor to "pointer" on the cancel text at the top left of the page. 2018-04-10 18:46:09 +09:00
Dan d8adc527f1 Lint fix. 2018-04-09 16:54:52 -02:30
Dan 2c4426e4de Merge branch 'master' into i3580-InternationalizeCurrency 2018-04-09 16:52:26 -02:30
Dan 9dbb9d12ad Internationalize converted value in confirm screens 2018-04-09 16:45:23 -02:30
Dan 1382de2cda Internationalize converted value in currency-input.js 2018-04-09 14:14:09 -02:30
Dan 4011dac6f6 Improve display of crypto currencies when selected as the 'Current Conversion' 2018-04-09 13:41:40 -02:30
Dan 284dd85a99 first commit 2018-04-06 19:59:51 -02:30