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 infinite loading screen on challenge browse page #2456

Merged

Conversation

CollinBeczak
Copy link
Collaborator

@CollinBeczak CollinBeczak commented Oct 1, 2024

Fixes bug where, when the user is signed out, the challenge browse page loads infinitely.
Screenshot 2024-10-01 at 8 53 56 AM

The issue occurred because we retrieve the owner ID from the challenge data. Previously, users were required to be logged in with proper authentication to access certain high-load endpoints. If a user wasn’t logged in, the system would return an empty array. Since this empty array lacked the owner object, the UI failed to meet the conditions needed to move past the loading spinner, causing the bug."

@CollinBeczak CollinBeczak marked this pull request as ready for review October 3, 2024 17:04
Copy link
Contributor

@jake-low jake-low left a comment

Choose a reason for hiding this comment

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

Thanks for catching and fixing my bug! 😅

I'll make a note to test these pages when logged out when I'm making changes to them in the future.

@CollinBeczak CollinBeczak merged commit 45b11c8 into main Oct 3, 2024
6 checks passed
@CollinBeczak CollinBeczak deleted the fix-infinite-loading-screen-on-challenge-browse-page branch October 3, 2024 17:41
@danieldegroot2
Copy link
Contributor

@CollinBeczak It does not seem to be resolved yet. Force clearing cache does not help.

@jake-low
Copy link
Contributor

@danieldegroot2 Sorry for the confusion. This fix hasn't been deployed to production yet. Now that it's landed in the main branch it will definitely be included in the next release, which we are hoping to create and deploy early next week.

@CollinBeczak CollinBeczak mentioned this pull request Oct 15, 2024
@jake-low
Copy link
Contributor

@danieldegroot2 this has now been deployed.

@danieldegroot2
Copy link
Contributor

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants