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
Frederik Bolding
27ad7279cd
Rename NotificationController to AnnouncementController ( #14389 )
...
* Rename NotificationController to AnnouncementController
* Fix test
* Add test for missing NotificationController state
* Bump controllers
* Move test to correct file
* Rename config key
* Add migration 71 to list of migrations
* Fix selector after migration
3 years ago
Guillaume Roux
71d0873ded
Add token standard to custom token details ( #14506 )
...
* use getTokenStandardAndDetails to get token standard
* remove console.log and fix test
* remove console.log
3 years ago
Guillaume Roux
7a9662b88e
Add token standard to custom token details ( #14506 )
...
* use getTokenStandardAndDetails to get token standard
* remove console.log and fix test
* remove console.log
3 years ago
ryanml
0c49bc14d4
Fixing 'Learn more' casing on import token screen ( #14529 )
3 years ago
Brad Decker
193c22588e
call controller methods directly in send duck ( #14465 )
3 years ago
ryanml
9cea6f57ef
Revert "Dark Mode: What's New Announcement ( #14346 )"
...
This reverts commit af963d7f7b
.
3 years ago
Alex Donesky
cf2c6a3164
show token approval details on confirm approve screen by default ( #14523 )
3 years ago
Brad Decker
f567a3fe86
Do not show failed off-chain transactions details when grouped with another valid transaction of same nonce ( #14497 )
...
* fix failed off chain tx mismatch with next confirmed transaction
* dont drop failed txs when tx in confirmed
* add comment for reassigning logic
* resolve change requests
3 years ago
amerkadicE
ef6fb86f50
Update for a new Add network page ( #13866 )
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
Dan J Miller
16fe8744a6
Ensure network name in confirm page container is defined ( #14520 )
3 years ago
Dan J Miller
284bab1cbc
Ensure network name in confirm page container is defined ( #14520 )
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
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
Olusegun Akintayo
095cc94ed0
Add new token added event (duplicating the existing event structure) when collectible is manually added ( #14279 )
...
* Add new token added event (duplicating the existing event structure) when auto detection occurs for NFTs
Set source property to detected on the new token added event,
3 years ago
Brad Decker
8f47c19b9d
increase test coverage of nonce sorted transaction selector ( #14486 )
3 years ago
Dan J Miller
5b0d465d30
Fix the alerts toggles in settings ( #14498 )
3 years ago
Dan J Miller
617b7828a5
Disable swaps whenever the environment is not development or testing, so that behaviour follows production for QA purposes ( #14499 )
3 years ago
Dan J Miller
3ecc04e42d
Fix the alerts toggles in settings ( #14498 )
3 years ago
Dan J Miller
b1df04c253
Disable swaps whenever the environment is not development or testing, so that behaviour follows production for QA purposes ( #14499 )
3 years ago
Brad Decker
488d64ae8b
increase test coverage of nonce sorted transaction selector ( #14479 )
3 years ago
David Walsh
6a06374784
Dark Mode: Implement Metrics ( #14455 )
3 years ago
Hassan Malik
308c6e4fe3
Add snaps view search ( #14419 )
...
* add snaps view search
* add snaps view search
* fix to add in settings constants
* removed spread
* remove unused import
* add fencing
* more fencing
* ternary refactor, updated settings tests
* refactor
3 years ago
David Walsh
458d4c55d4
Dark Mode: Fix colors in toggle button ( #14280 )
3 years ago
VSaric
e702da2194
Modify import SRP page ( #14425 )
...
* Modify Import SRP page
3 years ago
David Walsh
bcdd52f55a
Dark Mode: Implement Metrics ( #14455 )
3 years ago
filipsekulic
52b043c4f2
HoldToRevealButton component ( #13785 )
...
* Created 'HoldToRevealButton' component
* Added new line within the .svg files
* Lint fix
* CSS fix according to BEM
* Modified unit test
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
Guillaume Roux
9950d3ffe3
Dark Mode : Fix connected account permission icon color ( #14406 )
3 years ago
David Walsh
e4197abfae
Dark Mode: Fix QR display ( #14312 )
3 years ago
Guillaume Roux
76615b7bec
Enhanced Gas Fee UI : Fix gas values overlaping with labels ( #14392 )
3 years ago
Dan J Miller
78f68b3dab
Fix speed-up/cancel: don't update existing transaction data ( #14355 )
...
* Fix speed-up/cancel: don't update existing transaction data
* Move retryTxMeta state management to useGasFeeInputs.js
* Handle initial retryTxMeta set if no transaction is passed to useGasFeeInputs
* Ensure previousGas is use on retry transaction if it is available in useGasFeeInputs
* Remove update transaction mock and correctly test gas fee increase scenarios now that updateTransaction used in cancel-speedup is defined on the front end
3 years ago
Dan J Miller
b7b041c43b
Fix speed-up/cancel: don't update existing transaction data ( #14355 )
...
* Fix speed-up/cancel: don't update existing transaction data
* Move retryTxMeta state management to useGasFeeInputs.js
* Handle initial retryTxMeta set if no transaction is passed to useGasFeeInputs
* Ensure previousGas is use on retry transaction if it is available in useGasFeeInputs
* Remove update transaction mock and correctly test gas fee increase scenarios now that updateTransaction used in cancel-speedup is defined on the front end
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
Niranjana Binoy
455d4a9825
Update DetectTokenController for token detection V2 ( #14216 )
3 years ago
Dan J Miller
432c88e185
Remove duplicate gas simulation error messages ( #14409 )
...
* Remove duplicate gas simulation error messages
* Fixing locales
* Fixing unit tests
* Fixing e2e
Co-authored-by: ryanml <ryanlanese@gmail.com>
3 years ago
Dan J Miller
e768119dd0
Remove duplicate gas simulation error messages ( #14409 )
...
* Remove duplicate gas simulation error messages
* Fixing locales
* Fixing unit tests
* Fixing e2e
Co-authored-by: ryanml <ryanlanese@gmail.com>
3 years ago
Guillaume Roux
4b3977044f
Swap : Fix undefined icon url ( #14411 )
3 years ago
Frederik Bolding
637a960d3c
Use correct casing for "learn more" ( #14412 )
3 years ago
Guillaume Roux
14a5dda24f
Dark Mode : Fix connected account permission icon color ( #14406 )
3 years ago
Niranjana Binoy
89ce0cee85
Updating info ActionableMessage type to default ( #14385 )
3 years ago
George Marshall
9ce966ba1d
Storybook housekeeping 🧹 ( #14331 )
...
* Removing argTypes that are related to static props and don't have anything to do with the component. Also some general house keeping
* updates
3 years ago
Daniel
2d24a4d643
Swaps timer improvements, optional refresh rates and fix for a notification UI ( #14300 )
...
* Set up correct timer value for fetching new quotes
* Show red timer in Swaps if quotes fetching will happen in less than 10s (previously it was 30s)
* Fix a UI issue with the notification close button
* Make stx refresh rates optional, since not every network supports them
3 years ago
Mark Stacey
1b4ddf709b
Replace `ReadOnlyInput` ( #14330 )
...
Replace the last two uses of the `ReadOnlyInput` with a div. The idea
of using an input for read-only data is silly. We can just put it in
the DOM directly instead.
3 years ago
George Marshall
cdb9d341bc
color fix for hover on swaps quote ( #14334 )
3 years ago
George Marshall
15a6006237
Updatin contract deployment text label to be darker ( #14333 )
3 years ago
George Marshall
13c087e2e9
Fixing account details label colors ( #14315 )
3 years ago
George Marshall
a499d0f045
Fix/14303 show private keys ( #14314 )
3 years ago
George Marshall
94378c773d
Fix/14302 about fox logo ( #14308 )
3 years ago