Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

Infinite Loading on Local Dev

Open
#2,624 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug difficult
Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 21h
Merged PRs (30d)
11

Description

Browser(s)

Chrome, Firefox, Safari

Platform(s)

Desktop

Version(s)

develop

Observed Behavior

The app gets stuck on a permanent loading screen on local dev unless you open it in incognito mode. It also appears that it may cause a memory leak? (But it's also possible by laptop is just shitty)

Expected Behavior

It should not load infinitely lol

Steps to Reproduce
  1. (I believe this happens after you yarn prisma reset)
  2. Try to open your local version of FinishLine on any browser
  3. It appears that clearing your localStorage/ using incognito mode fixes it. It looks like a combination of devuserid being set and organizationid being set is what's causing the issue. The addition of the organization id is what made this start happening
Screenshots (as needed)

N/A

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue after running yarn prisma reset, then compare normal browser behavior with incognito mode and cleared localStorage. Investigate the interaction between the stored devuserid and organizationid values; it is done when local development no longer remains on the loading screen across Chrome, Firefox, and Safari.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.