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

15614 Commits

Author SHA1 Message Date
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
Dan J Miller
35b07c7431 Add lavamoat policy override for react-responsive-carousel (#16955) 2022-12-21 14:25:01 +01:00
seaona
0123c9c859 Changelog with new entries from last cherry-picked commits 2022-12-21 11:26:49 +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
281f8e16b9 Changelog sync with master 2022-12-19 11:07:23 +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
Dan J Miller
557b5de08d Sanitize privacy sensitive data before sending to sentry. (#16780)
* Sanitize privacy sensitive data before sending to sentry.

Temp

Near complete

Complete

* Temp

* Fix url error message rewrite

* Add unit tests and cleanup code

* Improvements

* Update app/scripts/lib/setupSentry.js

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Update app/scripts/lib/setupSentry.js

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Update app/scripts/lib/setupSentry.js

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Fix syntax of doc comments

* Catch errors caused by invalid urls in sanitizeUrlsFromErrorMessages

* Ensure our allowlist matches multiple subdomains

* Ensure sanitizeUrlsFromErrorMessages correctly matches hostnames

* Update app/scripts/lib/setupSentry.js

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Improve test descriptions

* fix

Co-authored-by: Ariella Vu <20778143+digiwand@users.noreply.github.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2022-12-19 10:56:58 +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
Dan J Miller
34f83a8435
Merge pull request #16975 from MetaMask/Version-v10.23.1
Version v10.23.1
2022-12-15 20:20:26 -03:30
seaona
9d6ab1bcb2 Fix lint by removing un-used variable getAccountsWithLabels 2022-12-15 20:20:58 +01:00
seaona
56b89e7c9f Changelog entry for hotfix 2022-12-15 19:07:27 +01:00
MetaMask Bot
bc073a771c Version v10.23.1 2022-12-15 17:46:22 +00: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
seaona
3859c25cac
Changelog for 10.24.0 (#16888)
* Changelog for 10.24.0

* Update FLASK snaps-monorepo entry

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Flask entries

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

* Small fixes on changelog entries

* Updated Flask entries classification

* Add new cherry-picked entries

* Small fix for reject tx entry

* Update CHANGELOG.md [FLASK] Fix usage of wrong `ethereum` global for `ethereum` endowment

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>

Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2022-12-15 09:49:54 +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
Ariella Vu
c4f9dcc3a5 onboardingV2: fix privacy policy in spanish (#16918) 2022-12-14 16:33:36 +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
Frederik Bolding
1e156ebb94 [FLASK] Bump snaps iframe-execution-environment (#16932) 2022-12-14 12:37:39 +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
MetaMask Bot
47ddb321d2 Version v10.24.0 2022-12-07 14:06:53 +00:00
Dan J Miller
36ba4bc8a7
Merge pull request #16827 from MetaMask/master-sync
Master sync PR following v10.23.0
2022-12-07 10:04:47 -03:30
Dan Miller
bc042f96fe Merge remote-tracking branch 'origin/develop' into master-sync 2022-12-06 20:11:16 -03:30
Dan Miller
ce257d8b70 Revert "Use new assets contrller package to fix 0 decimal token bug (#16685)"
This reverts commit 91b635b195.
2022-12-06 20:06:11 -03:30
Dan Miller
388fa59804 Revert "Revert "Added "What's New" Notification for Improved token allowance experience (#16465)""
This reverts commit 5678becb5c.
2022-12-06 19:54:17 -03:30
Dan Miller
5b8f932264 Revert "Revert "Add improved token allowance experience toggle (#16291)""
This reverts commit 1e9d15f647.
2022-12-06 19:54:05 -03:30
Dan J Miller
6af3f9a4fb
Merge pull request #16485 from MetaMask/Version-v10.23.0
Version v10.23.0
2022-12-06 17:08:08 -03:30
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
Dan J Miller
f48cfca40d Update qs via yarn.lock to 6.5.3 (#16823) 2022-12-06 18:51:30 +00:00
Dan J Miller
1fa213835f
Update qs via yarn.lock to 6.5.3 (#16823) 2022-12-06 18:49:12 +00:00
seaona
40c025f955 Fix Changelog 2022-12-06 18:27:25 +01:00
seaona
89ee4d4a4e Merge branch 'master' into Version-v10.23.0 2022-12-06 18:23:43 +01:00
seaona
54b2c639b8 Remove Token Allowance entries from Changelog 2022-12-06 18:18:28 +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
weizman
0487de6e30
Upgrade Snow to new version 1.3.0 in MetaMask (#16815) 2022-12-06 17:10:59 +02:00