1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/app
Elliot Winkler 1304ec7af5
Convert shared/constants/metametrics to TS (#18353)
We want to convert NetworkController to TypeScript in order to be able
to compare differences in the controller between in this repo and the
core repo. To do this, however, we need to convert the dependencies of
the controller to TypeScript.

As a part of this effort, this commit converts
`shared/constants/metametrics` to TypeScript. Note that simple objects
have been largely replaced with enums. There are some cases where I even
split up some of these objects into multiple enums.

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-04-03 09:31:04 -06:00
..
account-list-item Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
account-menu Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
add-network Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
advanced-gas-controls Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
advanced-gas-fee-popover feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
advanced-gas-inputs Relocate conversion utils to shared/modules/conversion.utils.js (#17319) 2023-01-20 11:04:37 -06:00
alerts Refactor KeyringTypes constant (#17490) 2023-03-21 12:13:22 -02:30
app-header Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
app-loading-spinner swap hex colors in ui/components/app folder (#14189) 2022-03-25 08:32:36 -07:00
approve-content-card Part of 17670: Replace Typography with Text approve-content-card (#17753) 2023-02-16 18:33:35 -08:00
asset-list Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
asset-list-item Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
beta-header UX: Icon: Stop using fa-times (#17811) 2023-02-27 10:42:02 -06:00
cancel-button Final conversion of tests from enzyme to @testing-library/react (#16862) 2023-01-17 07:51:35 -08:00
cancel-speedup-popover feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
confirm-data Extract out confirm-data and confirm-hex-data components from confirm-transaction-base.component.js (#17822) 2023-03-09 10:38:37 +05:30
confirm-hexdata Extract out confirm-data and confirm-hex-data components from confirm-transaction-base.component.js (#17822) 2023-03-09 10:38:37 +05:30
confirm-page-container Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
confirm-subtitle Fix #18199 : Add fallbacks for confirmation title on NFT transfers (#18269) 2023-03-30 14:07:29 -02:30
confirm-title Extracting out title component from confirm-transaction-base (#17991) 2023-03-23 22:21:33 +04:00
confirmation-warning-modal Part of #17670: Replace Typography with Text component (#17959) 2023-03-15 17:00:54 -07:00
connected-accounts-list UX: Update three-dot icon for settings (#17558) 2023-02-15 08:39:46 -06:00
connected-accounts-permissions [FLASK] Redesign key management modal (#18263) 2023-03-29 15:17:57 -04:00
connected-sites-list Fix connected site styling (#15409) 2022-08-09 12:29:38 -05:00
connected-status-indicator UX Multichain: Menu for Site connections and permissions (#18167) 2023-03-31 22:53:27 +05:30
contact-list 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
create-new-vault Part of #17670: Replace Typography with Text component (#17959) 2023-03-15 17:00:54 -07:00
currency-input Convert ui/helpers/constants/common to typescript (#17348) 2023-01-25 09:47:02 -06:00
custom-spending-cap UX Icon: updated fa-exclamation-circle (#17879) 2023-02-24 12:52:11 -06:00
desktop-enable-button Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
detected-token Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
dropdowns Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
edit-gas-display Changed all Typography to Text component in welcome.js and edit-gas-display.component.js (#18116) 2023-03-21 23:47:59 +05:30
edit-gas-fee-button UX: Icons: Remove usage of chevron fa- icons (#17668) 2023-02-16 07:26:14 -06:00
edit-gas-fee-popover feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
edit-gas-popover feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
flask [FLASK] Redesign key management modal (#18263) 2023-03-29 15:17:57 -04:00
gas-details-item feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
gas-timing Convert actions.js to typescript (#17446) 2023-02-03 11:56:44 -06:00
hold-to-reveal-button SRP hold to reveal (#17232) 2023-02-15 10:07:33 -08:00
home-notification Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
import-token-link Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
info-box Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
ledger-instruction-field feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
loading-network-screen feat: add the ConsenSys zkEVM (Linea) as a default network (#17875) 2023-03-21 13:58:38 -02:30
menu-bar Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
metamask-template-renderer feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
metamask-translation Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
modal Continue converting tests from enzyme to @testing-library/react. (#15941) 2022-09-23 09:41:35 -05:00
modals Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
multilayer-fee-message Remove usages of Conversion util in components folder in favor of Numeric (#17333) 2023-01-23 13:30:43 -06:00
multiple-notifications Update media query instances (#15068) 2022-08-04 09:03:02 -05:00
network-account-balance-header feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
network-display Migrate network configurations (previously frequentRpcListDetail) from PreferencesController to NetworkController (#17421) 2023-03-09 15:00:28 -06:00
nft-default-image NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
nft-details Fix #17932 - Ensure NFT last sold price is formatted correctly (#17983) 2023-03-08 14:39:12 -06:00
nft-options NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
nfts-detection-notice NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
nfts-items Fix #17848 - Ensure NFT collections toggle appropriately (#17972) 2023-03-09 12:10:37 -06:00
nfts-tab NFT: Replaced all the instances of collectibles with NFTs (#17741) 2023-02-17 00:53:29 +05:30
permission-page-container Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
permissions-connect-footer Consolidating Zendesk URLs in to constants file (#15669) 2022-08-23 09:19:31 -05:00
permissions-connect-header [FLASK] Update snap authorship component (#18262) 2023-03-24 17:16:46 +01:00
permissions-connect-permission-list [FLASK] Add tooltips to show info about a permission (#17685) 2023-03-20 12:32:03 +01:00
qr-hardware-popover feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
recovery-phrase-reminder feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
security-provider-banner-message Open sea security provider warning message (#17662) 2023-02-23 08:38:09 -03:00
selected-account Updating Icon html element to span (#17790) 2023-02-22 14:42:50 -08:00
set-approval-for-all-warning UX: Icon: Remove fa-exclamation-triangle usages (#17691) 2023-02-23 15:20:07 -06:00
signature-request Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
signature-request-original Fix Signature Request scroll (#18305) 2023-03-23 16:04:24 -03:00
signature-request-siwe PermissionsConnectHeader: unlock SiteOrigin title (#18270) 2023-03-23 13:32:54 -03:00
srp-input feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
step-progress-bar Overall CSS #13441 (#13902) 2022-05-16 13:38:04 -05:00
tab-bar UX: Update Settings Icon (#17561) 2023-02-26 20:42:03 -06:00
token-cell UX: Multichain: Added TokenList Component (#17859) 2023-03-23 15:38:33 +05:30
token-list
token-list-display Feat/hide 0 balances (#13306) 2022-02-02 12:32:16 +01:00
transaction-activity-log Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
transaction-alerts NetworkController: Split network into networkId and networkStatus (#17556) 2023-03-30 16:49:12 -06:00
transaction-breakdown Convert ui/helpers/constants/common to typescript (#17348) 2023-01-25 09:47:02 -06:00
transaction-decoding Fix for hovering any Address parsed on Signed Type Data screen does not display the pointer anymore (#18046) 2023-03-23 08:05:25 -02:30
transaction-detail feature: convert level 32 files to typescript (#17390) 2023-01-27 18:28:03 +00:00
transaction-detail-item feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
transaction-icon Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
transaction-list Added storybook check to CI (#17092) 2023-01-21 00:57:46 +05:30
transaction-list-item Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
transaction-list-item-details Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
transaction-status-label Convert Transaction constants to typescript (#17149) 2023-01-18 08:47:29 -06:00
user-preferenced-currency-display Convert ui/helpers/constants/common to typescript (#17348) 2023-01-25 09:47:02 -06:00
user-preferenced-currency-input Continue converting tests from enzyme to @testing-library/react (#16175) 2022-10-20 11:20:49 -07:00
user-preferenced-token-input Continue converting tests from enzyme to @testing-library/react (#16175) 2022-10-20 11:20:49 -07:00
wallet-overview Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
whats-new-popup Adding NFT autodetection to "What's New" Announcements (#17653) 2023-03-14 11:07:58 -04:00
app-components.scss [FLASK] Update snap authorship component (#18262) 2023-03-24 17:16:46 +01:00
menu-droppo.js Convert unit test render from enzyme to @testing-library/react. (#15091) 2022-08-03 13:30:43 -07:00