MyHomeworkSpace / client

The MyHomeworkSpace client.
MIT License
4 stars 4 forks source link

Support for school-defined class synonyms #150

Open willbarkoff opened 4 years ago

willbarkoff commented 4 years ago

At Cornell, we have FWS, which is an English class that all freshmen must take, but FWS could be a number of other things that aren't English classes. As a temporary measure, I added FWS in commit 4dffd8c234614caa314a87ccc6810a61249dbc01, but we should have support for server defined class synonyms for quick add that can be used for different schools, similar to tags.

thatoddmailbox commented 4 years ago

Is this same thing as #118/#126?

willbarkoff commented 4 years ago

I'd say it's similar to #118 but more specifically about providing the class synonyms server side. Right now, the client defines an array of class synonyms: https://github.com/MyHomeworkSpace/client/blob/4dffd8c234614caa314a87ccc6810a61249dbc01/app/quickAdd.js#L22

I think it would be helpful to allow the server to be able to provide these synonyms/abbreviations so that a school could provide synonyms. Possibly it should be merged with #118?

thatoddmailbox commented 4 years ago

Ah OK, that makes sense.