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
desktopHooks.js
desktopHooks.test.js
useAddressDetails.js
useAddressDetails.test.js
useApproveTransaction.js
useAssetDetails.js
useAssetDetails.test.js
useCopyToClipboard.js
useCurrencyDisplay.js
useCurrencyDisplay.test.js
useCurrentAsset.js
useEqualityCheck.js
useEthFiatAmount.js
useEventFragment.js
useEventFragment.test.js
useGasFeeEstimates.js
useGasFeeEstimates.test.js
useI18nContext.js
useIncrementedGasFees.js
useMethodData.js
useNftsCollections.js
useOriginMetadata.js
usePrevious.js
useRouting.js
useSafeGasEstimatePolling.js
useSegmentContext.js
useShouldAnimateGasEstimations.js
useShouldShowSpeedUp.js
useSimulationFailureWarning.js
useSwappedTokenValue.js
useTimeout.js
useTokenData.js
useTokenData.test.js
useTokenDisplayValue.js
useTokenDisplayValue.test.js
useTokenFiatAmount.js
useTokensToSearch.js
useTokenTracker.js
useTransactionDisplayData.js
useTransactionDisplayData.test.js
useTransactionEventFragment.js
useTransactionInsights.js
useUserPreferencedCurrency.js
useUserPreferencedCurrency.test.js