Esteban Miño
2d7c9b3dac
Prevent send to token warning ( #6058 )
2019-01-23 14:39:56 -03:30
Esteban Miño
1d93d9a385
Prevent send to token ( #6051 )
...
* check contact metadata
* check for tokens in state
* tests
* update tests
* validation only if sending tokens
* container test
2019-01-22 11:05:59 -08:00
Alexander Tseung
30a2be85ee
Prevent users from changing the From field in the send screen ( #5922 )
...
* Prevent users from changing the From field in the send screen
* Fix integration tests
2018-12-13 18:19:36 -08:00
Dan Miller
7f2c5c09de
Uses more reliable api on main send screen; caches basic api results in modal
2018-12-04 00:06:22 -03:30
Dan Miller
b70886a99b
Fixes for components that break e2e gas customization tests, plus unit test updates.
2018-12-04 00:06:22 -03:30
Dan Miller
a2bbf504b8
Read only connection of gas price chart to redux
2018-12-04 00:06:05 -03:30
Dan Miller
6dd1028c71
Lint and unit test fixes.
2018-12-04 00:06:05 -03:30
Dan Miller
5354325fab
Test updates and additions for button integration with send screen.
2018-12-04 00:06:04 -03:30
Dan Miller
b567c78bca
Integrate gas buttons with the send screen.
2018-12-04 00:06:04 -03:30
Dan Miller
7de3f22d63
Connects remained of the gas customization component to redux.
2018-12-04 00:06:04 -03:30
Dan Miller
0a7dfcd55d
Connect the gas-button-group component to redux and a live api.
2018-12-04 00:06:04 -03:30
Dan J Miller
4c24555545
Save recent network balances in local storage ( #5843 )
...
* Use selector for state.metamask.accounts in all cases.
* Default to cached balance when selecting metamask accounts
* Adds the cached-balances controller
* Documentation and small codes fixes for #5843
Co-Authored-By: danjm <danjm.com@gmail.com>
2018-11-30 14:51:24 -08:00
Alexander Tseung
4c87c05a02
Fix rounding issue when sending max tokens ( #5695 )
...
* Fix rounding issue when sending max tokens
* Ensure amount row shows exact amount of max tokens on send screen (#2 )
* Fix tests
* Change stored redux value from BigNumber to hex string. Fix TokenInput default value
2018-11-19 16:06:34 -08:00
kumavis
310229d22e
Merge pull request #5567 from MetaMask/HowardBraham-develop
...
Feature: Warn when attempting to send tx with data to non-contract
2018-10-29 21:47:07 -04:00
HackyMiner
54a8ade266
Add support for RPC endpoints with custom chain IDs ( #5134 )
2018-10-26 10:26:43 +02:00
kumavis
9b42416fc0
Merge branch 'develop' of github.com:MetaMask/metamask-extension into HowardBraham-develop
2018-10-25 22:24:30 -04:00
Alexander Tseung
7852269ed1
Add Activity Log entry for onchain failures for a transaction. Change scrolling of the transaction list. Remove Transaction Details modal. ( #5581 )
2018-10-23 19:59:04 +08:00
kumavis
fda101912b
ui - use variable to clarify result of emptiness check
2018-10-21 00:52:41 -04:00
kumavis
3b46478024
Merge branch 'develop' into develop
2018-10-20 23:48:10 -04:00
Alexander Tseung
badebe017f
Adds toggle for primary currency ( #5421 )
...
* Add UnitInput component
* Add CurrencyInput component
* Add UserPreferencedCurrencyInput component
* Add UserPreferencedCurrencyDisplay component
* Add updatePreferences action
* Add styles for CurrencyInput, CurrencyDisplay, and UnitInput
* Update SettingsTab page with Primary Currency toggle
* Refactor currency displays and inputs to use UserPreferenced displays and inputs
* Add TokenInput component
* Add UserPreferencedTokenInput component
* Use TokenInput in the send screen
* Fix unit tests
* Fix e2e and integration tests
* Remove send/CurrencyDisplay component
* Replace diamond unicode character with Eth logo. Fix typos
2018-10-17 07:03:29 +08:00
Whymarrh Whitby
bdb6e55354
Decrease click area for AmountMaxButton on send screen
2018-10-15 21:04:07 -02:30
bakaoh
63c61c52eb
Make all addresses EIP-55 compliant ( #5379 )
...
* Make all addresses EIP-55 compliant
* Checksum autocompleted address but not during input
2018-10-10 10:50:37 -02:30
Howard Braham
4cc0b1ef01
ganache-core merged my PR, so I changed some comments to clarify that ganache-core v2.2.1 and below will return the non-standard '0x0'
2018-10-09 15:31:25 -07:00
Howard Braham
222e62d7f1
Bug Fix : #1789 and #4525 eth.getCode() with no contract
2018-10-09 15:31:25 -07:00
Whymarrh Whitby
ce2e068b43
Recipient not required on send screen when hex data present
2018-10-01 12:53:32 -02:30
Whymarrh Whitby
c9f22916dd
Rework estimateGas logic
...
The tests still pass!
2018-10-01 12:53:32 -02:30
Whymarrh Whitby
918fb71df3
Update gas when hex data changes on send screen
2018-10-01 12:53:32 -02:30
Whymarrh Whitby
3741927d8d
Update send.utils.test to with better mocks
2018-10-01 12:53:32 -02:30
Whymarrh Whitby
508a712479
Allow sending transactions with hex data and no recipient
2018-10-01 12:53:32 -02:30
tmashuang
a0a57c24fd
Some Ui tests
2018-09-24 11:28:04 -05:00
Whymarrh Whitby
05c72070bb
Fix assertion of missing child component
2018-09-05 16:35:37 -02:30
Dan Miller
65873e33e4
Adds feature flag toggle for the hex data row on the send screen.
2018-08-27 11:44:16 -02:30
Alexander Tseung
7294aede4f
Add new variant for SenderToRecipient component
2018-08-22 10:53:20 -07:00
brunobar79
e9a0feb9e9
fixed issue with input
2018-08-03 20:11:46 -04:00
brunobar79
71ef4d85da
design complete
2018-08-03 18:57:23 -04:00
brunobar79
710b4e294f
added crossbrowser support and error handling
2018-07-31 18:30:56 -04:00
brunobar79
edb154749d
send to fullscreen if no permission from popup
2018-07-30 22:57:05 -04:00
brunobar79
4339f04e80
use existing modals
2018-07-30 17:50:05 -04:00
brunobar79
acfcdf52b4
fix unit tests
2018-07-26 21:52:01 -04:00
brunobar79
6886429f0b
fix linting errors
2018-07-26 21:22:39 -04:00
brunobar79
d4a15f22c2
added webrtc-adapter for browser compat
2018-07-26 21:00:48 -04:00
brunobar79
ea028e7506
fully working without tweaking ext. permission
2018-07-26 20:56:58 -04:00
brunobar79
74fd6d1d12
working without injection
2018-07-24 20:32:20 -04:00
brunobar79
d5929e5c42
added qr code scanner icon in send transaction
2018-07-23 22:10:57 -04:00
brunobar79
f7ad978474
camera working back and forth
2018-07-23 21:27:51 -04:00
Whymarrh Whitby
da1f6e061d
Don't set txData to an empty string
2018-07-18 10:13:50 -02:30
Whymarrh Whitby
346505cab0
Inline single-use vars in send-footer.utils
2018-07-18 09:58:12 -02:30
Whymarrh Whitby
fb672e00df
Send data along with other tx params
2018-07-18 09:58:12 -02:30
Whymarrh Whitby
9ea7411c06
Hook up send component w/ UPDATE_SEND_HEX_DATA action
2018-07-18 09:52:36 -02:30
Whymarrh Whitby
3f9c3d76b6
Add hex data row to send screen
2018-07-18 09:52:13 -02:30