OpenLake / iitbh-calendar

Generate your calendar for courses at IIT Bhilai
https://openlake.github.io/iitbh-calendar/
29 stars 12 forks source link

Store selected courses and settings in browser cache using Svelte persistent store #16

Open sbdaule5 opened 1 year ago

sbdaule5 commented 1 year ago

(Edited): Use svelte-persistent-store instead of simply storing the courses and settings using localStorage.

Original Issue: Currently, if the person refreshes the page, the list of selected courses gets reset. We can avoid this by storing the courses in browser cache.

this-is-sky commented 1 year ago

Hi, Can you please assign this issue to me?

Thanks!

sbdaule5 commented 1 year ago

Sure, go ahead.

this-is-sky commented 1 year ago

Thansk!

ambarvm commented 1 year ago

See https://github.com/MacFJA/svelte-persistent-store

sbdaule5 commented 3 months ago

I have added a basic implementation using localStorage. Need to migrate it to persistent store.