1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/app
Mark Stacey 00341cd3b3 Split SRP input by word (#14016)
* Initial implementation of new SrpInput component

This new version of the SrpInput component uses a separate field for
each word of the SRP. Only one field can be revealed at a time, making
it less likely that it gets accidentally revealed to somebody.

* Fix copy mistakes

* Move container div from 'create vault' to 'srp-input', and setup grid layout

* Increase size of title

* Remove hard-coded width in Storybook to allow testing different viewport sizes

* Improve layout

* Improve margins

* Update dropdown text

* Expand SRP input section

* Remove unused localized messages

* Update dropdown option names in unit tests

* Replace checkbox with show/hide toggle

* Remove unused localized message

* Fix 'data-testid' prop name

* Fix e2e test imports using paste

* Use 'ActionableMessage' component for error message

* Convert error popover to actionable message

* Add tip about pasting the SRP

* Remove invalid prop

The "info" style of `ActionableMessage` is the default, so no type is
required.

* Use more readable test convenience methods

The method `toBeInTheDocument()` is now used over `not.toBeNull()` to
improve the readability of tests. Likewise, the convenience method
`.clear` is now used to clear fields rather than manually entering the
key combination to clear a field.

* Fix misspelled word
2022-03-21 18:53:07 -02:30
..
_locales Split SRP input by word (#14016) 2022-03-21 18:53:07 -02:30
build-types Add Chrome store policy compliant names/descriptions (#13142) 2021-12-22 16:25:27 -03:30
fonts Add euclid fontface (#9018) 2020-07-27 17:15:44 -05:00
images Add support for Smart Transactions (#12676) 2022-02-18 17:48:38 +01:00
manifest [GridPlus] Updates Lattice dependencies (#13834) 2022-03-08 15:54:29 -03:30
scripts @metamask/controllers@26.0.0 (#13867) 2022-03-16 13:12:37 -02:30
vendor/trezor Update postMessage structure for TrezorConnect 8 (#10192) 2021-01-21 11:12:54 -06:00
background.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
home.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
loading.html refactor & change html pages 2019-05-04 18:57:19 +02:00
notification.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
phishing.html Update phishing.html (#13323) 2022-01-24 12:11:18 -06:00
popup.html Lavamoat build system integration for WebApp (#12242) 2021-10-05 12:06:31 -10:00
trezor-usb-permissions.html trezor v5 working on firefox 2018-08-05 02:43:02 -04:00