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

[Bug]: Leaderboard not in sync with login state #924

Closed
3 tasks done
vinayak-vohra opened this issue May 18, 2024 · 5 comments · Fixed by #942
Closed
3 tasks done

[Bug]: Leaderboard not in sync with login state #924

vinayak-vohra opened this issue May 18, 2024 · 5 comments · Fixed by #942
Assignees
Labels
bug Something isn't working gssoc level2

Comments

@vinayak-vohra
Copy link
Contributor

Contact Details

vn26vhr@gmail.com

What happened?

Leaderboard page does not update after change in login state. It updates only once, on first time leaderboard page load. I got this bug on laptop, tried on mobile and it does not occur there.

Steps to reproduce the bug (laptop):

  • When signed in
    • Go to leaderboard page and refresh.
    • Logout. User will be redirected to the login page.
    • Go back to leaderboard page and the user can still see the data, even when logged out.

Digitomize-leaderboard-page-logged-out

  • When signed out
    • Head to the leaderboard page in signed out state.
    • Now log in. User will be redirected to dashboard.
    • Go back to leaderboard page. User can't see their rank even when signed in, and needs to refresh the page.

Digitomize-leaderboard-page-logged-in

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

Relevant log output

No response

Are you interested in contributing?

  • I'd like to work on this issue

Code of Conduct

  • I have used the search function to check if an issue already exists
  • I agree to follow this project's Code of Conduct

Which program are you contributing in?

gssoc

@vinayak-vohra vinayak-vohra added the bug Something isn't working label May 18, 2024
Copy link

linear bot commented May 18, 2024

@github-actions github-actions bot added the gssoc label May 18, 2024
Copy link

Hello @vinayak-vohra! 🌟
Thanks a bunch for creating an issue. Your input is invaluable, and we're eager to collaborate with you to address the matter. Keep up the fantastic work!

Don't forget to hit the ⭐ star button 😉

Tip

Don't forget to check our Contributing Guidelines, PR Guidelines and Issue Guidelines for more details.

Website | Discord | Twitter | Instagram | Linkedin

@vinayak-vohra
Copy link
Contributor Author

@pranshugupta54 please respond.

@pranshugupta54
Copy link
Member

Will add level depending on your approach in the PR

@vinayak-vohra
Copy link
Contributor Author

@pranshugupta54 I have created the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gssoc level2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants