1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/pages
Ariella Vu fadad601b8
ConfirmImportToken: Convert to Functional Component; Add storybook controls (#13594)
* ConfirmImportToken: convert to FC

* ConfirmImportToken: reorganize

* ConfirmImportToken: rm component from path

* replace mapStateToProps w/ useSelector
ConfirmImportToken

* replace mapDispatchToProps w/ useDispatch
ConfirmImportToken

* ConfirmAddSuggestedToken: useHistory

* ConfirmImportToken: add storybook controls

* ConfirmImportToken: rm 1st entry overwrite

* ConfirmImportToken: add tests

* ConfirmImportToken: use real Redux store in tests

* ConfirmImportToken: do not use mock-state.json
https://github.com/MetaMask/metamask-extension/pull/13594#discussion_r805022647

* ConfirmImportToken: tokenAddedEvent -> trackTokenAddedEvent

* Update ui/pages/confirm-import-token/confirm-import-token.js

Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>

* ConfirmImportToken: update useSelector logic

* ConfirmImportToken: replace typeof check w/ === undefined

* ConfirmImportToken: rm unnecessary /rendering from path

* ConfirmImportToken: fix add token redirect

* ConfirmImportToken: use useNewMetricEvent

* ConfirmImportToken: rename vars using "addedToken"

* ConfirmImportToken: setAddedToken to obj copy

Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
2022-02-16 18:03:54 +00:00
..
add-collectible Add modal with directions to re-add token as NFT (#13291) 2022-01-19 12:42:41 -06:00
asset Created "Token details" page (#13216) 2022-02-16 13:29:39 -03:30
confirm-add-suggested-token Use ActionableMessage for ConfirmAddSuggestionToken warnings (#13402) 2022-02-01 15:30:15 +00:00
confirm-approve Adding metrics events for EIP-1559 V2 flow (#13329) 2022-02-01 23:23:03 +05:30
confirm-decrypt-message Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
confirm-deploy-contract Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-encryption-public-key Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
confirm-import-token ConfirmImportToken: Convert to Functional Component; Add storybook controls (#13594) 2022-02-16 18:03:54 +00:00
confirm-send-ether Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-send-token Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-token-transaction-base Feat/collectibles send flow (#13048) 2022-01-10 10:23:53 -06:00
confirm-transaction Hardening property check for stopPropagation in ConfirmTxScreen (#12158) 2021-09-21 11:58:39 -07:00
confirm-transaction-base Adding metrics events for EIP-1559 V2 flow (#13329) 2022-02-01 23:23:03 +05:30
confirm-transaction-switch Replace hardcoded sent ether label on confirm screen (#11802) 2021-09-15 16:54:51 -05:00
confirmation Add Snaps via Flask (#13462) 2022-02-14 16:02:51 -08:00
connected-accounts Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
connected-sites V10.9.0: Disconnect all accounts flow (#13309) 2022-01-13 18:05:35 -05:00
create-account Update global link hover color from orange to blue (--Blue-400) (#13344) 2022-01-19 11:59:52 -07:00
error Update Flask support links and home footer (#13226) 2022-01-05 21:25:20 -03:30
first-time-flow Extract "create vault" form to separate component (#13461) 2022-02-03 10:36:43 -03:30
home Add Snaps via Flask (#13462) 2022-02-14 16:02:51 -08:00
import-token Use ActionableMessage for ConfirmAddSuggestionToken warnings (#13402) 2022-02-01 15:30:15 +00:00
keychains Extract "create vault" form to separate component (#13461) 2022-02-03 10:36:43 -03:30
lock remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
mobile-sync Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
onboarding-flow Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
permissions-connect Add Snaps via Flask (#13462) 2022-02-14 16:02:51 -08:00
routes Created "Token details" page (#13216) 2022-02-16 13:29:39 -03:30
send Allow sending up to 15 decimals on the send screen (#12707) 2022-02-10 17:35:41 -05:00
settings Make default icons the same on mobile and extension #13264 (#13408) 2022-02-16 11:03:17 -06:00
swaps Removing EIP_1559_V2 feature flag (#13481) 2022-02-03 05:58:28 +05:30
token-details Created "Token details" page (#13216) 2022-02-16 13:29:39 -03:30
unlock-page Dark Mode Part 1: Switch to Using CSS Variables (#13147) 2022-01-06 11:35:49 -06:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
pages.scss Created "Token details" page (#13216) 2022-02-16 13:29:39 -03:30