UWFlow / rmc

Flow is a website that lets you plan courses with friends.
https://uwflow.com
MIT License
233 stars 73 forks source link

Do not duplicate courses and professors in localStorage #341

Closed dshynkev closed 5 years ago

dshynkev commented 5 years ago

localStorage may run out of space due to courses and professors being duplicated under |{key} and {userId}|{key} if the user tries searching before logging in. This will cause search to break.

This change disassociates said keys from user identity and ensures the old user-bound copies are deleted from localStorage, so that the new unified copy may have space to be stored.