1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/hooks
Olaf Tomalka 95c37e1ba3
feat: add yaml feature management (#18125)
* feat: add yaml feature management

Add yaml feature file per build type.
Also add method to parse yaml and set
enabled features env to true. The build
process will then replace any process.env[feature]
that exists on the config by its value

* chore: add example for desktop

* Added initial draft of build features

* [TMP] Sync between computers

* Is able to succesfully build stable extension with snaps feature

* Removing var context from builds.yml

* Add asssets to builds.yml

* Minor bug fixes and removing debug logs

* [WIP] Test changes

* Removed TODOs

* Fix regession bug

Also
* remove debug logs
* merge Variables.set and Variables.setMany with an overload

* Fix build, lint and a bunch of issues

* Update LavaMoat policies

* Re-add desktop build type

* Fix some tests

* Fix desktop build

* Define some env variables used by MV3

* Fix lint

* Fix remove-fenced-code tests

* Fix README typo

* Move new code

* Fix missing asset copy

* Move Jest env setup

* Fix path for test after rebase

* Fix code fences

* Fix fencing and LavaMoat policies

* Fix MMI code-fencing after rebase

* Fix MMI code fencing after merge

* Fix more MMI code fencing

---------

Co-authored-by: cryptotavares <joao.tavares@consensys.net>
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-04-25 16:32:51 +02:00
..
experiences Buy crypto by redirecting to onramp experience on pdapp instead of deposit popover (#17689) 2023-03-01 12:45:27 +04: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
snaps feat: add yaml feature management (#18125) 2023-04-25 16:32:51 +02:00
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 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 NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
useAssetDetails.test.js fix(18574): fix new BigNumber() not a number: undefined for setApprovalForAll method (#18660) 2023-04-19 19:20:18 +02: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
useCurrentAsset.js extract determineTransactionType from tx controller (#13737) 2022-03-07 12:54:36 -06:00
useDraftTransactionGasValues.js New reusable gas-display component (#17976) 2023-04-17 10:34:26 -04:00
useEqualityCheck.js
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 NFTs: Use Unknown Collection instead of first NFT name (#18388) 2023-03-31 06:41:07 -02: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 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 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 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 Fix Unable to determine contract standard error (#18300) 2023-04-10 21:56:02 -03: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 Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
useTransactionFunctionType.js Extract out confirm-data and confirm-hex-data components from confirm-transaction-base.component.js (#17822) 2023-03-09 10:38:37 +05:30
useTransactionFunctionType.test.js Extract out confirm-data and confirm-hex-data components from confirm-transaction-base.component.js (#17822) 2023-03-09 10:38:37 +05:30
useTransactionInfo.js Fix #18199 : Add fallbacks for confirmation title on NFT transfers (#18269) 2023-03-30 14:07:29 -02:30
useTransactionInfo.test.js Fix #18199 : Add fallbacks for confirmation title on NFT transfers (#18269) 2023-03-30 14:07:29 -02:30
useTransactionInsights.js feat: add yaml feature management (#18125) 2023-04-25 16:32:51 +02:00
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