1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app
Mark Stacey d1e8f5db86
Prevent redirecting to swaps in notification (#9497)
If a notification popup was opened while the user was partway through
the swaps flow, the notification would display the swaps flow instead
of whatever action triggered the popup (e.g. a connect request or a
confirmation). This is confusing and potentially dangerous, as the
user might mistakenly think the swap was triggered by a dapp.

The swap redirects are now prevented in the notification UI. The user
will still be redirected to an in-progress swap flow if they open the
browser action popup or the fullscreen UI, but not on the notification
popup that is triggered by dapp actions.
2020-10-07 13:49:47 -02:30
..
components Fix IconButton prop type (#9489) 2020-10-06 14:09:12 -07:00
contexts add segment implementation of metametrics (#9382) 2020-09-14 12:04:05 -05:00
css Feature/hide seedphrase when restoring vault (#9329) 2020-09-02 11:45:09 -04:00
ducks Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
helpers Check specified chain ID against endpoint return value (#9491) 2020-10-07 11:58:22 -02:30
hooks Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
pages Prevent redirecting to swaps in notification (#9497) 2020-10-07 13:49:47 -02:30
selectors Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
store Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30