Dan
26f965bcce
Further refactors; includes refactor of send-v2.js and associated container
2018-04-30 13:05:48 -02:30
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
bitpshr
cce123c30e
Show checksummed addresses throughout the UI
2018-04-18 09:47:05 -04:00
Dan Finlay
6ee57dcad7
Merge branch 'master' into i3580-InternationalizeCurrency
2018-04-17 13:36:21 -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
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
1382de2cda
Internationalize converted value in currency-input.js
2018-04-09 14:14:09 -02:30
Alexander Tseung
35875863d2
Fix merge conflicts. Modify send workflow
2018-04-03 01:03:31 -07:00
Alexander Tseung
ba23843f91
Fix merge conflicts
2018-03-30 16:18:48 -07:00
Dan
893f82491d
Merge branch 'master' into i3471-checkbalanceonconfirmscreen
2018-03-29 23:58:45 -02:30
Alexander Tseung
ef61ef2ce8
Fix i18n merge conflicts
2018-03-29 09:37:29 -07:00
Dan
0a711f0de0
Removes t from props via metamask-connect and instead places it on context via a provider.
2018-03-29 12:42:38 -02:30
kumavis
b324a9c295
Merge branch 'master' into i3471-checkbalanceonconfirmscreen
2018-03-27 19:42:42 -07:00
Dan
8e6ab7df05
Checking for sufficient balance in confirm ether screen; includes error messages for user.
2018-03-27 22:38:04 -02:30
Dan
be2254b880
Remove comments and console.logs
2018-03-27 10:37:45 -02:30
Alexander Tseung
6f367a5a6b
Fix merge conflicts
2018-03-27 00:20:35 -07:00
Dan
4f0881e41b
Merge branch 'master' into i18n-translator-redux
2018-03-26 16:13:49 -02:30
Dan
a109a774a5
Use ens-input component in send-v2 to allow sending to ens names.
2018-03-26 11:40:11 -02:30
Dan
a82631791e
Lint fixes
2018-03-21 23:48:10 -02:30
Dan
d24a0590d3
i18n redux solution doesn't require importing t() and passing state to each t() call; t is just available on props.
2018-03-21 22:11:47 -02:30
kumavis
29cc2f8ab9
Merge branch 'master' of github.com:MetaMask/metamask-extension into i18n-translator-redux
2018-03-20 13:01:08 -07:00
Dan
d9160ac6da
Merge branch 'master' into retry-tx-refractor
2018-03-20 09:27:27 -02:30
Dan J Miller
5cdaf270f7
Don't block user from setting gas if estimating gas returns errors. ( #3627 )
2018-03-20 06:47:45 -02:30
Dan
09260f9c5e
Fixed t() calls where localeMessages is missing; and fix incorrect connect reference.
2018-03-19 16:39:37 -02:30
Dan
d8788af9b8
Merge branch 'master' into retry-tx-refractor
2018-03-19 15:30:47 -02:30
Dan
5733820024
Merge branch 'master' into i18n-translator-redux
2018-03-19 14:39:04 -02:30
anticlimactic
a1db40047c
Remove unused files from ui folder. ( #3577 )
...
* Removed unused UI files. Fixes #3434 .
* Reverted the deletion of "feature-toggle-utils.js". Reverted the deletion of the test files and modified the paths so they referred to the old-ui.
2018-03-19 12:41:24 -02:30
Dan
5fe0be722b
Handle i18n with redux.
2018-03-15 21:59:45 -02:30
kumavis
34aeef50a0
i18n - load locales manually
2018-03-14 16:32:35 -07:00
Dan
798988597b
Merge branch 'master' into retry-tx-refractor
2018-03-14 00:02:27 -02:30
Dan
2d6b378bf8
Adds inline opening of gas customization to confirm-send-ether screen.
2018-03-09 02:03:36 -03:30
Alexander Tseung
4f1fe1da62
Fix merge conflicts from uat-next
2018-01-31 18:24:20 -08:00
Alexander Tseung
ecc39c5a7a
Merge branch 'uat' of https://github.com/MetaMask/metamask-extension into cb-254
2018-01-29 18:22:52 -08:00
Nick Doiron
9c133aaab3
get t imported in all files currently using i18n
2018-01-24 19:41:29 -10:00
Nick Doiron
99898ac775
better organization of locale file; i18n in more view files
2018-01-23 22:14:47 -10:00
Dan J Miller
4fae461a67
[NewUI] Send screen gas loading fixes ( #3027 )
...
* Allow entering amount, but disable validation of amount, opening of gas customizer or clicking of next, when gas loading in send.
* Fix variable name.
2018-01-17 20:47:01 -08:00
Alexander Tseung
ccb80594be
Readjust gas fees when switching networks on the send screen
2018-01-16 17:26:34 -08:00
Dan
9ced63584b
Add constanst for token transfer function signature.
2017-12-20 17:37:18 -08:00
Dan
5fe3c5aae6
Lint fixes.
2017-12-20 17:37:18 -08:00
Dan
bf4043c59b
Adds updateTransaction to background and used it to update after editing in send-v2.
2017-12-20 17:37:18 -08:00
Alexander Tseung
e226b10a89
Add react-router to allow use of the browser back button
2017-12-14 12:50:20 -08:00
Dan
2e9137dddd
Update max amount behaviour to meet new specs.
2017-12-06 21:15:39 -08:00
Dan Finlay
c6713e93ad
Fix bug where gas param was not a string
...
Prevented sending transactions.
Fixes #2598
2017-11-21 03:42:46 +08:00
Dan
9e3f921ba9
Create single action for updating all of send in redux state.
2017-11-14 16:18:00 -08:00
Dan
34ca7290c5
Allow editing of send ether.
2017-11-14 16:18:00 -08:00
Dan
08d9ecc045
Cursor pointer and hover background on from and to dropdown items.
2017-11-10 14:14:07 -08:00
Dan
a33ced3994
Focus amount input when click anywhere in amount field container
2017-11-10 14:13:29 -08:00
Dan
5a0126f17b
Rounding of vals < 0.01 in currency display consistent with master.
2017-11-10 14:12:26 -08:00
Thomas Huang
5120cfdff3
Linting
2017-11-10 14:07:27 -08:00
Dan
d1977225a4
Calculate max amount for send ether based on minimum gas total.
2017-11-07 21:55:12 -03:30
Dan
c156c85eaa
Fix amount max for sending token.
2017-11-07 21:47:14 -03:30
Dan
c57d504794
Add currency-input component to correct send amount behaviour and move currency display value state to parent component.
2017-11-07 20:06:26 -03:30
Dan
8c6e1232e4
Lint fixes.
2017-11-06 16:14:46 -03:30
Dan
716bbf67d7
Set gas price allows for WEI precision.
2017-11-06 16:07:02 -03:30
Dan
319779ab08
Adds max amount feature for send-ether
2017-11-06 16:03:04 -03:30
Dan
67bdfe87e3
Token balance in send state; validating sufficient tokens, validation updates on 'from' switching.
2017-11-06 15:57:57 -03:30
Chi Kei Chan
9f70762434
Merge pull request #2530 from MetaMask/uat
...
Merge uat into NewUI-flat
2017-11-02 15:20:29 -07:00
Dan
dc0b3255cf
Fixes width of from and to dropdowns in extension and on mobile views.
2017-11-02 15:17:34 -07:00
Dan
56e9f98bd0
More lint fixes
2017-11-02 09:45:59 -02:30
Dan
5a94775b3f
Lint fixes for NewUI-flat.
2017-11-02 00:00:33 -02:30
Dan
220da24f9a
Change min gas price to 0.1 GWEI
2017-10-26 12:25:33 -07:00
Dan
ef2b0d8485
Simply logic for rendering matching accounts in to-autocomplete dropdown.
2017-10-24 16:31:04 -07:00
Dan
07c4c92db6
Style dropdown of to-autocomplete.
2017-10-24 16:31:04 -07:00
Dan
e737a9565a
Improve customize gas modal error handling
2017-10-23 22:41:30 -07:00
Dan
09d659614e
Cleaner implementation of currency-display input.
2017-10-23 22:40:55 -07:00
Chi Kei Chan
0cbaec16f3
Merge pull request #2433 from danjm/NewUI-flat-precision-improvements
...
[NewUI] Improves precision of a calculation in send, and in confirm
2017-10-23 11:50:59 -07:00
Dan
b96ba55229
Clear send state on cancelling and signing.
2017-10-23 16:03:48 -02:30
Dan
b3dad510b7
Improve precision in send and confirm.
2017-10-23 15:53:28 -02:30
Chi Kei Chan
8f3b762461
Fix Conversions bugs; Fiat value bugs
2017-10-20 18:26:18 -07:00
Chi Kei Chan
0458643f10
various styling fix on mobile
2017-10-19 14:08:58 -07:00
Dan
332c7441b6
Get currency from state in account details, send and confirm screens.
2017-10-19 16:30:54 -02:30
Dan
59015cccef
Min and default gas price, limit, total; comments out code for gas slider.
2017-10-19 16:26:46 -02:30
Dan
f01d119cc1
Fixes mobile styling.
2017-10-19 11:38:14 -07:00
Dan
de1da7d1b2
Fix cancel button on send screen.
2017-10-18 20:21:46 -07:00
Dan
60eda592b5
Handling to and amount errors.
2017-10-18 20:21:46 -07:00
Dan
f81226fbe9
Move all of send state to metamask state.
2017-10-18 20:21:46 -07:00
Dan
4f9ac1c4fe
Get from and update addressBook in send-v2
2017-10-18 20:21:46 -07:00
Dan
ac43872c1a
Enable send-v2 functionality.
2017-10-17 21:10:09 -04:00
Dan
a9244f5e42
Customize Gas connected to state
2017-10-15 23:09:05 -04:00
Dan J Miller
803eaaf968
[NewUI] SendV2-#8: Send container handles tokens; gas info dynamic from state ( #2364 )
...
* Adds memo field to send-v2.
* Vertical align transaction with flexbox.
* Customize Gas UI
* Remove internal state from InputNumber and fix use in gastooltip.
* Move customize-gas-modal to its own folder and minor cleanup
* Create send container, get account info from state, and make currency display more reusable
* Adjusts send-v2 and container for send-token. Dynamically getting suggested gas prices.
2017-10-13 13:19:22 -07:00
Dan
7ec77e0b45
Refactor amount input: dynamic input width with vanilla js.
2017-10-12 11:09:05 -07:00
Dan
2898914a54
Send v2 amount unit moves correctly.
2017-10-12 11:09:05 -07:00
Dan
ea7926c211
Adds amount and gas field to sendV2.
2017-10-12 11:09:05 -07:00
Dan
fbab0f3a1f
Send v2 to autocomplete.
2017-10-10 18:19:15 -07:00
Dan
71d6463984
Refactor 'rendersingleidentity' to a stand alone account-list-item component.
2017-10-09 18:24:14 -07:00
Dan
80463072b5
UI for readonly from component. From dropdown opening and closing. Mockdata.
2017-10-09 18:24:14 -07:00
Dan
ca46bd200b
Stop setting 'currentCurrency' and use local state for active currency in send.js
2017-09-13 14:25:20 -07:00
Chi Kei Chan
8f31b05ac5
Add token exchange rates
2017-09-13 01:25:39 -07:00
Chi Kei Chan
836bf2e1a3
Add frontend validation to send-token
2017-09-11 23:18:54 -07:00
Chi Kei Chan
062e67bff8
Add buttons; handle back; add yarn.lock
2017-09-11 22:14:09 -07:00
Dan
e7b3ef0708
Lint fixes
2017-08-31 04:16:07 -07:00
Dan
3ea841e276
Refactor gas-fee-display to include usd and eth fee displays as separate components.
2017-08-30 16:46:24 -07:00
Dan
5a7e4c4e76
Move gas fee to a separate component.
2017-08-30 16:46:24 -07:00
Dan
1485ec7392
Move currency toggle to its own component.
2017-08-30 16:46:24 -07:00