Brad Decker
c72199a1a6
update prettier ( #15360 )
2 years ago
Adnan Sahovic
6723608173
Added speed up metrics data for transaction events and properly track speed up type ( #15197 )
2 years ago
Brad Decker
652d631cda
remove exclusions for mismatched object jsdoc type casing ( #15351 )
2 years ago
Brad Decker
1db0ee87ec
Update Eslint and deps ( #15293 )
2 years ago
VSaric
f1ca3e56e7
Modify transaction type and add contract method data to metrics ( #15175 )
2 years ago
Brad Decker
df646a03eb
Fix Provider Tracking Metrics ( #15082 )
2 years ago
Filip Sekulic
7d321c48e0
Removed ui related code from shared directory ( #15252 )
2 years ago
Alex Donesky
d92936475a
Fix default currency symbol for `wallet_addEthereumChain` + improve warnings for data that doesn't match our validation expectations ( #15201 )
...
* set more appropriate default for ticker symbol when wallet_addEthereumChain is called
* throw error to dapp when site suggests network with same chainId but different ticker symbol from already added network, instead of showing error and disabled notification to user
2 years ago
Alex Donesky
09164dcabb
Bump controllers v30.0.2 ( #14906 )
...
* bump @metamask/controllers to v30.0.2 and adapt
2 years ago
Filip Sekulic
6b4fa46908
Removed the Infura v3 key from rpcUrl display ( #15193 )
...
* Removed infura v3 key from rpcUrl display
* Code refactor
* Fixed error
* Prevent submission of form when editing an featured rpc and there is a chainId error
* Add optional chaining to rpcurls to prevent type errors
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2 years ago
Filip Sekulic
7246058797
Added metrics for adding a new network ( #15176 )
...
* Added metrics for adding a new network
* Applied requested changes
* Added missed changes
2 years ago
Makoto Inoue
fdd8646ce8
Support for ENS wildcard and offchain resolution ( #14675 )
2 years ago
Alex Donesky
8d20c2834f
Add setApprovalForAll confirmation view ( #15010 )
...
* enhance setApprovalForAll confirmation flow
* cleanup
* address feedback
2 years ago
Alex Donesky
4f0115fcdc
Add setApprovalForAll confirmation view ( #15010 )
...
* enhance setApprovalForAll confirmation flow
* cleanup
* address feedback
2 years ago
ryanml
7ee492b434
Update Optimism ChainID from Kovan to Goerli ( #15119 )
2 years ago
Brad Decker
94967072f7
Remove global transaction state from send flow ( #14777 )
...
* remove global transaction state from send slice
* fixup new test
2 years ago
ryanml
2e58cc96b4
Revert "Update Optimism ChainID from Kovan to Goerli ( #15115 )" ( #15118 )
...
This reverts commit 799472247d
.
2 years ago
Will Cory
799472247d
Update Optimism ChainID from Kovan to Goerli ( #15115 )
...
Hey y’all! As part of our Optimism Kovan to Goerli migration, we’re working to make sure the whole ecosystem is up to speed on where we’re at and what they can do to ensure they’re not running an out of date testnet. Today, we posted a dev blog and a tweet thread about the migration and we were wondering if we could get a RT from you to maximize visibility and reach. Would also appreciate if you could forward this info on to any other projects in the Optimism Ecosystem you guys work with. Appreciate the boost if you’re able to help amplify!
2 years ago
Filip Sekulic
43f7a44c25
Adding popular custom network integration ( #14557 )
...
* Initial push
* Refactored the code
* Additional code
* Removed the unused message
* Added a tooltip
* Fixed tests
* Lint fix
* Added style to a tooltip
* Fix e2e test failure
* Lint fix and code revert
* Fix e2e test
* Fixed paddings
* Fixed paddings
* CSS fix
* Minified svg files
* Applied requested changes
* Fixed theme issue
* Code revert
* Added back overridden code
* Icon problem fixed
* Lint fix
* Replaced H3 with H4
* Added unit test
* Added breadcrumbs
* Added const props for networks
* Lint fix
* Lint fix
* Added toggle button for showing the custom network list and resolved few issues
* Fixed routes
* Refactored a piece of code
* Enabled searching for the newly created option
* Fixed unit test
* Updated theme
2 years ago
Dan Miller
bc6c60cde1
Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
...
This reverts commit 4d42715220
, reversing
changes made to f09ab88891
.
2 years ago
Dan Miller
24662963c5
Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
...
This reverts commit 4d42715220
, reversing
changes made to f09ab88891
.
2 years ago
Mark Stacey
925a19fa4a
Revert "Merge pull request #14912 from MetaMask/Version-v10.16.0"
...
This reverts commit f09ab88891
, reversing
changes made to effc761e0e
.
This is being temporarily reverted to make it easier to release an
urgent fix for v10.15.1.
2 years ago
Daniel
9705531671
Reduce the default slippage from 3% to 2% ( #14863 )
2 years ago
benlwyre
f6643e853c
Add fiat onboarding for AVAX and MATIC through Wyre ( #14683 )
3 years ago
Ariella Vu
b6ade44bc9
Slight cleanup of constants/transactions, useTransactionDisplayData, and TransactionIcon ( #14784 )
...
* TransactionIcon: alphabetize categories
* useTransactionDisplayData: rm repetitive comment
* useTransactionDisplayData: mv signatureTypes
* useTxDisplayData: import transactionGroup @typedef
* userTxDisplayData: just vertical line spacing
3 years ago
Brad Decker
51986a4724
Add types to send state ( #14740 )
3 years ago
Frederik Bolding
66c049bb35
snaps-skunkworks@0.14.0 ( #14700 )
...
* snaps-skunkworks@0.13.0
* snaps-skunkworks@0.14.0
* Fix test
* Add long-running permission copy and icon
* Run linting
* Fix typo
* Bump E2E version
3 years ago
VSaric
2668446e3b
Fix Ropsten Test Network icon ( #14626 )
3 years ago
Brad Decker
ae4efef43e
add networks without ticker trait ( #14607 )
...
* add networks without ticker trait
3 years ago
Lachlan Tweedie
eee4cc3100
Add Coinbase Pay as fiat onramp option ( #14648 )
3 years ago
Alex Donesky
5e55cf2cf2
add case in useTransactionDisplayData to handle transaction type safeTransferFrom ( #14678 )
...
* add case in useTransactionDisplayData to handle transaction type safeTransferFrom
* add test
3 years ago
Niranjana Binoy
6c757ab5e0
Event tracking for Token Detection V2 ( #14441 )
3 years ago
VSaric
833eaa61c1
Fix Ropsten Test Network icon ( #14626 )
3 years ago
Daniel
2bd7127433
Swaps / STX improvements ( #14622 )
3 years ago
Daniel
9daab6aa59
Disable STX if a regular tx is in progress ( #14554 )
...
* Disable STX if a regular tx is in progress
* disableStxIfRegularTxInProgress : early return
* Fix UTs
* Trigger Build
3 years ago
ryanml
022c141ee8
Adding 'Swaps' to metametrics event categories ( #14538 )
3 years ago
Hennadii Ivtushok
72d2977e72
Warn about multiple MetaMask instances running ( #13836 )
...
* Add text warning on startup page
* Try to detect extensions with browser API
* Setup messaging between different versions of extension
* Cleanup
* Cleanup
* Simplify check for multiple instances running
* Fix a doc string + use webextension-polyfill
* Fix test
* Mock webextension-polyfill
* Mock correctly
* Catch error and show warning in both extensions
* Mock as promise
* Address comments
* Rename build ids
* Run detection code only if Chrome
* Add Firefox warnings
* Cleanup imports
* Update connection ids
* Run detection code for Firefox
* Add test
* Add missing await
* Update tests
* Cleanup
* Cleanup
* Improve testing
* Improve tests
* Log errors from sendMessage
* Cleanup
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
3 years ago
Brad Decker
193c22588e
call controller methods directly in send duck ( #14465 )
3 years ago
amerkadicE
8fef9fd8df
Update display of switching current network ( #13450 )
...
Co-authored-by: Amer Kadic <amerkadic@Amers-MacBook-Pro.local>
Co-authored-by: George Marshall <george.marshall@consensys.net>
3 years ago
Ariella Vu
78f4684b2a
MetaMetrics: Add EVENT.CATEGORIES const ( #14474 )
...
* MetaMetrics: add EVENT.CATEGORIES const
* MetaMetrics: add EVENT.CATEGORIES.INPAGE_PROVIDER
* MetaMetrics: add EVENT.CATEGORIES.AUTH
* MetaMetrics: add EVENT.CATEGORIES.ACCOUNTS pt. 1
* MetaMetrics: add EVENT.CATEGORIES.ACCOUNTS pt. 2
confirm we want to use 'Accounts' instead of 'Account'
* MetaMetrics: add EVENT.CATEGORIES.MESSAGES
* MetaMetrics: add EVENT.CATEGORIES.RETENTION const
* MetaMetrics: add EVENT.CATEGORIES.SETTINGS
* MetaMask: add missing EVENT.CATEGORIES.SNAPS
* MetaMetrics: add EVENT.CATEGORIES.WALLET const
* MetaMetrics: add EVENT.CATEGORIES.ONBOARDING const
* MetaMetrics: add EVENT.CATEGORIES.ONBOARDING
& EVENT.CATEGORIES.TRANSACTIONS consts
* MetaMetrics: use EVENT.CATEGORIES
* ducks/swaps: revert slice name
* MetaMetrics: add missing EVENT.CATEGORIES.NETWORK
3 years ago
Ariella Vu
d0ed2c1afc
MetaMetrics: add 'number_of_nfts' user trait ( #14495 )
...
* MetaMetrics: add number_of_nfts trait
* MetaMetrics: memoize _getAllNFTAddresses
* MetaMetrics: fix lint / update JSDoc comments
* MetaMetrics: update nft trait logic
- https://github.com/MetaMask/metamask-extension/pull/14495#discussion_r855450898
* MetaMetrics: rn _getAllNFTs > _getAllNFTsFlattened
3 years ago
Alex Donesky
fbeae57247
Add testnet name as prefix for native currency of preloaded testnets ( #14454 )
...
* add testnet name as prefix for native currency of preloaded testnets
3 years ago
ryanml
6420db3e7f
Lint fix
3 years ago
David Walsh
6a06374784
Dark Mode: Implement Metrics ( #14455 )
3 years ago
David Walsh
bcdd52f55a
Dark Mode: Implement Metrics ( #14455 )
3 years ago
Ariella Vu
21e54f4717
MetaMetrics: Identify 'number_of_tokens' user trait ( #14427 )
...
* MetaMetrics: identify number_of_tokens
* MetaMetrics: update number_of_tokens
do not filter by unique addresses.
Each token contract x chain id combo is a unique contract
* MetaMetrics: update MetaMetricsTraits @typedef
- add number_of_tokens
* MetaMetrics: clean up number_of_tokens
* MetaMetrics: alphabetize in test
3 years ago
Ariella Vu
e7bb8e2663
MetaMetrics: Identify 'nft_autodetection_enabled' & 'opensea_api_enabled' ( #14367 )
...
* MetaMetrics: alphabetize traits
* MetaMetrics: identify nft_autodetection_enabled
* MetaMetrics: identify opensea_api_enabled
* metametrics.test: alphabetize traits
* metametrics.test: add new traits
- nft_autodetection_enabled
- opensea_api_enabled
* MetaMetrics: @property use string literals
* MetaMetrics.test: update with openSeaEnabled & useCollectibleDetection
* MetaMetrics: alphabetize
* MetaMetrics: update MetaMetricsTraits @typedef
- add nft_autodetection_enabled
- add opensea_api_enabled
3 years ago
Daniel
eed6ae2b8c
Swaps: Sort "token_from" dropdown tokens by their fiat value first and "token_to" by top tokens ( #14436 )
3 years ago
Daniel
9403ee9c7a
Disable Swaps on Rinkeby for production ( #14372 )
...
* Disable Swaps in Rinkeby for production
* Use arrays instead of objects for allowed chain ids
* Trigger Build
3 years ago
Brad Decker
922ebd57cb
track address book usage ( #14382 )
...
* track address book usage
* Update app/scripts/controllers/metametrics.js
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
* Update shared/constants/metametrics.js
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
3 years ago