1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00
metamask-extension/ui/hooks
Hassan Malik f946c030b5
Choose accounts refactor (#13039)
* added wrapper around account list to prevent storybook from collapsing the list

* updated translation files

* added snap-connect page

* refactored account list out of the choose account component

* fixed width

* removed unnecessary scss from choose-account component, fixed props in choose account story

* removed snaps-connect page, added comments to ChooseAccount

* updated choose account subtitle text, updated styling for title & subtitle, removed redundant account list story

* updated component name, updated paths

* fixed linter errors

* added comments

* removed unused message

* removed selectAccounts key from all locales

* updated class name for account list header, updated allAreSelected function to use length checks

* Revert "removed unused message"

This reverts commit 32771bc83c08f120825ef75f0741f3034e7dbecb.

* Revert "removed selectAccounts key from all locales"

This reverts commit ccfa4a860f9a75693d893d7c404384e719de297e.

* updated locale messages to use selectAccounts key

* removed stray import

* updated scss

* updated translation key

* removed chooseAccounts key from en locale

* removed optional chaining

* changes

* updated subjectMetadata

* updated subject types

* update useOriginMetadata function to include unknown subject type

* updated permission connect header props, removed host and added subjectType to targetSubjectMetadata

* added subjectType to targetSubjectMetadata

* removed console.log

* changed prop name to iconUrl
2021-12-14 18:54:46 -05:00
..
gasFeeInput Using EIP-1559 V2 for swaps (#12966) 2021-12-12 04:56:28 +05:30
useApproveTransaction.js Fix #11703 - Provide wiring for approval modal (#11711) 2021-08-02 09:07:15 -05:00
useCopyToClipboard.js Using values from shared/constants/time to represent timing values (#11241) 2021-06-10 12:27:03 -07:00
useCurrencyDisplay.js move conversion utils to shared folder (#11451) 2021-07-06 12:48:49 -05:00
useCurrencyDisplay.test.js move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
useCurrentAsset.js Integrate TokensController (#11552) 2021-09-10 12:37:19 -05:00
useEqualityCheck.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useEthFiatAmount.js move metamask state selectors out of send (#11249) 2021-06-08 11:03:59 -05:00
useGasFeeErrors.js Extracting out error and warning code from useGasFeeInputs hook (#12283) 2021-10-18 17:25:35 +05:30
useGasFeeErrors.test.js Extracting out error and warning code from useGasFeeInputs hook (#12283) 2021-10-18 17:25:35 +05:30
useGasFeeEstimates.js Swaps optimizations (#12842) 2021-12-01 12:55:09 -03:30
useGasFeeEstimates.test.js Restore heartbeat to transaction confirmation, use isGasEstimatesLoading more broadly (#11781) 2021-08-05 18:59:58 -05:00
useI18nContext.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useIncrementedGasFees.js Fix gas api overcalling (#12069) 2021-09-15 10:59:51 -05:00
useMethodData.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useMetricEvent.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useOriginMetadata.js Choose accounts refactor (#13039) 2021-12-14 18:54:46 -05:00
usePrevious.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useSafeGasEstimatePolling.js Stop GasFeeController polling when pop closes (#11746) 2021-08-04 16:53:13 -05:00
useShouldAnimateGasEstimations.js Improve flashing behaviour for loading gas estimates (on confirm screen) (#11852) 2021-08-16 20:18:24 -02:30
useShouldShowSpeedUp.js Using values from shared/constants/time to represent timing values (#11241) 2021-06-10 12:27:03 -07:00
useSwappedTokenValue.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useTimeout.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useTokenData.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useTokenData.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
useTokenDisplayValue.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
useTokenDisplayValue.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
useTokenFiatAmount.js Swaps optimizations (#12842) 2021-12-01 12:55:09 -03:30
useTokensToSearch.js Swaps optimizations (#12842) 2021-12-01 12:55:09 -03:30
useTokenTracker.js Swaps optimizations (#12842) 2021-12-01 12:55:09 -03:30
useTransactionDisplayData.js Replace hardcoded sent ether label on confirm screen (#11802) 2021-09-15 16:54:51 -05:00
useTransactionDisplayData.test.js Fixing address truncation papercuts (#12330) 2021-10-13 12:54:48 -05:00
useUserPreferencedCurrency.js Optimize rest of swaps flow (#12939) 2021-12-07 11:33:13 -06:00
useUserPreferencedCurrency.test.js Changed ETH decimal values to have 8 places for sending (#12437) 2021-11-05 07:52:03 -07:00