1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/ui/components/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
..
account-list-item Fix account-list-item component for new Storybook format (#12893) 2021-12-07 09:45:04 -08:00
account-menu Ensure accounts still line up in dropdown (#13986) 2022-03-16 17:21:46 -05:00
add-network Dark Mode : AddNetwork (#13999) 2022-03-17 14:40:12 +01:00
advanced-gas-controls Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
advanced-gas-fee-popover Degrade gracefully when gas API is down (#13865) 2022-03-11 11:59:58 -07:00
alerts General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
app-header General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
app-loading-spinner General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
asset-list Remove usages of useMetricEvent hook (#13930) 2022-03-14 13:12:38 -05:00
asset-list-item add asset_type to transactions (#13858) 2022-03-16 17:15:03 -05:00
cancel-button UX Papercuts Epic: Create a consistent representation of the Buttons (#12096) 2021-10-05 15:20:42 -04:00
cancel-speedup-popover Removing EIP_1559_V2 feature flag (#13481) 2022-02-03 05:58:28 +05:30
collectible-details add asset_type to transactions (#13858) 2022-03-16 17:15:03 -05:00
collectible-options Dark Mode: Collectibles (#14060) 2022-03-21 08:29:56 -05:00
collectibles-detection-notice Dark Mode: Collectibles (#14060) 2022-03-21 08:29:56 -05:00
collectibles-items General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
collectibles-tab Find and replace of all typography colors to design tokens (#13885) 2022-03-09 07:24:53 -08:00
confirm-page-container Dark Mode: more icon updates (#14064) 2022-03-21 08:29:57 -07:00
connected-accounts-list General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
connected-accounts-permissions Dark Mode : Connected account popover (#13932) 2022-03-17 19:23:56 +01:00
connected-sites-list changed icon to button for connected-sites-list (#13476) 2022-01-31 15:33:35 -05:00
connected-status-indicator General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
contact-list Use ternary conditionals instead of && (#12406) 2021-10-21 11:11:31 -05:00
create-new-vault Split SRP input by word (#14016) 2022-03-21 16:39:26 -02:30
currency-input Revert "Allow sending up to 15 decimals on the send screen (#12707)" (#13823) 2022-03-02 17:28:56 -07:00
dropdowns General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
edit-gas-display Dark Mode : Gas fee (#14005) 2022-03-18 19:43:10 -05:00
edit-gas-display-education Dark Mode : Gas fee (#14005) 2022-03-18 19:43:10 -05:00
edit-gas-fee-button Dark Mode : Gas fee (#14005) 2022-03-18 19:43:10 -05:00
edit-gas-fee-popover Dark Mode : Gas fee (#14005) 2022-03-18 19:43:10 -05:00
edit-gas-popover Proper calculation of the gas limit (#12784) 2022-01-21 09:58:59 -06:00
flask Show snap version on install (#13931) 2022-03-14 18:40:21 +01:00
gas-customization Dark Mode : Gas fee (#14005) 2022-03-18 19:43:10 -05:00
gas-details-item Dark Mode: updating COLORS.BLACK to COLORS.TEXT_DEFAULT (#14063) 2022-03-21 08:58:27 -05:00
gas-timing Dark Mode : Gas fee (#14005) 2022-03-18 19:43:10 -05:00
home-notification Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
import-token-link Remove usages of useMetricEvent hook (#13930) 2022-03-14 13:12:38 -05:00
info-box Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
ledger-instruction-field Check if ledger was successfully able to establish transport on confirm screen mount (#12535) 2021-11-04 15:49:53 -02:30
loading-network-screen UX Papercuts Epic: Create a consistent representation of the Buttons (#12096) 2021-10-05 15:20:42 -04:00
menu-bar Deprecate extensionizer for webextension-polyfill (#13960) 2022-03-18 14:07:05 -05:00
metamask-template-renderer Add TextArea to safe components list (#13468) 2022-01-31 10:41:07 -08:00
metamask-translation Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
modal Dark Mode: Modals (#14030) 2022-03-21 08:39:28 -05:00
modals Dark Mode: Modals (#14030) 2022-03-21 08:39:28 -05:00
multilayer-fee-message Adds multilayer fee display to erc20 token approval screen (#12824) 2021-11-29 13:23:37 -03:30
multiple-notifications Fixed multiple-notifications css (#13469) 2022-01-31 09:09:21 -08:00
network-display Removing iconClassName prop from NetworkDisplay (#14035) 2022-03-18 10:40:44 -07:00
permission-page-container Fix permission list shrinking with less text (#13996) 2022-03-16 18:37:50 +01:00
permissions-connect-footer added extension changes from snaps branch (#13433) 2022-01-28 12:39:32 -05:00
permissions-connect-header Dark Mode: Permissions header (#14017) 2022-03-21 08:35:58 -05:00
permissions-connect-permission-list Fix permission list shrinking with less text (#13996) 2022-03-16 18:37:50 +01:00
qr-hardware-popover Remove dupe Prettier config from ESLint config (#13234) 2022-01-06 15:56:51 -07:00
recovery-phrase-reminder Find and replace of all typography colors to design tokens (#13885) 2022-03-09 07:24:53 -08:00
selected-account General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
signature-request Dark Mode: Signature Windows (#14018) 2022-03-21 08:35:23 -05:00
signature-request-original Dark Mode: Signature Windows (#14018) 2022-03-21 08:35:23 -05:00
srp-input Split SRP input by word (#14016) 2022-03-21 16:39:26 -02:30
step-progress-bar Dark Mode : Onboarding flow (#14020) 2022-03-18 19:43:33 -05:00
tab-bar Updating settings icons to use fontawesome and removing unused svgs (#14061) 2022-03-21 08:58:36 -05:00
token-cell Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
token-list Integrate TokensController (#11552) 2021-09-10 12:37:19 -05:00
token-list-display Feat/hide 0 balances (#13306) 2022-02-02 12:32:16 +01:00
transaction-activity-log Dark Mode: Update transaction detail activity log (#13919) 2022-03-15 09:38:47 -05:00
transaction-breakdown General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
transaction-decoding Untranslated string fix (#13615) 2022-02-14 08:52:04 -07:00
transaction-detail Add support for Smart Transactions (#12676) 2022-02-18 17:48:38 +01:00
transaction-detail-item Dark Mode: Swaps Colors (#13976) 2022-03-17 13:04:01 -05:00
transaction-icon Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
transaction-list General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
transaction-list-item General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
transaction-list-item-details General backgrounds and borders design token updates (#13764) 2022-03-16 15:49:25 +01:00
transaction-status Small fixes for Swaps (#13732) 2022-02-23 22:10:28 +01:00
transaction-total-banner Find and replace of all typography colors to design tokens (#13885) 2022-03-09 07:24:53 -08:00
user-preferenced-currency-display Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
user-preferenced-currency-input Fix currency toggle (#13813) 2022-03-02 18:57:46 +01:00
user-preferenced-token-input remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
wallet-overview Fix token icon when going from token detail to swaps (#14062) 2022-03-21 08:29:38 -05:00
whats-new-popup Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
app-components.scss Snap removal confirmation (#13619) 2022-03-09 22:20:48 +02:00
menu-droppo.js Remove legacy node parent detection (#12814) 2021-12-10 13:17:18 -06:00