1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
Commit Graph

14764 Commits

Author SHA1 Message Date
Dan J Miller
11763a1fcb
Merge pull request #15454 from MetaMask/Version-v10.18.2
Version v10.18.2 RC
2022-08-04 15:08:44 -02:30
Dan J Miller
298c2d8ee9
Update changelog v10.18.2 (#15455)
* Update changelog v10.18.2

* Update CHANGELOG.md
2022-08-04 12:08:52 -02:30
Brad Decker
71dd39724b Use fromAccount instead of selectedAcccount for account updates on edit (#15449) 2022-08-03 19:51:46 -02:30
Dan J Miller
a4f0944517 Ensure smart contract interactions are properly represented on the confirm screen (#15446)
* Ensure smart contract interactions are properly represented on the confirm screen

* Fix unit tests

* Code cleanup

* Cleanup

* Code cleanup

* Fix test
2022-08-03 19:51:44 -02:30
Brad Decker
1073b4adfb add safegaurd for missing account in action (#15450)
* add safegaurd for missing account in action

* add test to cover case
2022-08-03 19:43:24 -02:30
Dan J Miller
d5b95d6e44 Ensure that if max is selected in send flow, the correct value is set after network switch (#15444) 2022-08-03 19:43:24 -02:30
ryanml
b6d587223b Opening Network Forms in full screen from the popup view (#15442) 2022-08-03 19:43:24 -02:30
Alex Donesky
47ae0def78 add access protection to the getNativeCurrencyImage selector in case it is the source of a mysterious bug on firefox (#15425) 2022-08-03 19:43:24 -02:30
Dan J Miller
50f8be1673 Stop throwing an error when adding gas defaults for a simple send, that has data, to an address without a response code (#15424)
* Stop throwing an error when adding gas defaults for a simple send, that has data, to an address without a response code

* Lint fix

* fixup lint

Co-authored-by: brad-decker <bhdecker84@gmail.com>
2022-08-03 19:43:23 -02:30
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