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
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
..
__snapshots__ Final conversion of tests from enzyme to @testing-library/react (#16862) 2023-01-17 07:51:35 -08:00
optimism Update quote selection for Optimism (#16998) 2022-12-21 20:59:34 +01:00
accounts.js Prevent account name collisions (#16752) 2022-12-22 11:27:31 -06:00
build-types.js Add desktop build type (#17592) 2023-02-08 09:24:01 +00:00
common.util.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
common.util.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
confirm-tx.util.test.js Replace usages of conversion util in rest of UI folder in favor of Numeric (#17334) 2023-01-24 08:44:49 -06:00
confirm-tx.util.ts Convert confirm-tx.utils.js to typescript (#17349) 2023-02-02 12:35:05 -06:00
export-utils.js Fix 3box replacement for MV3 (#15851) 2022-09-29 07:34:20 +04:00
formatters.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
gas.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
gas.test.js feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
hardware.js Create function for hardware keyring checking (#12457) 2021-10-27 18:54:18 -05:00
i18n-helper.test.js feat(mme-17214): migrate L33 files to typescript (#17372) 2023-01-31 12:01:10 +00:00
i18n-helper.tsx feat(mme-17214): migrate L33 files to typescript (#17372) 2023-01-31 12:01:10 +00:00
icon-factory.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
ipfs.js Privacy - Show default selected network after a custom network has been added during onboarding (#16789) 2022-12-08 10:42:23 -06:00
is-mobile-view.js Update media query instances (#15068) 2022-08-04 09:03:02 -05:00
metric.test.js Adding the AdvancedGasFeePopover template (#12780) 2021-11-23 23:16:33 +05:30
metrics.js Adding the AdvancedGasFeePopover template (#12780) 2021-11-23 23:16:33 +05:30
nfts.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
nfts.test.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
permission.js Ux: Icon: Update fa-eye with ICON_NAMES.EYE (#17800) 2023-02-28 12:55:58 +05:30
settings-search.js Add snaps view search (#14419) 2022-04-19 11:08:09 -04:00
settings-search.test.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
token-util.js NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
transactions.util.js Relocate conversion utils to shared/modules/conversion.utils.js (#17319) 2023-01-20 11:04:37 -06:00
transactions.util.test.js Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
tx-helper.test.js feat(mme-17214): migrate L33 files to typescript (#17372) 2023-01-31 12:01:10 +00:00
tx-helper.ts Convert actions.js to typescript (#17446) 2023-02-03 11:56:44 -06:00
util.js Fix a bug where non-address types would be rendered as addresses in EIP-712 (#17846) 2023-02-27 17:32:51 +01:00
util.test.js Fix a bug where non-address types would be rendered as addresses in EIP-712 (#17846) 2023-02-27 17:32:51 +01:00
webcam-utils.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
window.ts window open noopener (#17882) 2023-02-24 15:27:38 +00:00