1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
Commit Graph

6058 Commits

Author SHA1 Message Date
Filip Sekulic
61d5a6e4d5 Fixed navigation through multiple unapproved transactions for ERC20 tokens (#16822) 2023-01-11 15:53:03 +00:00
PeterYinusa
8690cb0f5a Security and Privacy Settings Re-org (#16756) 2023-01-11 14:17:55 +00:00
Olusegun Akintayo
effbd7f953 Security and Privacy Settings Re-org (#16756) 2023-01-11 12:55:20 +00:00
Adnan Sahovic
f5c95860f7 Display large and small numbers as decimals instead of scientific notation on token allowance confirmation screens (#16676)
Co-authored-by: VSaric <vladimir.saric@consensys.net>
Co-authored-by: Vladimir Saric <92527393+VSaric@users.noreply.github.com>
2023-01-10 23:03:57 +00:00
David Walsh
c2ffac6e31 Fix #16959 - Don't allow user to see welcome or password creation screen after a keyring has been created (#17024) 2023-01-10 13:56:50 +00:00
Alaa Hadad
ea97711143 soft disable onramp provider wyre (#17102) 2023-01-09 20:09:46 +00:00
ryanml
470bfea08d Fix 'Back' navigation from Restore Vault page when accessed from popup window (#17095) 2023-01-09 20:09:25 +00:00
ryanml
925c835a89 Onboarding V2: Fix 'Securing my Wallet' when coming from backup reminder after account recovery (#17088) 2023-01-09 20:09:02 +00:00
Vladimir Saric
dd728b07db Align custom spending cap Max button in approve screen for multiple languages (#16927)
* Align custom spending cap Max button in approve screen for multiple languages

* Modify some css styles and adding Box props

* Using ButtonLink component instead of <button/>

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-01-04 21:48:47 +00:00
Frederik Bolding
3d1b5062fe Improve SignatureRequest performance (#17052)
* Improve SignatureRequestData performance

* Memoize more selectors
2023-01-04 21:48:20 +00:00
amerkadicE
30a5208be7 Track when token balance is changed to update value on approval screen (#16964)
* Track when token balance is changed to update value on approval screen

* Code refactor

* Fix unit test

* Fix sign approval balance

* Refactor code
2022-12-22 12:04:23 +01:00
Ariella Vu
8f3451396f i18n: fix missing locale for "en" error (#17014)
on locale change
2022-12-22 12:02:48 +01:00
dragana8
e7e72cf6fc Fix insufficient currency buy or receive error message (#16979) 2022-12-20 17:44:18 +01:00
Dan J Miller
cb2f25f767 Show user the general contract interaction screen for token approvals, when the asset standard is undefined (#16765)
Co-authored-by: Jyoti Puri <jyotipuri@gmail.com>
2022-12-20 17:41:21 +01:00
seaona
8c0678eb99 Merge branch 'master' into Version-v10.24.0 2022-12-19 11:06:54 +01:00
Ariella Vu
e0644a64f6 Fix token balance precision on confirm token approval page from soon-to-be-deprecated token allowance flow (#16934)
* ConfirmToken: fix token balance onboarding v1
this UI/UX should be deprecated following PR#16740, maybe v10.25

* TokenApproval: use precision for token balance

* EditApproval: calc utilizing existing util
2022-12-19 10:58:23 +01:00
Dan J Miller
60bfdf51d6 remove warning on revoke approval for all nfts (#16953)
Co-authored-by: EresDev <eresdev@hotmail.com>
2022-12-19 10:57:42 +01:00
David Walsh
6439a0e934 Onboarding: Set SeedPhraseBackedUp when appropriate (#16875)
* Onboarding: Set SeedPhraseBackedUp when appropriate

* Dispatch setSeedPhraseBackedUp

* Fix test

* Make call async

* Fix test

* Fix test

* enhance test

Co-authored-by: Alex <adonesky@gmail.com>
2022-12-16 12:57:51 +01:00
seaona
9d6ab1bcb2 Fix lint by removing un-used variable getAccountsWithLabels 2022-12-15 20:20:58 +01:00
Dan J Miller
bb562ea29c Recipient name passed to confirm-page-container component should be u… (#16961)
* Recipient name passed to confirm-page-container component should be used if pet name exists for the to address

* Ensure recipient edit/add popup is shown for non-owned accounts

* Ensure contract name is rendered if it exists for recipient address

* Ensure that shortened address is last fallback after account, addressbook, token and ens names
2022-12-15 18:42:21 +01:00
Alex Donesky
5accaf88b9 add back error when password is too short (#16876) 2022-12-15 11:03:15 +01:00
Alex Donesky
bcfe67a132 fix issue where final onboarding pages are not show (#16943) 2022-12-14 18:00:12 +01:00
David Walsh
b40fd429fb Fix #16804 - Onboarding - Prevent odd behavior with clicks and show/hide password (#16878) 2022-12-14 16:38:45 +01:00
Jyoti Puri
4e272beb26 User should be able to search setting to batch account balance request (#16887) 2022-12-14 16:34:58 +01:00
Jyoti Puri
6bc01a1e97 Fix onboarding V2 Install complete page (#16941) 2022-12-14 16:27:59 +01:00
Alex Donesky
fde7cb5e17 remove the ability to navigate back into the onboarding flow after completing onboarding (#16916)
* fix issue when navigating back into the onboarding flow after completing onboarding

* disable navigating back into the onboarding flow

* lint

* fix test

* lint
2022-12-14 15:06:46 +01:00
Jyoti Puri
8d8fcdcf0e ButtonIcon: fix react component proptype (#16942) 2022-12-14 15:04:15 +01:00
Vladimir Saric
219e3129dc Added reject transactions modal to be present in the footer of the approve screen (#16832)
* Added reject transactions modal in the footer

* Use Button component for multiple unapproved tx
2022-12-14 11:15:25 +01:00
David Walsh
9dbc8b8ec0 Privacy - Show default selected network after a custom network has been added during onboarding (#16789)
* Privacy - Allow users to set a custom RPC from the onboarding process (#16767)

* Privacy - Allow adding custom IPFS from onboarding (#16782)

* Privacy - Show default selected network after a custom network has been added during onboarding

* WIP: Show dropdown list of networks

* Add network switcher to the onboarding advanced privacy screen

* Fix duplicate imports

* Provide default for networks

* Update ui/helpers/utils/ipfs.js

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>

* Fix lint

* Remove unwanted changes

* Fix lint

Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
2022-12-08 16:50:47 +00:00
David Walsh
5d15026f2f Privacy - Update metametrics copy during onboarding (#16825) 2022-12-08 16:48:26 +00:00
Pedro Figueiredo
5f6d5706ef fix locales for advance config (#16849) 2022-12-08 16:34:13 +00:00
amerkadicE
8885c54f13
NFT setApprovalForAll warning popover (#16195)
* NFT setApprovalForAll  warning popover
2022-12-06 14:24:07 -06:00
George Marshall
5592bc5fff
TextField house keeping 🧹 (#16668)
* TextField house keeping updates

* ButtonIcon prop name update and uncontrolled fix

* Updating snapshot
2022-12-06 11:52:03 -08:00
George Marshall
971f153e65
TextFieldBase house keeping 🧹 (#16667)
* TextFieldBase house keeping updates

* Fixing story

* Updating custom input story

* Updating ButtonIcon props and lint issues

* Updating snapshots
2022-12-06 11:51:48 -08:00
seaona
89ee4d4a4e Merge branch 'master' into Version-v10.23.0 2022-12-06 18:23:43 +01:00
Thomas Huang
8fde322907
Continue converting tests from enzyme to @testing-library/react (#16753) 2022-12-06 10:49:08 -06:00
Sailer43
1e173afc95
Fixed NumericInput Storybook Components (#16734) (#16737)
Co-authored-by: Brad Decker <bhdecker84@gmail.com>
Fixed https://github.com/MetaMask/metamask-extension/issues/16703
Fixes https://github.com/MetaMask/metamask-extension/issues/16703
2022-12-06 10:48:55 -06:00
Daniel
7f50febfcd
Ensure 0% slippage on Arbitrum for wrapping / unwrapping (#16778)
* Contract addresses to lowercase

* Use case insensitive checks in the shouldEnableDirectWrapping fn

* Remove duplicated functions, move unit tests into the right location
2022-12-06 10:44:09 -06:00
Filip Sekulic
c3f329cc80
Transaction security provider feature flag (#16776) 2022-12-06 11:43:53 -03:00
Dan J Miller
1e9d15f647 Revert "Add improved token allowance experience toggle (#16291)"
This reverts commit f3efe5a0bd.
2022-12-06 07:16:28 -03:30
Dan J Miller
5678becb5c Revert "Added "What's New" Notification for Improved token allowance experience (#16465)"
This reverts commit f9ed4a560b.
2022-12-06 07:16:10 -03:30
Dan J Miller
e3533878f4 Fix getFullTxData so that customTxParamsData is not lost (#16805)
Co-authored-by: Pedro Figueiredo <ganseki.figueiredo@gmail.com>
2022-12-05 16:05:08 -03:30
Dan J Miller
2434c435b4
Fix getFullTxData so that customTxParamsData is not lost (#16805)
Co-authored-by: Pedro Figueiredo <ganseki.figueiredo@gmail.com>
2022-12-05 16:04:06 -03:30
Vladimir Saric
9ede85c9ac
Updated secondary copy and removed the address component from SetApprovalForAll and NFT Approve screens (#16292) 2022-12-05 10:59:15 -06:00
Vladimir Saric
40cba69128
Removed Confirm and Cancel events as they are not triggered anymore (#16777) 2022-12-03 09:59:55 -06:00
Brad Decker
f7014a79fc
remove network name from analytics (#16781) 2022-12-03 09:57:48 -06:00
Alex Donesky
f162c58f5a
Allow adding networks with the same chainId as a preloaded/default network via wallet_AddEthereumChain API (#16733)
* allow adding networks with the same chainId as an existing network via API

Co-authored-by: Kurush Dubash <kurush@alchemyapi.io>
2022-12-02 21:14:27 -06:00
Alex Donesky
05ab94fd1c
Add security & privacy "What's New" message (#16783) 2022-12-02 17:59:41 -06:00
amerkadicE
702cab5fa7
Add user guidance on signature request screen (#16600) 2022-12-02 08:12:43 -06:00
George Marshall
3deb8734ac
TextFieldSearch house keeping updates (#16669) 2022-12-01 13:48:53 -08:00