Dan J Miller
3af174b590
Stringify gas estimate in backend, before it is serialized and sent to ui ( #11266 )
...
* Stringify gas estimate in backend, before it is serialized and sent to ui
* Fix send.utils.test.js
2021-06-09 19:57:24 -07:00
ryanml
523c04b47a
Fix built-in networks switch-ethereum-chain, Including RPC url in switchEthereumChain requestData ( #11268 )
...
* Moving RPC Urls to network constants
* Including RPC url in switchEthereumChain requestData
* Setting project id to var
* Fix built-in networks switch-ethereum-chain
`switch-ethereum-chain` did not work correctly with built-in networks.
It was treating them as custom networks, rather than as built-in
networks. This affected how they were displayed in the network
dropdown, and resulted in slight differences to the network stack used
as well.
The problem was that `updateRpcTarget` was used, which was meant for
custom networks only. Now that `setProviderType` is used in the case of
a built-in network, the behaviour should match the network switcher
exactly.
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2021-06-09 19:57:10 -07:00
Dan J Miller
6124a221e4
Use verifyPassword instead of submitPassword in exportAccounts in actions.js ( #11265 )
2021-06-09 19:56:59 -07:00
ryanml
b0f90f13da
Adding back button to reveal seed phrase view ( #11246 )
...
Reveal seed phrase button placement fixes
Localizing uses of the word "Back"
2021-06-08 11:50:43 -07:00
Dan Miller
36b15c489d
Lint fix
2021-06-07 11:03:33 -02:30
ryanml
10f9912fd5
Supporting existing default networks in switchEthereumChain ( #11184 )
2021-06-07 10:38:33 -02:30
ryanml
f35bc1052a
Fixing ever-present scrollbar issue on Swaps view ( #11182 )
...
* Fixing ever-present scrollbar issue on Swaps view
* Updating max-height
2021-06-07 10:38:33 -02:30
ryanml
3d13b85213
Adding notification for updated seed phrase wording ( #11131 )
...
* Adding notification for updated seed phrase wording
* Updating e2e notification state
* Always displaying image for swaps notification
2021-06-07 10:38:28 -02:30
Daniel
207cde27a5
Fix a condition for checking if a token should be added ( #11127 )
2021-06-07 10:33:25 -02:30
Niranjana Binoy
d4cb403d51
Handling custom token decimal fetch failure due to network error ( #10956 )
2021-06-07 10:33:20 -02:30
Niranjana Binoy
6a73b7c998
Hide basic tab in advanced gas modal for speedup and cancel when on testnets ( #11115 )
2021-06-07 10:30:50 -02:30
Brad Decker
ce67e1bfcd
use safer toChecksum utility ( #11117 )
2021-06-07 10:30:49 -02:30
Brad Decker
19ec45ef35
create safer isValidAddress method ( #11089 )
2021-06-07 10:30:46 -02:30
ryanml
c5f3290cb1
Fixing unlocalized strings ( #11102 )
...
* Fixing unlocalized strings
Fixes MetaMask/metamask-extension#11094
* Removing aggregrate bullet from modal
* Updating bullet point keys
2021-06-07 10:16:19 -02:30
ryanml
226d23ee64
Fixing account search results ordering ( #11097 )
...
Removing 'shouldSort: false' from fuse.js' options config
Fixes MetaMask/metamask-extension#10991
2021-06-07 10:15:47 -02:30
Daniel
e4ac5eed94
Show a notification about BSC Swaps if a user is on the BSC Mainnet ( #11083 )
...
* Add a notification for BSC Swaps
* Add a new logo for BSC sources, update an image for BSC notification
* Mark a BSC notification as seen when a user clicks on “Start swapping”
* Add conditional rendering of notifications
* Remove divider for the last notification
* Remove a divider for the last notification
* Remove !
* Trigger pipeline
2021-06-07 10:15:41 -02:30
Daniel
3f70afb3ff
Swaps: Add specific error content if Contract data are not enabled on Ledger ( #11088 )
2021-06-07 10:07:44 -02:30
Daniel
79e79e9212
Swaps: Add more anonymized tracking for HW wallet and HW wallet type ( #11087 )
2021-06-07 10:07:44 -02:30
Daniel
cfe1ea2bea
Swaps: Add anonymized tracking for HW wallet and HW wallet type ( #11063 )
2021-06-07 10:06:18 -02:30
Daniel
da1720a9ec
Fix redirection to the build quotes page from the swaps failed page ( #11025 )
2021-06-07 10:02:42 -02:30
David Walsh
e69a6d6dee
Prevent signature request component from canceling hardware wallet signing ( #11013 )
2021-06-07 10:02:39 -02:30
ryanml
cfdfe0fcc6
Removing unused prop from TransactionActivityLog ( #11014 )
2021-06-07 10:02:39 -02:30
Mark Stacey
9d002cbff0
Remove SET_CURRENT_FIAT
action ( #11003 )
...
The `SET_CURRENT_FIAT` action has been removed. It has been replaced
by a call to `forceUpdateMetamaskState`. The only purpose of this
action was to eagerly update the current fiat currency settings before
the next state update. Forcing a state update instead is simpler and
safer.
The `setCurrentCurrency` function in the background has been updated to
no longer return the state, now that it's no longer needed.
2021-06-07 10:02:39 -02:30
Niranjana Binoy
e906bd8d0e
adding condition to check for non-mainnet network and test env ( #11007 )
2021-06-07 10:02:39 -02:30
Niranjana Binoy
640c6d98d3
replacing seed phrase with Secret Recovery Phrase ( #10994 )
2021-06-07 10:02:39 -02:30
Daniel
92a79904f7
Swaps: Improve hardware wallet UX ( #10987 )
2021-06-07 10:02:30 -02:30
ryanml
4016bb535b
Re-validating chain id when rpc url changes [custom network form] ( #10982 )
2021-06-07 10:02:30 -02:30
ryanml
d421e593a2
Allowing for scroll overflow when swaps content is too tall ( #10988 )
...
Fixes MetaMask/metamask-extension#10957
2021-06-07 10:00:16 -02:30
ryanml
b8d385be62
Revert "Revert "Adding recovery phrase video to onboarding process ( #10717 )""
...
This reverts commit 68c5defcdbb7cf3745c14c0023a1d3c37e657992.
2021-06-07 10:00:11 -02:30
Daniel
91601ebe5e
Allow 0% slippage, show a warning for 0 < slippage <= 1, disable "Review Swap" button for negative slippage ( #10936 )
...
* Allow 0% slippage, show a warning for 0 < slippage <= 1, disable “Review Swap” button for negative slippage
* Update a translation key, use both new and old key until it’s translated everywhere
* Keep an old key for `en`: swapSlippageTooLow
* Fix an ESLint issue
* Only use swapSlippageNegative, remove swapSlippageTooLow
2021-06-07 09:58:45 -02:30
Alex Donesky
ce8b173f56
add setting to dismiss seed phrase backup reminder ( #10967 )
2021-06-07 09:58:45 -02:30
Alex Donesky
fbe1da81a5
send user to activity after transaction complete ( #10946 )
2021-06-07 09:58:45 -02:30
ryanml
6fddd7f548
Removing gray background from contact address input ( #10971 )
2021-06-07 09:58:45 -02:30
David Walsh
f8e400f51c
Fix #10173 - Prevent lag in external monitors when using Mac + Chrome ( #10952 )
2021-06-07 09:58:45 -02:30
Brad Decker
29742b9519
remove the ui/app and ui/lib folders ( #10911 )
2021-06-06 12:45:27 -02:30
Niranjana Binoy
ffbd8e2c2f
Handling gas price fetch failure ( #10767 )
2021-06-06 12:10:08 -02:30
Dan J Miller
a6b1444b4d
Improve detection of whether a whats new notification was 'seen' ( #11225 )
2021-06-03 14:01:51 -02:30
Dan Miller
517daba1af
Revert "Revert "lint fix""
...
This reverts commit 02b442aace
.
2021-05-31 17:31:35 -02:30
Dan Miller
ad7b4595ce
Revert "Revert "Adding "What's New" notification for Ledger Support Update ( #11188 )""
...
This reverts commit 7365f87f9e
.
2021-05-31 17:31:23 -02:30
Dan Miller
c68a858688
Revert "Revert "Disable Ledger Live toggle for Firefox users ( #11169 )""
...
This reverts commit 6e0da428ac
.
2021-05-31 17:31:11 -02:30
Dan Miller
e3ed26cc24
Revert "Revert "Implement Ledger Live bridge ( #10293 )""
...
This reverts commit 56db48a1c3
.
2021-05-31 17:30:56 -02:30
Dan Miller
56db48a1c3
Revert "Implement Ledger Live bridge ( #10293 )"
...
This reverts commit 397417bf09
.
2021-05-28 16:17:17 -02:30
Dan Miller
6e0da428ac
Revert "Disable Ledger Live toggle for Firefox users ( #11169 )"
...
This reverts commit dec34fa4c6
.
2021-05-28 16:16:49 -02:30
Dan Miller
7365f87f9e
Revert "Adding "What's New" notification for Ledger Support Update ( #11188 )"
...
This reverts commit 939a34f16c
.
2021-05-28 16:16:37 -02:30
Dan Miller
02b442aace
Revert "lint fix"
...
This reverts commit 6dfab2e3c6
.
2021-05-28 16:16:25 -02:30
ryanml
6dfab2e3c6
lint fix
2021-05-26 14:55:25 -07:00
ryanml
939a34f16c
Adding "What's New" notification for Ledger Support Update ( #11188 )
...
* Adding "What's New" notification for Ledger Support Update
* Using Typography component
2021-05-26 14:38:11 -07:00
David Walsh
dec34fa4c6
Disable Ledger Live toggle for Firefox users ( #11169 )
2021-05-26 10:37:52 -07:00
David Walsh
397417bf09
Implement Ledger Live bridge ( #10293 )
2021-05-26 10:33:12 -07:00
ryanml
5364e417a3
lint fix
2021-05-24 16:28:18 -07:00