-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
π feature πͺ΄New feature or requestNew feature or request
Description
Things to implement
- route to connect frontend
Autotimetablerwith 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
π feature πͺ΄New feature or requestNew feature or request