MyHomeworkSpace / client

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

User-defined class abbreviation handling #118

Open thatoddmailbox opened 4 years ago

thatoddmailbox commented 4 years ago

It would be nice if there were some way for a user to tag a class with a specific abbreviation. For example, if someone had a class entered into their planner by its number or by a specific class name, there should be a way to mark it as an "English" class, and then Quick Add would convert "English" to that class.

I'm not sure the best way to do this. We could have a predefined list of types (Math, English, History, etc) that the user chooses from (this might later be useful information for some other feature?) or just let the user set an arbitrary abbreviation (might be confusing in terms of UI/explaining what it is).

If we do allow setting an arbitrary abbreviation, we might also want to use it in some other parts of the UI? Maybe in the planner it might just show the abbreviation for that row? That might want to be its own separate field though...

amazansky commented 3 years ago

As far as the UI part goes, I feel like a natural place for users to add arbitrary synonyms is the modal when you press "Edit class" on the Classes page. There could probably be some explainer text saying what the feature is. I don't think it's necessary to include the arbitrary abbreviation in other parts of the UI, though, as we already don't show what pre-defined synonyms resolve to what class names. Just let the user remember what abbreviation they set for what class (or hopefully they don't even have to remember, since it should be intuitive to them).