Closed ahoskins closed 8 years ago
I write this issue right now because I'm having the hardest time switching over addedCourses to support electives. This'll probably be something I do first before attempting any further non-UI stuff for electives.
Yeah I 100% agree here. We really rushed localStorage support out the door for the launch, it's really shaky.
We could refactor terms at the same time. At the very least we could replace all the courses[currentTerm.term] && courses[currentTerm.term][course]
type things with a method that does the error check internally.
What's the status on this? I remember hearing something about progress on this
I believe this is done. I know that as part of the electives feature I made some really tidy refactors to all things localstorage. When I commit the localstorage stuff I'll close this
We both know that localstorage can really fuck with you sometime and makes many parts of the app less readable, less stable, and harder to debug.
Ideally it should be decoupled to the point where:
This is something either of us can do at some time if we feel inspiration to do some useful refactoring.