1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/hooks
Alaa Hadad 5998ae21aa
Buy crypto by redirecting to onramp experience on pdapp instead of deposit popover (#17689)
* feat: disable deposit popover and replace it with global redirect to onramp on pdapp

* feat: remove legacy code for hardcoded onramp providers

* fix: remove unused visuals and components related to legacy code of deposit popover

* fix: remove unused messages

* feat: use a custom hook for all onramps related methods and variables

* fix: modify the custom hook implementation to include test networks

* fix: remove deprecated file buy-url

* fix: remove references for deleted deposit logos

* fix: network-controller failing unit test

* fix: snapshot loading-swaps-quotes-stories-metadata.test.js.snap

* fix: storybook tests

* fix: remove unused constatns related to buyable onramp chains

* fix: remove unused variables and fix eslint

* adding unit test for useRamps custom hook

* feat: add comment on the proper usage of useRamps within confirm-page-container component

* fix: add unit tests for buy button in token-overview page

* fix: add unit test for open the buy crypto URL for a buyable chain ID in token page

* feat: add unit test coverage for eth-overview page

* fix: update locales
2023-03-01 12:45:27 +04:00
..
experiences Buy crypto by redirecting to onramp experience on pdapp instead of deposit popover (#17689) 2023-03-01 12:45:27 +04:00
flask
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
desktopHooks.js Add extension desktop UI (#17748) 2023-02-23 16:39:48 +00:00
desktopHooks.test.js Add extension desktop UI (#17748) 2023-02-23 16:39:48 +00:00
useAddressDetails.js
useAddressDetails.test.js
useApproveTransaction.js
useAssetDetails.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
useAssetDetails.test.js
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
useCurrentAsset.js
useEqualityCheck.js
useEthFiatAmount.js Relocate conversion utils to shared/modules/conversion.utils.js (#17319) 2023-01-20 11:04:37 -06:00
useEventFragment.js
useEventFragment.test.js
useGasFeeEstimates.js
useGasFeeEstimates.test.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
useI18nContext.js
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
useNftsCollections.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
useOriginMetadata.js Move subject type enum to @metamask/subject-metadata-controller (#16431) 2023-01-24 16:03:01 +01:00
usePrevious.js
useRouting.js Refactor conf-tx.js (#17380) 2023-02-01 11:24:18 +05:30
useSafeGasEstimatePolling.js
useSegmentContext.js
useShouldAnimateGasEstimations.js Cleanup: clearTimeout on useEffect for gas estimation and prevent state update on unmounted ConfirmTransactionBase (#17804) 2023-02-17 22:11:50 +07:00
useShouldShowSpeedUp.js
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
useTimeout.js
useTokenData.js
useTokenData.test.js
useTokenDisplayValue.js
useTokenDisplayValue.test.js
useTokenFiatAmount.js
useTokensToSearch.js feat(mme-17212): convert shared/constants/swaps.js -> Typescript (#17322) 2023-01-24 16:38:01 +00:00
useTokenTracker.js
useTransactionDisplayData.js Transaction-list-item-details pop up to display the correct token information on token approve item (#17422) 2023-02-24 14:21:55 -05:00
useTransactionDisplayData.test.js Transaction-list-item-details pop up to display the correct token information on token approve item (#17422) 2023-02-24 14:21:55 -05:00
useTransactionEventFragment.js
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