mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-28 23:06:37 +01:00
722c4e5b63
* GridPlus: Adds support for GridPlus Lattice1 hardware wallet
* Fixes issue with switching hardware HD path
The main `Select HD Path` piece of the account selection component was not
properly hooked up to the state manager (`onPathChange`) and the extra
`Popover` component was being used instead.
I'm not sure what the origin of this is, but I don't see why the Popover
is needed at all. I have remove it and hooked `onPathChange` directly into
the HD path selector dropdown.
This was an issue that nearly every Lattice user who had come from Ledger
has contacted us about.
* GridPlus: Addresses QA issues
* Adds Lattice tutorial + image
* Cleans up connectivity issues (see: https://github.com/GridPlus/eth-lattice-keyring/pull/16)
* GridPlus: Adds Firefox support
To connect to the Lattice you need to open a new tab/window and get
login data from it. We were not able to do this for Firefox because
we relied on the `window` API. This is now fixed.
See corresponding changes:
* `eth-lattice-keyring`: https://github.com/GridPlus/eth-lattice-keyring/pull/17
* Lattice connector: https://github.com/GridPlus/wallet-web/pull/152
* GridPlus: Adds missing error path for Firefox
See: 242a93f559
19 lines
9.7 KiB
XML
19 lines
9.7 KiB
XML
<svg width="213" height="78" viewBox="0 0 213 78" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="M103.333 32L109.425 37.29L103.333 42.58M96 37.21H109.5" stroke="#3098DC"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M202.536 76.19H119.162C118.68 76.1892 118.203 76.0934 117.757 75.9082C117.312 75.7229 116.908 75.4517 116.568 75.1102C116.227 74.7686 115.958 74.3634 115.774 73.9176C115.59 73.4718 115.496 72.9942 115.497 72.512V4.677C115.496 4.19492 115.59 3.7174 115.774 3.27171C115.958 2.82602 116.228 2.42089 116.568 2.07945C116.908 1.73801 117.313 1.46695 117.758 1.28173C118.203 1.09652 118.68 1.00079 119.162 1H202.536C203.018 1.00066 203.495 1.0963 203.941 1.28147C204.386 1.46663 204.79 1.73769 205.13 2.07916C205.471 2.42063 205.74 2.82581 205.924 3.27156C206.108 3.7173 206.202 4.19488 206.201 4.677V72.512C206.202 72.9942 206.108 73.4719 205.924 73.9177C205.741 74.3636 205.471 74.7689 205.131 75.1105C204.79 75.4521 204.386 75.7232 203.941 75.9084C203.496 76.0937 203.018 76.1893 202.536 76.19Z" fill="#FEFEFE"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M202.536 76.19H119.162C118.68 76.1892 118.203 76.0934 117.757 75.9082C117.312 75.7229 116.908 75.4517 116.568 75.1102C116.227 74.7686 115.958 74.3634 115.774 73.9176C115.59 73.4718 115.496 72.9942 115.497 72.512V4.677C115.496 4.19492 115.59 3.7174 115.774 3.27171C115.958 2.82602 116.228 2.42089 116.568 2.07945C116.908 1.73801 117.313 1.46695 117.758 1.28173C118.203 1.09652 118.68 1.00079 119.162 1H202.536C203.018 1.00066 203.495 1.0963 203.941 1.28147C204.386 1.46663 204.79 1.73769 205.13 2.07916C205.471 2.42063 205.74 2.82581 205.924 3.27156C206.108 3.7173 206.202 4.19488 206.201 4.677V72.512C206.202 72.9942 206.108 73.4719 205.924 73.9177C205.741 74.3636 205.471 74.7689 205.131 75.1105C204.79 75.4521 204.386 75.7232 203.941 75.9084C203.496 76.0937 203.018 76.1893 202.536 76.19V76.19Z" stroke="#3098DC"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M210.706 76.63H111.222C111.061 76.6299 110.902 76.598 110.754 76.5363C110.605 76.4746 110.47 76.3842 110.357 76.2704C110.243 76.1565 110.153 76.0214 110.092 75.8727C110.031 75.724 110 75.5648 110 75.404V70.871C110 70.194 110.547 69.645 111.222 69.645H210.706C211.38 69.645 211.927 70.194 211.927 70.871V75.404C211.927 76.081 211.38 76.63 210.706 76.63Z" fill="#D9F0FF"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M210.706 76.63H111.222C111.061 76.6299 110.902 76.598 110.754 76.5363C110.605 76.4746 110.47 76.3842 110.357 76.2704C110.243 76.1565 110.153 76.0214 110.092 75.8727C110.031 75.724 110 75.5648 110 75.404V70.871C110 70.194 110.547 69.645 111.222 69.645H210.706C211.38 69.645 211.927 70.194 211.927 70.871V75.404C211.927 76.081 211.38 76.63 210.706 76.63Z" stroke="#3098DC"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M119.772 64.695H202.155V5.90302H119.772V64.695Z" fill="#FEFEFE"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M119.772 64.695H202.155V5.90302H119.772V64.695Z" stroke="#3098DC"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M163.433 52.476H158.382C158.294 52.4765 158.207 52.4496 158.135 52.399L155.146 50.307L153.832 49.221L146.537 51.249C146.427 51.2786 146.309 51.2638 146.21 51.2076C146.111 51.1515 146.037 51.0586 146.006 50.949L143.891 43.608C143.867 43.5246 143.868 43.4358 143.894 43.353L146.141 36.283L144.792 34.683C144.753 34.6369 144.724 34.5833 144.707 34.5255C144.69 34.4678 144.685 34.4071 144.692 34.3473C144.699 34.2875 144.719 34.2298 144.749 34.1778C144.78 34.1258 144.82 34.0806 144.869 34.045L145.111 33.869L144.437 33.249C144.391 33.2058 144.354 33.1532 144.33 33.0947C144.306 33.0363 144.295 32.9733 144.297 32.91C144.299 32.8468 144.315 32.7848 144.343 32.7282C144.372 32.6716 144.412 32.6217 144.461 32.582L144.841 32.281L144.221 31.804C144.168 31.7625 144.125 31.7092 144.096 31.6485C144.066 31.5877 144.051 31.521 144.052 31.4535C144.053 31.3861 144.069 31.3196 144.099 31.2594C144.129 31.1991 144.173 31.1466 144.227 31.106L144.682 30.766L143.602 25.529C143.586 25.4528 143.591 25.3737 143.616 25.3L145.262 20.299C145.28 20.2439 145.309 20.1929 145.348 20.1493C145.386 20.1056 145.433 20.0701 145.485 20.0448C145.537 20.0195 145.594 20.005 145.652 20.0021C145.71 19.9993 145.768 20.008 145.823 20.028L156.483 24.051H165.332L175.99 20.028C176.045 20.0072 176.103 19.9977 176.161 20.0001C176.22 20.0026 176.277 20.017 176.329 20.0423C176.382 20.0677 176.429 20.1036 176.467 20.1477C176.505 20.1918 176.534 20.2433 176.552 20.299L178.199 25.302C178.223 25.3749 178.227 25.4528 178.212 25.528L177.144 30.768L177.591 31.108C177.644 31.1493 177.686 31.202 177.716 31.2622C177.745 31.3224 177.761 31.3885 177.761 31.4555C177.761 31.5225 177.746 31.5887 177.717 31.6491C177.688 31.7094 177.646 31.7624 177.593 31.804L176.974 32.281L177.354 32.582C177.454 32.662 177.514 32.782 177.518 32.91C177.521 32.9731 177.509 33.036 177.485 33.0944C177.461 33.1528 177.424 33.2052 177.378 33.248L176.704 33.869L176.946 34.045C176.995 34.0805 177.036 34.1257 177.066 34.1777C177.097 34.2298 177.116 34.2876 177.123 34.3476C177.13 34.4075 177.125 34.4683 177.107 34.526C177.09 34.5837 177.06 34.6372 177.021 34.683L175.674 36.282L177.934 43.352C177.96 43.4348 177.961 43.5236 177.937 43.607L175.807 50.95C175.775 51.0591 175.702 51.1514 175.603 51.2073C175.504 51.2631 175.387 51.2781 175.277 51.249L167.982 49.221L166.628 50.337L163.678 52.399C163.606 52.4491 163.521 52.476 163.433 52.476Z" fill="#FEFEFE"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M163.433 52.476H158.382C158.294 52.4765 158.207 52.4496 158.135 52.399L155.146 50.307L153.832 49.221L146.537 51.249C146.427 51.2786 146.309 51.2638 146.21 51.2076C146.111 51.1515 146.037 51.0586 146.006 50.949L143.891 43.608C143.867 43.5246 143.868 43.4358 143.894 43.353L146.141 36.283L144.792 34.683C144.753 34.6369 144.724 34.5833 144.707 34.5255C144.69 34.4678 144.685 34.4071 144.692 34.3473C144.699 34.2875 144.719 34.2298 144.749 34.1778C144.78 34.1258 144.82 34.0806 144.869 34.045L145.111 33.869L144.437 33.249C144.391 33.2058 144.354 33.1532 144.33 33.0947C144.306 33.0363 144.295 32.9733 144.297 32.91C144.299 32.8468 144.315 32.7848 144.343 32.7282C144.372 32.6716 144.412 32.6217 144.461 32.582L144.841 32.281L144.221 31.804C144.168 31.7625 144.125 31.7092 144.096 31.6485C144.066 31.5877 144.051 31.521 144.052 31.4535C144.053 31.3861 144.069 31.3196 144.099 31.2594C144.129 31.1991 144.173 31.1466 144.227 31.106L144.682 30.766L143.602 25.529C143.586 25.4528 143.591 25.3737 143.616 25.3L145.262 20.299C145.28 20.2439 145.309 20.1929 145.348 20.1493C145.386 20.1056 145.433 20.0701 145.485 20.0448C145.537 20.0195 145.594 20.005 145.652 20.0021C145.71 19.9993 145.768 20.008 145.823 20.028L156.483 24.051H165.332L175.99 20.028C176.045 20.0072 176.103 19.9977 176.161 20.0001C176.22 20.0026 176.277 20.017 176.329 20.0423C176.382 20.0677 176.429 20.1036 176.467 20.1477C176.505 20.1918 176.534 20.2433 176.552 20.299L178.199 25.302C178.223 25.3749 178.227 25.4528 178.212 25.528L177.144 30.768L177.591 31.108C177.644 31.1493 177.686 31.202 177.716 31.2622C177.745 31.3224 177.761 31.3885 177.761 31.4555C177.761 31.5225 177.746 31.5887 177.717 31.6491C177.688 31.7094 177.646 31.7624 177.593 31.804L176.974 32.281L177.354 32.582C177.454 32.662 177.514 32.782 177.518 32.91C177.521 32.9731 177.509 33.036 177.485 33.0944C177.461 33.1528 177.424 33.2052 177.378 33.248L176.704 33.869L176.946 34.045C176.995 34.0805 177.036 34.1257 177.066 34.1777C177.097 34.2298 177.116 34.2876 177.123 34.3476C177.13 34.4075 177.125 34.4683 177.107 34.526C177.09 34.5837 177.06 34.6372 177.021 34.683L175.674 36.282L177.934 43.352C177.96 43.4348 177.961 43.5236 177.937 43.607L175.807 50.95C175.775 51.0591 175.702 51.1514 175.603 51.2073C175.504 51.2631 175.387 51.2781 175.277 51.249L167.982 49.221L166.628 50.337L163.678 52.399C163.606 52.4491 163.521 52.476 163.433 52.476V52.476Z" stroke="#3098DC"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M162.048 47.58H159.478L159.032 47.936L158.862 50.075H162.664L162.494 47.935L162.048 47.58ZM164.834 39.14L163.771 41.486C163.685 41.676 163.856 41.881 164.051 41.821L167.674 40.701C167.881 40.638 167.901 40.343 167.705 40.249L165.145 39.022C165.117 39.0089 165.087 39.0015 165.056 39.0003C165.025 38.9991 164.994 39.0041 164.965 39.015C164.936 39.0259 164.91 39.0425 164.888 39.0638C164.865 39.0851 164.847 39.1107 164.835 39.139L164.834 39.14ZM156.67 39.022L154.112 40.249C153.916 40.343 153.936 40.637 154.143 40.702L157.767 41.821C157.961 41.881 158.132 41.675 158.046 41.485L156.979 39.139C156.967 39.1107 156.949 39.0851 156.926 39.0638C156.904 39.0425 156.878 39.0259 156.849 39.015C156.82 39.0041 156.789 38.9991 156.758 39.0003C156.727 39.0015 156.697 39.0089 156.669 39.022" fill="#3098DC"/>
|
|
<rect x="0.5" y="3.5" width="69" height="69" rx="8.5" stroke="#3098DC"/>
|
|
<path d="M67.0547 23.8164C67.0547 22.4724 68.1442 21.3828 69.4883 21.3828C70.8323 21.3828 71.9219 22.4724 71.9219 23.8164V52.3242C71.9219 53.6683 70.8323 54.7578 69.4883 54.7578C68.1442 54.7578 67.0547 53.6683 67.0547 52.3242V23.8164Z" fill="white"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M71.2266 52.3242V23.8164C71.2266 22.8564 70.4483 22.0781 69.4883 22.0781C68.5283 22.0781 67.75 22.8564 67.75 23.8164V52.3242C67.75 53.2842 68.5283 54.0625 69.4883 54.0625C70.4483 54.0625 71.2266 53.2842 71.2266 52.3242ZM69.4883 21.3828C68.1442 21.3828 67.0547 22.4724 67.0547 23.8164V52.3242C67.0547 53.6683 68.1442 54.7578 69.4883 54.7578C70.8323 54.7578 71.9219 53.6683 71.9219 52.3242V23.8164C71.9219 22.4724 70.8323 21.3828 69.4883 21.3828Z" fill="#3098DC"/>
|
|
<path d="M70.25 25.3594H89.9141C90.79 25.3594 91.5 26.0694 91.5 26.9453V49.8906C91.5 50.7665 90.79 51.4766 89.9141 51.4766H70.25V25.3594Z" fill="#D8F0FE" stroke="#3098DC"/>
|
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M46 72L46 3L47 3L47 72L46 72Z" fill="#3098DC"/>
|
|
<rect x="7" y="10" width="33" height="56" fill="#D8F0FE" stroke="#3098DC"/>
|
|
</svg>
|