1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-26 05:13:37 +02:00
metamask-extension/ui/app/pages
Mark Stacey dbafa49448
Skip render when home page is closing or redirecting (#9012)
The Home page component is responsible for closing the notification
window and triggering redirects in various situations. When this
happens, the home page is briefly rendered before the redirect/close
happens. This is a waste of cycles, and is distracting for users.

We now render nothing if the page is in the process of redirecting or
reloading. None of the redirects handled in this component are for sub-
pages, so we don't need the Home page to render in any of these cases.

We were already doing this for redirects to transaction confirmations,
but now we're taking the same approach for all redirects, and for the
cases where the window is closed.
2020-07-16 15:23:07 -03:00
..
add-token Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
asset Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
confirm-add-suggested-token Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
confirm-add-token Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
confirm-approve Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
confirm-decrypt-message Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
confirm-deploy-contract Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
confirm-encryption-public-key Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
confirm-send-ether Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
confirm-send-token Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
confirm-token-transaction-base Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
confirm-transaction Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
confirm-transaction-base Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
confirm-transaction-switch Add MESSAGE_TYPE enum (#8743) 2020-06-04 16:22:45 -03:00
connected-accounts Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
connected-sites Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
create-account Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
error Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
first-time-flow Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
home Skip render when home page is closing or redirecting (#9012) 2020-07-16 15:23:07 -03:00
keychains Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
lock Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
mobile-sync Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
permissions-connect Display pending notifications after connect flow (#9011) 2020-07-16 09:13:29 -03:00
routes remove cancel redirect 2020-06-10 17:27:47 -07:00
send Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
settings Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00
unlock-page Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
index.js Use createContext for metametrics context (preserve legacy context) (#8540) 2020-05-08 11:41:43 -05:00
index.scss Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00