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
ryanml
250b3d5499
Fixing add recipient flow issue with contact list/recent recipients ( #14771 )
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
Daniel
6dbb2c4ded
Migrate the "estimateGas" API call to "getFees" for STX ( #14767 )
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
Daniel
f6576801d4
Fix an edge case with missing top assets in Swaps ( #14688 )
...
* If there is no array of top assets in a response, use an empty array
* Set a default empty array for 2 functions, remove an unnecessary condition
* Redirect a user from Swaps to the homepage if they switch to a chain that is not supported in Swaps
* Fix errors in the UI Console when it's not a swaps chain
3 years ago
Alex Donesky
634cf70a71
Enhance reusable SiteOrigin component ( #14720 )
...
* extend and reuse SiteOrigin component
3 years ago
Thomas Huang
11831c6ae5
Add hideEstimatedGasFee prop to sort-list and select-quote-popover tests ( #14725 )
3 years ago
VSaric
a5e07b0f18
Chain ID field use the same color pattern as the currency symbol field warning message below ( #14644 )
3 years ago
Ariella Vu
9d058007cc
NetworksTab: make footer buttons nowrap ( #14733 )
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
Daniel
d305dcba9d
Change styles for the high price impact notification in Swaps ( #14697 )
3 years ago
Niranjana Binoy
6c757ab5e0
Event tracking for Token Detection V2 ( #14441 )
3 years ago
Erik Marks
4b2cd0ef7a
Fix Snaps view search ( #14693 )
...
Closes #14687
Snap IDs were not properly encoded (and decoded) as URI components in the Snaps view search implementation. This ensures that they are.
3 years ago
Daniel
9a153d2388
Remove gas editing in Swaps ( #14673 )
...
* Remove gas editing in Swaps
* Remove "extraApprovalGas"
3 years ago
PeterYinusa
f47d02b72a
Auto lock e2e ( #14624 )
...
* add auto lock e2e test
* fix console errors
3 years ago
Niranjana Binoy
0a10b425ea
Add New Tokens Found page ( #14366 )
3 years ago
Daniel
2bd7127433
Swaps / STX improvements ( #14622 )
3 years ago
Frederik Bolding
9e401b14bf
Simplify removeSnap functionality after snaps-skunkworks update ( #14646 )
3 years ago
Brad Decker
564ad2f81b
Track send flow history on txMeta ( #14510 )
3 years ago
David Walsh
8a71f0f008
Add search information for Theme dropdown ( #14476 )
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
Alex Donesky
12a088e638
Fix browser.tab.get call ( #14550 )
...
* update to expect promise from browser api polyfill rather than pass callback
3 years ago
George Marshall
ad1abaaef4
Updating text/muted to text/alternative for select text on home screen ( #14553 )
3 years ago
Guillaume Roux
6309d53650
Dark Mode : Add OS option in theme selection dropdown ( #14379 )
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
Alex Donesky
cf2c6a3164
show token approval details on confirm approve screen by default ( #14523 )
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
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
Dan J Miller
5b0d465d30
Fix the alerts toggles in settings ( #14498 )
3 years ago
Dan J Miller
3ecc04e42d
Fix the alerts toggles in settings ( #14498 )
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
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
Daniel
eed6ae2b8c
Swaps: Sort "token_from" dropdown tokens by their fiat value first and "token_to" by top tokens ( #14436 )
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
Frederik Bolding
637a960d3c
Use correct casing for "learn more" ( #14412 )
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
George Marshall
cdb9d341bc
color fix for hover on swaps quote ( #14334 )
3 years ago