Something went wrong while fetching comments. Please try again.
Created by: oleggromov
This is a part of the Router v5 -> v6 migration that performs the 1st step of gradual update, updating the authentication related pages.
We're changing:
useLocation
, useParams
, and useNavigate
instead of the previous API where they were passed as propsNavigate
instead of Redirect
history
tooCheck the following cases manually:
/sign-in
page/sign-up
page
context.sourcegraphDotComMode = true
in SignUpPage.tsx
/welcome
) by signing in, then removing conditionals around <PostSignUpPage ...
in routes.tsx
/sign-up?editor=vscode
/password-reset
/unlock-account/something
with changing isLoading
to false
and removing the props.authenticatedUser
conditional (as well as without removing it to check redirect)/batch-changes
Ensure tests and all other checks are passing.
Check out the client app preview documentation to learn more.