ucsb-cs156-s24 / proj-organic-s24-5pm-3

https://ucsb-cs156-s24.github.io/proj-organic-s24-5pm-3/
0 stars 1 forks source link

UX improvements to SchoolForm.js (for creating/editing schools). #49

Closed 30912hyl closed 4 months ago

30912hyl commented 4 months ago

In this issue, please make the following improvements to the SchoolCreateForm.

Please look at the CommonsForm in HappyCows for examples of adding explanations, placeholders, etc. to guide the user. There are examples of "tooltips", i.e. bits of text that pop up to help guide the user.

https://github.com/ucsb-cs156/proj-happycows/blob/e7487fca555481a59c9ab47d9583b3d2cc8f4a01/frontend/src/main/components/Commons/CommonsForm.js#L112C24-L116C26

Remove TermError from the UX (from the form and table for course), since no one seems to know what it is for. For now, don't remove it from the Course entity, since that would require a database migration; we'll save that for later. Let's keep this issue simple! Just when you create a course, make that field empty. For the abbrev, add some explanation text on the field for abbreviation that explains that abbreviations should be all lowercase For the Term Regex say that this is a regular expression for the format of terms (semesters or quarters) at the school. For example [WSMF]\d\d for UCSB since our terms are for example: F24, W25, S25, M25. For term description, say: for example, "Quarter, Semester or Session".