Things to implement
- route to connect frontend
Autotimetabler with params
const autoParams: (string | number)[] = [
startHour: number,
endHour: number,
selectedDaysStr: string,
breaksBetweenClasses: number,
daysAtUni: number
mode: enum ['hybrid', 'in person', 'online'] # adding
];
Steps of data transfer
- fronted send the constraint params and timetable_id to backend
- backend get the selected Course Id from the timetable_id
- backend call the graphql to get all the classes on each course
- backend parse the class data into format for auto-timetable
- backend request doAuto
- backend get back the response
- backend parse the response and update course in one transaction
- backend return to frontend OK to invalidate the react query
Things to implement
Autotimetablerwith paramsSteps of data transfer