1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/hooks
Olusegun Akintayo e2c4e93ab0
When gas fees suggested by dapp is too high, show warning color and icon (#19088)
* When gas fees suggested by dapp is too high, show warning color and icon

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

tests

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix tests

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

set a default for high gas fees

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix test cases where transaction is undefined.

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix locale error

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix error where dappSuggestedGasFees is null

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix icon for site suggested

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

Fix unit tests snapshot

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* Fix QA Comments

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* lint:fix

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* Fix unit tests

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* Fix PR comments

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* Lint fix

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* Fix PR comment. - call setEstimateUsed only once.

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

* use constants for Priority levels.

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>

---------

Signed-off-by: Olusegun Akintayo <akintayo.segun@gmail.com>
2023-06-08 13:26:18 +03:00
..
experiences
gasFeeInput When gas fees suggested by dapp is too high, show warning color and icon (#19088) 2023-06-08 13:26:18 +03:00
snaps
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
useDraftTransactionWithTxParams.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
useScrollRequired.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
useTransactionFunctionType.js
useTransactionFunctionType.test.js
useTransactionInfo.js
useTransactionInfo.test.js
useTransactionInsights.js
useUserPreferencedCurrency.js
useUserPreferencedCurrency.test.js