1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/app/images
Mark Stacey a6f2156386
Update account options menu design (#8654)
The `AccountDetailsDropdown` component has been rewritten to use the
new `Menu` component, and to follow the latest designs.

This should be functionally equivalent. A couple of the icons have
changed, but that's about it.

Support for a subtitle was added to `MenuItem` to support the `origin`
subtitle used for the explorer link for custom RPC endpoints.

A few adjustments were required to `test/helper.js` to accommodate
the use of `Menu` from a JSDOM context (this is the first time it's
been used in a unit test). A `popover-content` element was added to the
fake DOM, and another global was added that `react-popper` used
internally.

An additional driver method (`clickPoint`) was added to the e2e driver
to allow clicking the background behind the menu to dismiss it. This
wasn't possible using the `clickElement` method, because that method
would refuse to click an obscured element. The only non-obscured
element to click was the menu backdrop, and that didn't work either
because the center was obscured by the menu (Selenium clicks the center
of whichever element is targeted).
2020-05-27 12:31:53 -03:00
..
icons Update account options menu design (#8654) 2020-05-27 12:31:53 -03:00
logo Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
404.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
alert-red.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
alert.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
arrow-popout.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
arrow-right.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
camera.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
cancel.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
caret-left-black.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
caret-left.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
caret-right.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
check-green-solid.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
check-icon.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
check-white.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
close-gray.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
coinbase logo.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
coinswitch_logo.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
connect-icon.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
connect-white.svg Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
copy.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
deadface.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
deposit-eth.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
double-arrow.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
download-alt.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
download.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
enslogo.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
eth_logo.svg Update ETH logo, update deposit Ether logo height and width (#7239) 2019-10-02 10:15:44 -06:00
eth.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
ethereum-metamask-chrome.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
forward-carrat.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
hardware-wallet-step-1.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
hardware-wallet-step-2.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
hardware-wallet-step-3.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
help.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
icon-16.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-19.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-32.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-38.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-64.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-128.png Utilize the full size of icon space (#7408) 2019-11-14 18:54:24 -04:00
icon-512.png Update 512px icon (#7434) 2019-11-15 13:23:59 -04:00
import-account.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
info-logo.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
key-32.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
ledger-logo.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
loading.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
lock.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
loginglogo.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
logo.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
meta-shield.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
metrics-chart.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
mm-bolt.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
mm-info-icon.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
mm-secure.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
open.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
permissions-check.svg Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
plus-btn-white.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
popout.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
pw128x128.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
pw-48x48.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
pw-128x128.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
qr-blue.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
qr.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
search-black.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
search.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
settings.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
shapeshift logo.png Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
single-arrow.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
sleuth.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
spinner.gif Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
switch_acc.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
thin-plus.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
tokensearch.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
trezor-logo.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
user-check.svg Redesign approve screen (#7271) 2019-11-05 11:43:48 -03:30
warning.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
webcam.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00
wyre.svg Performance: Delivery optimized images (#7176) 2019-09-17 19:01:48 -03:00