Closed bryantgeorge closed 3 years ago
@bryantgeorge could you resolve the merge conflicts before we review? That way we can make sure that nothing gets messed up while resolving them.
@bryantgeorge could you resolve the merge conflicts before we review? That way we can make sure that nothing gets messed up while resolving them.
Oops my bad, for some reason I didn't see that (do merge conflicts not show up until after you unmark as draft?), in any case, it should be good now.
This PR has some pretty fundamental changes again to how meeting/section/course updates/adds/deletes are handled, so it might be best to have at least 2 reviews.
To Test:
Add New Section
on an existing section while adding a new meeting, any changes made to the course and section will also be applied. For example, if you haveMATH-100-A
which meetsMWF at 8:00
, and you add a new meetingTTh at 10:30
but you also change theFaculty Hours
andDepartment
fields, then a new meeting will be added, theMATH-100-A
section will be updated to have the newFaculty Hours
value, and theMATH-100
course will be updated to the newDepartment
. (Before, the course stuff would get updated properly, but the section stuff wouldn't).One thing I noticed while working on this is that if you have a prof who teaches multiple meetings of a given section, only one of them is listed when accessing it from the teaching loads tab (and deleting it from the faculty loads tab only deletes the displayed meeting). Is this the intended behavior?
Closes #170