1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00
metamask-extension/ui/pages
Daniel c3b79bb358
Show custom tokens in Swaps, add a custom token in Swaps (#11200)
* Show custom tokens in Swaps

* Add messages for adding a custom token in Swaps

* Add the first version of importing custom tokens in swaps

* Fix lint rules

* Create a new component: ImportToken

* Remove a pointer cursor from regular heading

* Fix a CSS issue for tokens with long names

* Update a comment

* Don’t return a custom token if it doesn’t have symbol or decimals

* Only search by contract address if nothing was found

* Track “Token Imported” event

* Fix unit tests

* Import tracking for “Token Imported”, increase token icon font size

* Disable token import for Source Token

* Update logic and content for notifications, update tests

* Do not hide a dropdown placeholder on click, so a user can click on a link

* Update a key name

* Update styling for the “danger” type notification in Swaps

* Show either a warning or danger notification based on token verification occurences

* Remove testnets from SWAPS_CHAINID_DEFAULT_BLOCK_EXPLORER_URL_MAP

* Use the “shouldSearchForImports” prop

* Create a new function for handling token import: “onOpenImportTokenModalClick”

* Filter token duplicities before iterating over tokens

* Use “address” instead of “symbol” for checking uniqueness

* Trigger Build

* Use a new API (/token) to get token data for importing in Swaps

* Temporarily decrese Jest threshold for functions
2021-06-03 13:38:37 -02:30
..
add-token Handling custom token decimal fetch failure due to network error (#10956) 2021-05-18 13:23:54 -04:00
asset use etherscan-link customBlockExplorer methods with customNetwork usage tracking (#11017) 2021-05-19 09:51:47 -05:00
confirm-add-suggested-token remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-add-token remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-approve Fixing lint warning in confirm-approve.stories.js (#11185) 2021-05-26 09:17:08 -07:00
confirm-decrypt-message remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-deploy-contract implement safer to buffer (#11159) 2021-05-21 15:07:06 -05:00
confirm-encryption-public-key remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-send-ether remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-send-token remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirm-token-transaction-base Add Approval Confirmation Screen component to Storybook (#10998) 2021-05-25 08:20:09 +08:00
confirm-transaction send user to activity after transaction complete (#10946) 2021-05-03 12:51:09 -05:00
confirm-transaction-base implement safer to buffer (#11159) 2021-05-21 15:07:06 -05:00
confirm-transaction-switch remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
confirmation Supporting existing default networks in switchEthereumChain (#11184) 2021-05-26 09:17:18 -07:00
connected-accounts remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
connected-sites remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
create-account use etherscan-link customBlockExplorer methods with customNetwork usage tracking (#11017) 2021-05-19 09:51:47 -05:00
error remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
first-time-flow Add Approval Confirmation Screen component to Storybook (#10998) 2021-05-25 08:20:09 +08:00
home add setting to dismiss seed phrase backup reminder (#10967) 2021-05-05 08:58:29 -05:00
keychains remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
lock remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
mobile-sync remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
permissions-connect remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
routes Fix #10173 - Prevent lag in external monitors when using Mac + Chrome (#10952) 2021-04-30 10:28:07 -05:00
send Fixing jest component test output errors (#11139) 2021-05-20 11:28:25 -07:00
settings Add Approval Confirmation Screen component to Storybook (#10998) 2021-05-25 08:20:09 +08:00
swaps Show custom tokens in Swaps, add a custom token in Swaps (#11200) 2021-06-03 13:38:37 -02:30
unlock-page replacing seed phrase with Secret Recovery Phrase (#10994) 2021-05-07 09:07:43 -04:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
pages.scss remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00