Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix login process doesn't remember the worksheets page #3895

Merged
merged 1 commit into from
Dec 1, 2021

Conversation

jzwang43
Copy link
Contributor

@jzwang43 jzwang43 commented Nov 30, 2021

Reasons for making this change

Currently, logging out and back in doesn't bring the user back to the previous worksheet page.

Related issues

fixes #3892

Screenshots

To fix this, we just need to path in the correct props to the login page.

a

Checklist

  • I've added a screenshot of the changes, if this is a frontend change
  • I've added and/or updated tests, if this is a backend change
  • I've run the pre-commit.sh script
  • I've updated docs, if needed

@jzwang43 jzwang43 self-assigned this Nov 30, 2021
@jzwang43 jzwang43 changed the title Update NavBar.js Fix login process doesn't remember the worksheets page Nov 30, 2021
@@ -359,7 +359,12 @@ class NavBar extends React.Component<{
<Link to='/account/signup'>
<Button color='inherit'>Sign Up</Button>
</Link>
<Link to='/account/login'>
<Link
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we do the same for the sign up button?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's outside the scope of this issue. But we can talk about it in the meeting? Thanks!

@mergify mergify bot merged commit b1e92ff into master Dec 1, 2021
@mergify mergify bot deleted the login-redirect branch December 1, 2021 07:08
@epicfaace epicfaace mentioned this pull request Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

login process doesn't remember the worksheets page
2 participants