1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00
metamask-extension/ui/hooks
Dan J Miller b7b041c43b
Fix speed-up/cancel: don't update existing transaction data (#14355)
* Fix speed-up/cancel: don't update existing transaction data

* Move retryTxMeta state management to useGasFeeInputs.js

* Handle initial retryTxMeta set if no transaction is passed to useGasFeeInputs

* Ensure previousGas is use on retry transaction if it is available in useGasFeeInputs

* Remove update transaction mock and correctly test gas fee increase scenarios now that updateTransaction used in cancel-speedup is defined on the front end
2022-04-14 13:20:48 -02:30
..
gasFeeInput Fix speed-up/cancel: don't update existing transaction data (#14355) 2022-04-14 13:20:48 -02:30
useAddressDetails.js Update token detection logic to only control auto-detection (#14251) 2022-04-06 13:59:16 -04:00
useAddressDetails.test.js Confirm transaction page: show contract address details in title (#13683) 2022-03-02 20:56:53 +05:30
useApproveTransaction.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useAssetDetails.js Fix issue where we show contract address as recipient when calling safe transfer method on erc721 or erc1155 contracts (#13535) 2022-03-17 13:35:40 -05:00
useCollectiblesCollections.js Yet more NFT UX cleanups (#13435) 2022-01-31 12:56:49 -06:00
useCopyToClipboard.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useCurrencyDisplay.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
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 Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useEventFragment.js Remove the useSegmentContext function from metametrics.new.js (#14013) 2022-03-25 09:26:09 -05:00
useEventFragment.test.js Remove the useSegmentContext function from metametrics.new.js (#14013) 2022-03-25 09:26:09 -05:00
useGasFeeErrors.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useGasFeeErrors.test.js Extracting out error and warning code from useGasFeeInputs hook (#12283) 2021-10-18 17:25:35 +05:30
useGasFeeEstimates.js Alert users when the network is busy (#12268) 2022-01-07 12:18:02 -07:00
useGasFeeEstimates.test.js Restore heartbeat to transaction confirmation, use isGasEstimatesLoading more broadly (#11781) 2021-08-05 18:59:58 -05:00
useI18nContext.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useIncrementedGasFees.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useMethodData.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useOriginMetadata.js Add Snaps via Flask (#13462) 2022-02-14 16:02:51 -08:00
usePrevious.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
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 Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useSwappedTokenValue.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useTimeout.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useTokenData.js Fix issue where we show contract address as recipient when calling safe transfer method on erc721 or erc1155 contracts (#13535) 2022-03-17 13:35:40 -05:00
useTokenData.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
useTokenDisplayValue.js Add JSDoc ESLint rules (#12112) 2022-01-07 12:27:33 -03:30
useTokenDisplayValue.test.js Fix issue where we show contract address as recipient when calling safe transfer method on erc721 or erc1155 contracts (#13535) 2022-03-17 13:35:40 -05:00
useTokenFiatAmount.js extract determineTransactionType from tx controller (#13737) 2022-03-07 12:54:36 -06:00
useTokensToSearch.js Swap : Fix undefined icon url (#14411) 2022-04-13 14:18:35 +02:00
useTokenTracker.js extract determineTransactionType from tx controller (#13737) 2022-03-07 12:54:36 -06:00
useTransactionDisplayData.js extract determineTransactionType from tx controller (#13737) 2022-03-07 12:54:36 -06:00
useTransactionDisplayData.test.js Fixing address truncation papercuts (#12330) 2021-10-13 12:54:48 -05:00
useTransactionEventFragment.js Adding check for transaction.id in useTransactionEventFragment hook (#13587) 2022-02-10 22:00:34 +05:30
useUserPreferencedCurrency.js Improvements for multi-layer fee UX (#13547) 2022-03-29 16:51:45 -02:30
useUserPreferencedCurrency.test.js Changed ETH decimal values to have 8 places for sending (#12437) 2021-11-05 07:52:03 -07:00