seanprashad/leetcode-patterns

Website shows not a single question today

wind2002 opened this issue · 7 comments

https://seanprashad.com/leetcode-patterns/
None of the questions are being showed today.

Marked as solution by @seanprashad: Clear localStorage in your browser and refresh the page - we've updated the website to pull company data directly from Leetcode!

So sorry about this @wind2002 - are you able to try in an incognito/private browser?

Also any more details from the developer console would be great! We might need to clear localStorage, which will flush any progress you have saved, but let's try a less evasive approach for now.

We just landed a PR to automate retrieving metadata from Leetcode's API and that might have introduced a bug!

incognito/private browser seems work for me, thanks for the suggestion.
I'll try to clear the cache for my browser later.
Just a heads up that other people might hit into same problem as I do.

Okay great! Working in incognito won't save your progress if you use the checkboxes so try doing a "hard refresh" via Cmd + Shift + R - this might fetch icons for the new companies I've added yesterday.

If that doesn't help, clearing localStorage will reset your progress, but fix the site.

Thanks for opening this issue!!

I haven't encountered this issue when opening the site on my end.

I had the same problem and cmd shift r didn't fix it. I cleared local storage, and the problems are back although I can't filter by company still. I see 404s for the duolingo and cohesity icons in the console.
Screen Shot 2022-08-07 at 2 31 52 PM
Screen Shot 2022-08-07 at 2 44 24 PM

Edit: We've opened #215 to add back the ability to filter by company

Edit 2: Landed #223 to add these missing icons

Really appreciate the input @lincolnschick - I'm confirming that I also don't see Duolingo or Cohesity for the companies. I have to add them here:

https://github.com/seanprashad/leetcode-patterns/tree/master/public/static/icons

image

Closing as this has been fixed for sometime now!