BioAnalyticResource / ePlant

ePlant is a gene-centric visualization tool for plant genomes
https://bioanalyticresource.github.io/ePlant/
GNU General Public License v2.0
7 stars 12 forks source link

Yonah/chromosome view gene fetch fix #141

Closed y330 closed 2 weeks ago

y330 commented 3 months ago

Fixed the ujnneccary fetches in Chromosome.tsx by moving the given code to top level index.tsx file. Now instead of many many fetches per gene annotation, only 2 occur. I checked the other views to see if they also sometimes have duplicate fetches, and they do so i dont think theres anything to do about it. Before: image After: image

mwkyuen commented 2 months ago

Just following up here, @y330, are you able to continue with this PR and make those changes or do you want someone else to take over this PR?

y330 commented 1 month ago

@Yukthiw @VinLau Yes, I am able to continue this PR. I am currently experiencing some technical issue on my end. I see a white screen on the localhost of the project, even when I view it on another browser. I have tried changing my branch to staging and it still happens. image any suggestions?

Yukthiw commented 1 month ago

@Yukthiw @VinLau Yes, I am able to continue this PR. I am currently experiencing some technical issue on my end. I see a white screen on the localhost of the project, even when I view it on another browser. I have tried changing my branch to staging and it still happens. image any suggestions?

Could be a CORS issue again? Can you check the logs to see if there's a CORS error? If so try the Allow-CORS extension

@Yukthiw @VinLau Yes, I am able to continue this PR. I am currently experiencing some technical issue on my end. I see a white screen on the localhost of the project, even when I view it on another browser. I have tried changing my branch to staging and it still happens. image any suggestions?

Could be a CORS thing? Can you check to see if you are seeing CORS errors?

VinLau commented 1 month ago

@Yukthiw @VinLau Yes, I am able to continue this PR. I am currently experiencing some technical issue on my end. I see a white screen on the localhost of the project, even when I view it on another browser. I have tried changing my branch to staging and it still happens. image any suggestions?

Hi I can load the local dev on my end. Try nuking your NPM folder and reinstalling. Helps me often.

y330 commented 1 month ago

@VinLau Just tried that using rm -rf node_modules, and succesfully removed and reinstalled node_modules, but im still getting the white screen

mwkyuen commented 1 month ago

I'm able to see the page with npm run dev. Can you open your developer console (right click -> inspect) and see what error message you are getting.

Screenshot 2024-10-10 at 4 53 16 PM