1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/ui/app/pages
Mark Stacey 552ea136b7
Fix onboarding library integration (#9835)
The bug with our onboarding library integration was introduced in #8873
because of a change in when `completeOnboarding` was called. We hadn't
realized at the time that the onboarding integration relied upon the
onboarding completing event to know when the onboarding state should
be cleared. Because onboarding is now marked as completed earlier, the
state was cleared just as it was intended to be used.

The onboarding completed event has been moved back to where it was
before: after the user exits the "end of flow" page.

The original problem that #8873 was addressing was a routing issue,
where the user would be redirected back to the seed phrase confirmation
page despite already having confirmed their seed phrase. This was fixed
in a different way here, by updating the routing in the first time flow
switch to skip straight to the end of flow page if the seed phrase has
already been confirmed.

This does involve one user-facing change in behavior; if the user opens
any MetaMask UI before navigating away from the end-of-flow screen,
they will still be considered mid-onboarding so it'll redirect to the
end-of-flow screen. But we do mark onboarding as completed if the user
closes the tab/window while on the end of flow screen, which was
another goal of #8873.
2020-11-10 17:57:08 -03:30
..
add-token Create custom addHexPrefix function (#9306) 2020-11-06 13:18:00 -08:00
asset [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
confirm-add-suggested-token [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
confirm-add-token [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
confirm-approve expand transaction constants coverage (#9790) 2020-11-07 01:38:12 -06:00
confirm-decrypt-message [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
confirm-deploy-contract [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
confirm-encryption-public-key [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
confirm-send-ether [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
confirm-send-token [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
confirm-token-transaction-base [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
confirm-transaction expand transaction constants coverage (#9790) 2020-11-07 01:38:12 -06:00
confirm-transaction-base expand transaction constants coverage (#9790) 2020-11-07 01:38:12 -06:00
confirm-transaction-switch add shared transaction constants (#9459) 2020-11-03 16:57:51 -06:00
connected-accounts [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
connected-sites [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
create-account Add custom hd path option (#9367) 2020-11-06 16:17:16 -08:00
error [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
first-time-flow Fix onboarding library integration (#9835) 2020-11-10 17:57:08 -03:30
home Track whether seed phrase has been backed up (#9830) 2020-11-10 12:34:20 -03:30
keychains Autofocus input, improve accessibility of restore page (#9748) 2020-11-03 12:40:12 -06:00
lock Revert "Remove unnecessary lock page (#9793)" (#9825) 2020-11-09 10:20:24 -03:30
mobile-sync [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
permissions-connect [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
routes Revert "Remove unnecessary lock page (#9793)" (#9825) 2020-11-09 10:20:24 -03:30
send Make QR code button focusable (#9822) 2020-11-09 09:52:06 -06:00
settings Never disable save button if props chain ID is invalid (#9808) 2020-11-05 14:57:11 -08:00
swaps Add a minimumGasLimit to the gas customization modal in swaps (#9600) 2020-11-10 16:50:39 -03:30
unlock-page Make the login screen's Restore and Import links accessible (#9746) 2020-11-03 13:42:47 -06:00
index.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
pages.scss Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30