1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/helpers/utils
Howard Braham 9acd4b4ea1
feat(srp): add a quiz to the SRP reveal (#19283)
* feat(srp): add a quiz to the SRP reveal

* fixed the popover header centering

* lint fixes

* converted from `ui/components/ui/popover` to `ui/components/component-library/modal`

* responded to @darkwing review

* added unit tests

* renamed the folder to 'srp-quiz-modal'

* responded to Monte's review

* using i18n-helper in the test suite

* small improvement to JSXDict comments

* wrote a new webdriver.holdMouseDownOnElement() to assist with testing the "Hold to reveal SRP" button

* Updating layout and some storybook naming and migrating to tsx

* Apply suggestions from @georgewrmarshall

Co-authored-by: George Marshall <george.marshall@consensys.net>

* Unit test searches by data-testid instead of by text

* new layout and copy for the Settings->Security page

* now with 100% test coverage for /ui/pages/settings/security-tab
fixes #16871
fixes #18140

* e2e tests to reveal SRP after quiz

* e2e- Fix lint, remove unneeded extras

* @coreyjanssen and @georgewrmarshall compromise

Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: Corey Janssen <corey.janssen@consensys.net>

* trying isRequired again

* transparent background on PNG

* [e2e] moving functions to helpers and adding testid for SRP reveal quiz (#19481)

* moving functions to helpers and adding testid

* fix lint error

* took out the IPFS gateway fixes

* lint fix

* translations of SRP Reveal Quiz

* new Spanish translation from Guto

* Update describe for e2e tests

* Apply suggestion from @georgewrmarshall

Co-authored-by: George Marshall <george.marshall@consensys.net>

* fixed the Tab key problem

---------

Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
Co-authored-by: Plasma Corral <32695229+plasmacorral@users.noreply.github.com>
Co-authored-by: Corey Janssen <corey.janssen@consensys.net>
2023-06-20 14:27:10 -04:00
..
__snapshots__ Support translation in background code (#19650) 2023-06-20 13:44:11 +01:00
optimism Upgrade assets-controllers to v9 (#19472) 2023-06-09 15:48:48 -05:00
accounts.js
build-types.js
common.util.js
common.util.test.js
confirm-tx.util.test.js
confirm-tx.util.ts
export-utils.js
formatters.js
gas.js
gas.test.js
hardware.js
i18n-helper.test.js Support translation in background code (#19650) 2023-06-20 13:44:11 +01:00
i18n-helper.tsx Support translation in background code (#19650) 2023-06-20 13:44:11 +01:00
icon-factory.js
is-mobile-view.js
metric.test.js
metrics.js
nfts.js
nfts.test.js
permission.js [FLASK] Fix usages of getSnapName (#19546) 2023-06-09 16:37:38 +02:00
portfolio.js
settings-search.js
settings-search.test.js feat: add new linea mainnet network (#19326) 2023-06-16 14:05:33 -02:30
token-util.js
transactions.util.js Fix details when transferring NFT not added to wallet (#19045) 2023-06-02 18:33:10 +05:30
transactions.util.test.js
tx-helper.test.js
tx-helper.ts
util.js feat: add new linea mainnet network (#19326) 2023-06-16 14:05:33 -02:30
util.test.js
webcam-utils.js
window.ts