1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00
Commit Graph

14755 Commits

Author SHA1 Message Date
Brad Decker
109e46c95f remove unnecessary usage of renderableGasButton logic (#15422) 2022-08-03 19:41:53 -02:30
Brad Decker
4c4ce83b0b fix issues relating to race conditions where draftTx does not exist (#15420)
* fix issues relating to race conditions where draftTx does not exist

* add another fail safe for inflight initializations
2022-08-03 19:39:03 -02:30
Alex Donesky
29c7f2227a Enhance approval screen title logic (#15406) 2022-08-03 19:39:02 -02:30
Dan J Miller
8b4e046ac3 Fix optimism send flow (#15419) 2022-08-03 19:33:45 -02:30
Alex Donesky
d363bdbb21 Fix error that occurs when attempting to display transaction value for an approval transaction with no value argument in the transaction data (#15398) 2022-08-03 19:33:45 -02:30
MetaMask Bot
f503a634f0 Version v10.18.2 2022-08-03 20:57:32 +00:00
Dan J Miller
0315a3d9ab
Merge pull request #15331 from MetaMask/Version-v10.18.1
Version v10.18.1 RC
2022-07-26 13:22:51 -02:30
Dan J Miller
99f753d73f Metrics adjustments (#15313)
* Don't send errors to sentry if users have not opted-in to participate in metametrics

* Don't capture opt-out metrics

* Move the metrics-opt in screen to immediately after the welcome screen

* Ensure that global.getSentryState is set in the background

* Fix e2e tests after rearranging onboardin flow

* Fix unit tests

* More e2e test fixes

* Remove unnecessary wrappers around capture exception
2022-07-22 18:19:36 -02:30
Dan Miller
d35d3ca745 Update changelog for v10.18.1 2022-07-22 18:18:52 -02:30
MetaMask Bot
e577a1b66e Version v10.18.1 2022-07-22 20:44:27 +00:00
Dan J Miller
cea02f8fe0
Merge pull request #15173 from MetaMask/Version-v10.18.0
Version v10.18.0 RC
2022-07-22 12:44:35 -02:30
seaona
74bdf046cd Added missing PRs on changelog 2022-07-22 14:33:16 +02:00
Alex Donesky
f0556cf097 fix blockExplorer link on setApprovalForAll confirmation screen (#15312) 2022-07-21 20:55:04 -02:30
Brad Decker
024a62f401 enable direct routing to the send page (#15259) 2022-07-21 14:13:22 -02:30
PeterYinusa
810c00c108 mock contract interaction signature in e2e tests (#15297) 2022-07-21 08:24:54 +02:00
Dan J Miller
11374ec4d7 Ensure that editing a tx from a transfer to a simple send resets data and updates type (#15248)
* Ensure that editing a transaction from a transfer to a simple send properly resets data and updates type

* Handle case where there are no unapproved txes

* Improve comment in updateSendAsset

* Remove unnecessary code in send transaction edit function

* Fix

* Ensure hex data is properly reset when changing from a safe transfer from tx to native send
2022-07-20 17:42:35 -07:00
Frederik Bolding
930f5e8558 Fix stringified object on NFT approve screen (#15287) 2022-07-20 14:28:47 -07:00
Alex Donesky
11abdddaa2 show asset name instead of symbol for setApprovalForAll calls on NFT contracts where possible (#15296) 2022-07-20 21:13:28 +02:00
seaona
1d342252c5
Changelog 10.18.0 (#15207)
* Changelog 10.18.0

* Remove feature flag commits for popular networks

* Remove commit Bump design tokens as has no effect on UI
2022-07-19 12:27:11 +02:00
Alex Donesky
de0f836a27 small approve confirmation ui fixes (#15239) 2022-07-15 14:45:06 +02:00
Dan J Miller
c63714c4f2 Show users a warning when they are sending directly to a token contract (#13588)
* Fix warning dialog when sending tokens to a known token contract address

Fixing after rebase

Covering missed cases

Rebased and ran yarn setup

Rebased

Fix checkContractAddress condition

Lint fix

Applied requested changes

Fix unit tests

Applying requested changes

Applied requested changes

Refactor and update

Lint fix

Use V2 of ActionableMessage component

Adding Learn More Link

Updating warning copy

Addressing review feedback

Fix up copy changes

Simplify validation of pasted addresses

Improve detection of whether this is a token contract

Refactor to leave updateRecipient unchanged, and to prevent the double calling of update recipient

Update tests

fix

* Fix unit tests

* Fix e2e tests

* Ensure next button is disabled while recipient type is loading

* Add optional chaining and a fallback to getRecipientWarningAcknowledgement

* Fix lint

* Don't reset recipient warning on asset change, because we should show recipient warnings regardless of asset

* Update unit tests

* Update unit tests

Co-authored-by: Filip Sekulic <filip.sekulic@consensys.net>
2022-07-13 19:46:30 -02:30
Dan J Miller
5e12aae541 Improve confirm screen tests (#15163)
* Improve confirm screen tests

* Fix transaction controller unit test

* Fix unit test fixtures

* Fix e2e test
2022-07-12 14:53:36 -02:30
Alex Donesky
8d20c2834f Add setApprovalForAll confirmation view (#15010)
* enhance setApprovalForAll confirmation flow

* cleanup

* address feedback
2022-07-11 22:02:56 -02:30
MetaMask Bot
550103a5b0 Version v10.18.0 2022-07-11 08:38:29 +00:00
seaona
a2499a6cf1 Auto-generated Changelog 2022-07-11 10:34:42 +02:00
Dan J Miller
6553b9a29b
Merge pull request #15126 from MetaMask/master-sync
Master sync following v10.17.0
2022-07-07 16:26:34 -02:30
Niranjana Binoy
bafc235928
Disable Seedphrase import button after switching seedphrase length (#15139) 2022-07-07 11:37:21 -04:00
Bowen Sanders
b486524c07
Snaps E2E Test Upgrades for the new test-snaps UI (#14980)
* fixed e2e tests for new UI

* fixed scrolling in tests to be bi-compatible

* updated enums to point to new UI version
2022-07-06 15:22:21 -07:00
Yuta Kurotaki
2366d1c85d
The Japanese word for sign is "署名" (#15078) 2022-07-05 10:58:32 -07:00
Dan J Miller
e8ea973f0f
Add feature flag to prevent add popular networks from being available on prod (#15117) 2022-07-04 12:20:37 -02:30
Erik Marks
08cc6c5e77
Bump minimum Node.js version to 16 (#15131) 2022-07-02 23:32:18 -07:00
ryanml
7ee492b434
Update Optimism ChainID from Kovan to Goerli (#15119) 2022-07-01 19:55:23 -07:00
干净
e1752a15db
fix Chinese translation (#14994) 2022-07-01 16:35:09 -07:00
PeterYinusa
4e1dbc6194
State logs e2e (#15123)
* download dir

* state logs e2e

* update ff version
2022-07-01 20:46:12 +01:00
PeterYinusa
dc780eeeb1
Send to hex-prefixed address e2e tests (#15111)
* add e2e test

* update variable name

* add test for ERC20
2022-07-01 17:40:31 +01:00
Dan Miller
9bc8e0bb08 Merge remote-tracking branch 'origin/develop' into master-sync 2022-07-01 13:57:47 -02:30
Dan J Miller
39e02fef0e
Merge pull request #15042 from MetaMask/Version-v10.17.0
Version v10.17.0 RC
2022-07-01 13:51:12 -02:30
PeterYinusa
dcd874616e Update wallet-overview.js (#15125) 2022-07-01 12:36:45 -02:30
PeterYinusa
79d0a2c8ba
Update wallet-overview.js (#15125) 2022-07-01 12:35:40 -02:30
Brad Decker
94967072f7
Remove global transaction state from send flow (#14777)
* remove global transaction state from send slice

* fixup new test
2022-07-01 08:58:35 -05:00
Dan J Miller
c5b3daa35b Ensure native asset icon does not display incorrectly when switching networks and balance is loading (#15116) 2022-07-01 10:44:11 -02:30
Dan J Miller
f4b25d7ea5
Ensure native asset icon does not display incorrectly when switching networks and balance is loading (#15116) 2022-07-01 10:38:42 -02:30
ryanml
2e58cc96b4
Revert "Update Optimism ChainID from Kovan to Goerli (#15115)" (#15118)
This reverts commit 799472247d.
2022-07-01 05:49:15 -02:30
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!
2022-06-30 17:35:51 -07:00
ryanml
fa6eca39e9
Merge pull request #15108 from MetaMask/master-sync
Master Sync PR following v10.16.2
2022-06-30 16:08:02 -07:00
seaona
10c480b118 Run lavamoat auto 2022-06-30 19:16:46 +02:00
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
2022-06-30 13:49:07 -02:30
Alex Donesky
3a31326199
Add fallback image/card for NFTs when image was not fetched correctly or does not exist (#15034)
* add fallback image/card for collectibles when image was not fetched correctly or does not exist

* UI and storybook updates (#15071)

* UI and storybook updates

* Adding break so token id is displayed

* subtle border fix

* Updating content

* Removing unused image

* Adding proptype descriptions

* Lint fix

Co-authored-by: George Marshall <george.marshall@consensys.net>
2022-06-30 08:46:38 -07:00
Dan J Miller
0884b6aa10 Merge remote-tracking branch 'origin/develop' into master-sync 2022-06-30 02:26:56 -02:30
ryanml
b0b1b29d61 Fixing changelog 2022-06-29 21:04:00 -07:00