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
2022-05-26 16:26:45 -05:00
Daniel
6dbb2c4ded
Migrate the "estimateGas" API call to "getFees" for STX ( #14767 )
2022-05-26 19:56:28 +02:00
Brad Decker
51986a4724
Add types to send state ( #14740 )
2022-05-25 15:54:05 -05:00
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
2022-05-25 18:19:02 +02:00
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
2022-05-25 08:35:36 -07:00
Ariella Vu
70bdd9729f
Enables the "Safe Transaction From" copy for safeTransferFrom transactions ( #14769 )
...
* useTransactionDisplayData:support safetransferfrom
* useTransactionDisplayData: update test
2022-05-25 10:13:15 -05:00
Brad Decker
3177c6abbb
remove draft transaction ( #14701 )
2022-05-24 16:05:27 -05:00
VSaric
623fd91d65
Fix currency conversion rate ( #14713 )
2022-05-24 15:16:11 -05:00
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
2022-05-24 18:30:46 +02:00
Frederik Bolding
c833e41eee
Restore SiteOrigin chip on permission screen ( #14768 )
...
* Restore SiteOrigin chip on permission screen
* Fix linting
2022-05-24 18:04:07 +02:00
VSaric
e7d1476522
Sign button is enabled after scrolling all the way to the bottom ( #14745 )
2022-05-24 10:28:40 -05:00
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
2022-05-23 15:04:54 -05:00
Alex Donesky
634cf70a71
Enhance reusable SiteOrigin component ( #14720 )
...
* extend and reuse SiteOrigin component
2022-05-20 09:35:18 -05:00
Thomas Huang
11831c6ae5
Add hideEstimatedGasFee prop to sort-list and select-quote-popover tests ( #14725 )
2022-05-19 10:43:31 -07:00
VSaric
a5e07b0f18
Chain ID field use the same color pattern as the currency symbol field warning message below ( #14644 )
2022-05-19 10:52:17 -05:00
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
2022-05-18 13:49:26 +02:00
Ariella Vu
9d058007cc
NetworksTab: make footer buttons nowrap ( #14733 )
2022-05-17 19:44:32 -05:00
Dan J Miller
944c22262f
Ensure send logs use current chain currency symbol ( #14726 )
2022-05-17 14:27:23 -02:30
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
2022-05-16 17:28:20 -05:00
Ariella Vu
1464ab724f
Storybook: Fix SignatureRequest component ( #14706 )
...
* SB:SignatureRequest: fix control type
* SB:SignatureRequest: fix args
expected by sanitizeMessage
* SignatureRequests: cleanup
2022-05-16 17:24:08 -05:00
Thomas Huang
dbe89049bd
Unit test proptype ( #14564 )
...
* Change import file to root index
* Properly set showFiat proptype to bool
2022-05-16 13:53:47 -07:00
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>
2022-05-16 13:38:04 -05:00
dragana8
a0c4febfce
"Cancel/reject all" for signature requests #13201 ( #13786 )
2022-05-16 13:36:19 -05:00
Lachlan Tweedie
eee4cc3100
Add Coinbase Pay as fiat onramp option ( #14648 )
2022-05-12 18:27:49 -05:00
Daniel
d305dcba9d
Change styles for the high price impact notification in Swaps ( #14697 )
2022-05-12 19:57:05 +02:00
Alex Donesky
5e55cf2cf2
add case in useTransactionDisplayData to handle transaction type safeTransferFrom ( #14678 )
...
* add case in useTransactionDisplayData to handle transaction type safeTransferFrom
* add test
2022-05-12 10:02:08 -05:00
Niranjana Binoy
6c757ab5e0
Event tracking for Token Detection V2 ( #14441 )
2022-05-11 16:27:58 -04:00
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.
2022-05-11 13:14:53 -07:00
Daniel
9a153d2388
Remove gas editing in Swaps ( #14673 )
...
* Remove gas editing in Swaps
* Remove "extraApprovalGas"
2022-05-11 20:30:03 +02:00
ryanml
54292f6c81
Fix eth_sign 'Learn more' dialog link ( #14667 )
2022-05-10 17:25:36 -07:00
George Marshall
23f4b58dca
Updating alert text color ( #14674 )
2022-05-10 10:28:30 -07:00
PeterYinusa
f47d02b72a
Auto lock e2e ( #14624 )
...
* add auto lock e2e test
* fix console errors
2022-05-10 17:57:11 +01:00
Ariella Vu
98c7515344
TransactionListItem: fix save/cancel rounded btn ( #14659 )
2022-05-09 13:11:25 -05:00
Niranjana Binoy
0a10b425ea
Add New Tokens Found page ( #14366 )
2022-05-09 13:47:06 -04:00
Daniel
2bd7127433
Swaps / STX improvements ( #14622 )
2022-05-09 18:48:14 +02:00
Frederik Bolding
9e401b14bf
Simplify removeSnap functionality after snaps-skunkworks update ( #14646 )
2022-05-09 18:19:34 +02:00
ryanml
a2ea1cacc8
Fixing Speed up/Cancel information text ( #14551 )
...
* Fixing Speed up/Cancel information text
* Adding tests
2022-05-09 08:37:31 -07:00
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
2022-05-09 14:46:20 +02:00
Brad Decker
564ad2f81b
Track send flow history on txMeta ( #14510 )
2022-05-04 11:54:46 -05:00
David Walsh
8a71f0f008
Add search information for Theme dropdown ( #14476 )
2022-05-04 09:57:01 -05:00
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
2022-05-03 17:55:41 +02:00
Frederik Bolding
3b3a680682
Stop using 4bytes for contract deployment ( #14598 )
2022-05-02 16:49:01 -05:00
Alex Donesky
12a088e638
Fix browser.tab.get call ( #14550 )
...
* update to expect promise from browser api polyfill rather than pass callback
2022-04-29 09:21:06 -05:00
Thomas Huang
d139e69545
Unit test proptype ( #14509 )
...
* Confirm page container content currentTransaction proptype change string to object
* Add title prop
2022-04-28 15:14:53 -07:00
George Marshall
ad1abaaef4
Updating text/muted to text/alternative for select text on home screen ( #14553 )
2022-04-28 06:03:12 -07:00
Guillaume Roux
6309d53650
Dark Mode : Add OS option in theme selection dropdown ( #14379 )
2022-04-28 14:36:28 +02:00
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>
2022-04-27 20:14:10 +02:00
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
2022-04-27 10:36:32 +02:00
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
2022-04-26 12:08:14 -07:00
ryanml
0c49bc14d4
Fixing 'Learn more' casing on import token screen ( #14529 )
2022-04-26 10:25:07 -07:00