1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/ui/hooks
Monte Lai cdc1bce688
SRP hold to reveal (#17232)
* refactor class to functional component

* update messages

* fix: use classnames

* feat: add hold to reveal modal

* feat: add new zendesk url for secret recovery phrase and noncustodial wallet

* update: clipboard to clear copied text after delay

* fix: remove save to csv

* feat: update styles for reveal seed page

* fix: update reveal seed snapshot

* add test to check for modal

* fix: lint

* fix: unused messages locale

* fix: use new banner component

* fix: use new button from design system

* fix: update snapshot

* fix: lint

* revert text

* fix: lint

* fix: remove --copy-only

* fix: marginBottom prop value

* fix: iconName and prop error

* --made the QR code slightly smaller so it's less likely to have a scrollbar
--updated the snapshots

* fix: error message not displaying

* SRP hold to reveal using more DS components (#17583)

* Updating to add DS components and remove CSS

* Fixing rendered html and removing some unneeded props

* fix: set block to true

---------

Co-authored-by: Monte <monte.lai@consensys.net>

* fix: add descriptions to messages

* Update ui/components/ui/export-text-container/export-text-container.component.js

fix: lint

Co-authored-by: HowardBraham <HowardBraham@users.noreply.github.com>

* fix: remove using displayWarning in requestRevealSeedWords

* fix: update test to remove displayError

* fix: update design system enums

* fix: messages descriptions

* fix: banner to banneralert

* fix: update preview

* add additional tests

* fix: use jest instead of sinon

* add test if long press isn't completed

* add test if password is wrong

---------

Co-authored-by: Howard Braham <howrad@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-02-15 10:07:33 -08:00
..
flask [FLASK] Fix race condition with transaction insights (#16956) 2022-12-14 19:50:23 +01:00
gasFeeInput Ensure the advanced gas modal displays a zero priority fee if that is how it is set in the transaction (#17559) 2023-02-03 12:30:49 -03:30
useAddressDetails.js Token detection V2 Flag Removal and Re-introducing the use of legacy token list when token detection is OFF (#15138) 2022-08-09 22:56:25 -02:30
useAddressDetails.test.js Deprecating the Rinkeby, Ropsten, and Kovan test networks (#15989) 2022-09-28 20:26:01 -07:00
useApproveTransaction.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useAssetDetails.js Track when token balance is changed to update value on approval screen (#16964) 2022-12-20 09:24:28 -03:30
useAssetDetails.test.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
useCopyToClipboard.js SRP hold to reveal (#17232) 2023-02-15 10:07:33 -08:00
useCurrencyDisplay.js Replace usages of conversion util in rest of UI folder in favor of Numeric (#17334) 2023-01-24 08:44:49 -06:00
useCurrencyDisplay.test.js move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
useCurrentAsset.js extract determineTransactionType from tx controller (#13737) 2022-03-07 12:54:36 -06:00
useEqualityCheck.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useEthFiatAmount.js Relocate conversion utils to shared/modules/conversion.utils.js (#17319) 2023-01-20 11:04:37 -06:00
useEventFragment.js remove exclusions for mismatched object jsdoc type casing (#15351) 2022-07-27 08:28:05 -05:00
useEventFragment.test.js Remove the useSegmentContext function from metametrics.new.js (#14013) 2022-03-25 09:26:09 -05:00
useGasFeeEstimates.js Removing flag for EIP1559 V2 support (#16446) 2022-12-09 00:07:06 +05:30
useGasFeeEstimates.test.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
useI18nContext.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useIncrementedGasFees.js Replace usages of conversion util in rest of UI folder in favor of Numeric (#17334) 2023-01-24 08:44:49 -06:00
useMethodData.js remove exclusions for mismatched object jsdoc type casing (#15351) 2022-07-27 08:28:05 -05:00
useNftsCollections.js converted collectibles files to nfts (#17658) 2023-02-08 20:04:56 +05:30
useOriginMetadata.js Move subject type enum to @metamask/subject-metadata-controller (#16431) 2023-01-24 16:03:01 +01:00
usePrevious.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useRouting.js Refactor conf-tx.js (#17380) 2023-02-01 11:24:18 +05:30
useSafeGasEstimatePolling.js Stop GasFeeController polling when pop closes (#11746) 2021-08-04 16:53:13 -05:00
useSegmentContext.js Remove the useSegmentContext function from metametrics.new.js (#14013) 2022-03-25 09:26:09 -05:00
useShouldAnimateGasEstimations.js Improve flashing behaviour for loading gas estimates (on confirm screen) (#11852) 2021-08-16 20:18:24 -02:30
useShouldShowSpeedUp.js remove exclusions for mismatched object jsdoc type casing (#15351) 2022-07-27 08:28:05 -05:00
useSimulationFailureWarning.js Display a warning and gas fee component for token allowance and NFT flow when transaction is expected to fail (#17437) 2023-02-01 17:14:09 -06:00
useSwappedTokenValue.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
useTimeout.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useTokenData.js remove exclusions for mismatched object jsdoc type casing (#15351) 2022-07-27 08:28:05 -05:00
useTokenData.test.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
useTokenDisplayValue.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
useTokenDisplayValue.test.js Remove related UI code from the app dir (#15384) 2022-09-16 14:05:21 -05:00
useTokenFiatAmount.js update prettier (#15360) 2022-07-31 13:26:40 -05:00
useTokensToSearch.js feat(mme-17212): convert shared/constants/swaps.js -> Typescript (#17322) 2023-01-24 16:38:01 +00:00
useTokenTracker.js extract determineTransactionType from tx controller (#13737) 2022-03-07 12:54:36 -06:00
useTransactionDisplayData.js Copy update on Transaction breakdown for ApproveToken (#17296) 2023-01-25 10:15:58 -05:00
useTransactionDisplayData.test.js fix test of useTransactionDisplayData for different timezone (#17063) 2023-02-08 17:13:39 -06:00
useTransactionEventFragment.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
useTransactionInsights.js Refactoring confirm-transaction-base component (#17484) 2023-02-01 11:24:41 +05:30
useUserPreferencedCurrency.js Convert ui/helpers/constants/common to typescript (#17348) 2023-01-25 09:47:02 -06:00
useUserPreferencedCurrency.test.js Changed ETH decimal values to have 8 places for sending (#12437) 2021-11-05 07:52:03 -07:00