Thomas Huang
18e4af7690
Unit test proptype ( #14868 )
...
* Add missing props to advanced tab component test.
* Add icon size prop to site icon test
* Add hardwareWalletRequiresConnection prop to signature request test as a boolean
* Add setShowDetectedTokens prop to detect token test
* Set Setting description prop to be either object or string.
3 years ago
VSaric
914cdd5fa5
Fix switching between ETH and USD ( #13827 )
3 years ago
George Marshall
c18c3b078e
Updating icon color ( #14835 )
3 years ago
Victor Korzunin
0166575405
fix: keep lock button text inside button boundaries ( #14335 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
3 years ago
Ariella Vu
e60af93f2a
Storybook: add TransactionListItem component page ( #14786 )
...
* TransactionListItem: add storybook page
* SB:TransactionListItem: update retry status
* SB:TranslationListItem: exclude CANCEL & RETRY
* TransactionListItem: exclude SIGNED status
* TransactionListItem: fix mock transactions
* SB:TransactionListItem: add isEarliestNonce param
* SB:TransactionListItem: fix args
* SB:TransactionListItem: add "Speed Up" params
* SB: add nonce to mock transactions
3 years ago
$tocker
ba7a177f5c
fix design breaks on the Settings Navbar when Internationalization ( #14012 )
...
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
3 years ago
Frederik Bolding
239f5f7fa6
Include snap version in pill ( #14803 )
...
* Include snap version in pill
* snaps authorship styling
* styling
* Fix linting
* Fix linting
Co-authored-by: eriknson <eriks@mail.se>
3 years ago
Guillaume Roux
b599035a12
Snap notifications integration ( #14605 )
...
* begin controller implentation
* add NotificationController
* create selectors and actions
* update actions tu use forceUpdateMetamaskState
* Basic notification UI
* fix typo and remove console.log
* lint
* more css
* add notifications scroll
* add translations and fix some css
* Fix rebase and edit colors
* add flask tags
* add flask tag to routes component
* add missing flask tags
* add tests
* fix tests
* store notification expiration delay in constant
* address requested changes
* rename to unreadNotificationsCount
* add missing flask tag
3 years ago
Thomas Huang
db6998c66a
Fix proptype errors in network dropdown, tx list item details, and account details modal tests ( #14747 )
3 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
Frederik Bolding
5b8a69c721
Remove site origin on snap install ( #14752 )
...
* Remove site origin on snap install
* Fix linting + storybook
* Update local snap icon
* Fix storybook build
3 years ago
George Marshall
8fcbebc546
Update design tokens library from 1.5 to 1.6 WIP ( #14732 )
...
* Updating account menu icon color
* Updating design-tokens and making appropriate updates to extension styles
* Adding more deprecated tags to colors
* Adding spinner and removing todo comment
* Remove comment
* Updates
* Updating snapshots
* More color and ui updates
* reverting transition change
3 years ago
VSaric
623fd91d65
Fix currency conversion rate ( #14713 )
3 years ago
Frederik Bolding
c833e41eee
Restore SiteOrigin chip on permission screen ( #14768 )
...
* Restore SiteOrigin chip on permission screen
* Fix linting
3 years ago
VSaric
e7d1476522
Sign button is enabled after scrolling all the way to the bottom ( #14745 )
3 years ago
Ariella Vu
e06e5599bb
EditGasFeeBtn: Insufficient number of substitutions for key "dappSuggestedTooltip" ( #14734 )
...
* EditGasFeeBtn: support missing origin dappSuggest
* EditGasFeeButton: add tooltip min-width
* EditGasFeeButton: tooltip min-width needs extra px
* EditGasFeeBtb: tooltip min-width add a bit more px
3 years ago
Alex Donesky
634cf70a71
Enhance reusable SiteOrigin component ( #14720 )
...
* extend and reuse SiteOrigin component
3 years ago
Ariella Vu
7cfa454570
Storybook: add SignatureRequestOriginal ( #14707 )
...
* SB: add SignatureRequestOriginal
* SB:SignatureRequestOriginal: add reusable Template
* SB:SignatureRequestOriginal: add args
missing isRequired args
* SB:SignatureRequestOriginal: add eth_signTypedData
* SB:SignatureRequestOriginal: update README.mdx
* SB:README: update description
* SignatureRequestOriginal: destruct mock value
3 years ago
Ariella Vu
1464ab724f
Storybook: Fix SignatureRequest component ( #14706 )
...
* SB:SignatureRequest: fix control type
* SB:SignatureRequest: fix args
expected by sanitizeMessage
* SignatureRequests: cleanup
3 years ago
Thomas Huang
dbe89049bd
Unit test proptype ( #14564 )
...
* Change import file to root index
* Properly set showFiat proptype to bool
3 years ago
dragana8
d01a2ad7e5
Overall CSS #13441 ( #13902 )
...
* styling updates
Co-authored-by: Alex Donesky <adonesky@gmail.com>
Co-authored-by: George Marshall <george.marshall@consensys.net>
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
3 years ago
dragana8
a0c4febfce
"Cancel/reject all" for signature requests #13201 ( #13786 )
3 years ago
Lachlan Tweedie
eee4cc3100
Add Coinbase Pay as fiat onramp option ( #14648 )
3 years ago
Niranjana Binoy
6c757ab5e0
Event tracking for Token Detection V2 ( #14441 )
3 years ago
Daniel
9a153d2388
Remove gas editing in Swaps ( #14673 )
...
* Remove gas editing in Swaps
* Remove "extraApprovalGas"
3 years ago
ryanml
54292f6c81
Fix eth_sign 'Learn more' dialog link ( #14667 )
3 years ago
George Marshall
23f4b58dca
Updating alert text color ( #14674 )
3 years ago
PeterYinusa
f47d02b72a
Auto lock e2e ( #14624 )
...
* add auto lock e2e test
* fix console errors
3 years ago
Ariella Vu
98c7515344
TransactionListItem: fix save/cancel rounded btn ( #14659 )
3 years ago
Niranjana Binoy
0a10b425ea
Add New Tokens Found page ( #14366 )
3 years ago
ryanml
a2ea1cacc8
Fixing Speed up/Cancel information text ( #14551 )
...
* Fixing Speed up/Cancel information text
* Adding tests
3 years ago
Frederik Bolding
fa9d703aa0
Fix SRP paste duplication ( #14625 )
...
* Fix SRP paste duplication
* Remove else-case for paste event
* Add E2E test that would catch this issue in the future
* Fix linting
3 years ago
Thomas Huang
d139e69545
Unit test proptype ( #14509 )
...
* Confirm page container content currentTransaction proptype change string to object
* Add title prop
3 years ago
ryanml
fd3eabf327
Revert "Revert "Dark Mode: What's New Announcement ( #14346 )""
...
This reverts commit 9cea6f57ef
.
3 years ago
George Marshall
ad1abaaef4
Updating text/muted to text/alternative for select text on home screen ( #14553 )
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
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
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
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
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
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
Guillaume Roux
9950d3ffe3
Dark Mode : Fix connected account permission icon color ( #14406 )
3 years ago