1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/ui
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
..
__mocks__ Increase Jest unit test coverage for the Swaps feature to ~60% (#11343) 2021-07-02 08:48:34 -05:00
components Split SRP input by word (#14016) 2022-03-21 18:53:07 -02:30
contexts Adding metrics events for EIP-1559 V2 flow (#13329) 2022-02-01 23:23:03 +05:30
css Use ActionableMessage for ConfirmAddSuggestionToken warnings (#13402) 2022-02-01 15:30:15 +00:00
ducks Set up the right gasLimit for STX (#13891) 2022-03-09 23:50:02 -03:30
helpers Persisting token address via URL (Token Details page) (#13807) 2022-03-02 09:05:41 -07:00
hooks Fix v10.11: Unable to find value of key "eth_accounts" for locale "en" in Permissions Modal (#13833) 2022-03-04 13:40:58 -03:30
pages Add data-test-id prop to TextField component (#13973) 2022-03-21 18:51:18 -02:30
selectors Add support for Smart Transactions (#12676) 2022-02-18 17:48:38 +01:00
store Update SRP representation 2022-03-08 17:15:11 -03:30
index.js Include transactions from all networks in state logs (#13599) 2022-02-14 13:29:24 -05:00