1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app
Mark Stacey 2931957870
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 16:39:26 -02:30
..
_locales Split SRP input by word (#14016) 2022-03-21 16:39:26 -02:30
build-types Dark Mode: Create Theme-friendly top left logo component (#13897) 2022-03-11 10:45:13 -06:00
fonts
images Dark Mode: more icon updates (#14064) 2022-03-21 08:29:57 -07:00
manifest [GridPlus] Updates Lattice dependencies (#13834) 2022-03-07 09:28:30 -06:00
scripts Add a new fiat onboarding option via MoonPay (#13934) 2022-03-21 10:26:52 +01:00
vendor/trezor
background.html
home.html
loading.html
notification.html
phishing.html General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
popup.html
trezor-usb-permissions.html