Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Utilize the new schedule generation endpoint for Schedge #12

Open
esilverm opened this issue Jul 13, 2020 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@esilverm
Copy link
Collaborator

Description

Implement the schedule generation endpoint on the schedule page and correctly handle and display conflicts with some kind of toast notification banner or something similar.

Ideas

Possibly write a container method for the schedule page which generates a list of registration numbers of selected courses which could be fed to the endpoint to check for conflicts.

Potential Problems

Ensuring the user has selected a recitation for their course if it is required.

API DOCS

https://schedge.a1liu.com/#operation/getWithYearWithSemesterGenerateschedule

@esilverm esilverm added the enhancement New feature or request label Jul 13, 2020
@A1Liu
Copy link
Collaborator

A1Liu commented Jul 13, 2020

<3

@A1Liu
Copy link
Collaborator

A1Liu commented Jul 13, 2020

Of note: the schedule generation endpoint will do all the arrangement stuff for you, i.e. it sorts each event within each day column; it also gives you a minuteOfDay field wich will tell you how far into the day each event is. That means that you can do a little bit of arithmetic to determine the layout of the schedule and directly render it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants