Skip to content

now keeping all the overlaps of cards and will choose the biggest overlap when...

Lovisa Hedman requested to merge okOverlap into main
  • courses that overlap with less than 14 days can now be scheduled
  • when adding a course that is within the overlap limit, they will adjust their spacing/width so that they will not cover each other
  • found and fixed a bug where if courses reached to the next semester, they were at the bottom of the schedule even if courses that reached through the entire first semester were added to the schedule (the longest courses are put at the bottom of the schedule). Courses that reach to the next semester now has its length cut at where the semester ends. NOTE! This is a hardcoded date in the DeskTopView in onHandleAddCardToSchedule. This needs to change later.

Please test several different courses and give feedback

For testing: these courses has an overlap of less than 14 days:

course1 course2 overlap in days
Artificial Intelligence for Game Programming 1 Ethnography 6
Artificial Intelligence for Game Programming 1 Bioinformatic Analyses I 10
Biosensors Computer Networks II 2
Artificial Intelligence for Game Programming 1 Computer Networks II 13
course course dates
Artificial Intelligence for Game Programming 1 2021-08-30 to 2021-11-07
Ethnography 2021-11-01 to 2022-01-16
Bioinformatic Analyses I 2021-10-28 to 2022-01-16
Computer Networks II 2021-10-25 to 2022-03-20
Biosensors 2021-08-30 to 2021-10-27
Edited by Lovisa Hedman

Merge request reports