1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/helpers/constants
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
..
available-conversions.json remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
common.js Show users a warning when they are sending directly to a token contract (#13588) 2022-07-13 19:46:30 -02:30
connected-sites.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
critical-error.js Add friendly error handling when background throws an error before listening for connection (#14461) 2022-06-08 00:37:15 +04:00
design-system.js Fix/14856 network settings page (#14857) 2022-06-15 13:16:53 -07:00
error-keys.js Add modal with directions to re-add token as NFT (#13291) 2022-01-19 12:42:41 -06:00
gas.js EIP-1559 V2 UI fixes (#13222) 2022-01-07 04:10:31 +05:30
notifications.js Snap notifications integration (#14605) 2022-06-01 19:09:13 +02:00
onboarding.js Fixed issues in onboarding flow (#13826) 2022-03-10 10:33:53 -06:00
routes.js Add setApprovalForAll confirmation view (#15010) 2022-07-11 22:02:56 -02:30
settings.js Adding popular custom network integration (#14557) 2022-06-30 13:49:07 -02:30
transactions.js Add setApprovalForAll confirmation view (#15010) 2022-07-11 22:02:56 -02:30
zendesk-url.js Create password page (#13792) 2022-03-07 09:35:03 -06:00