s25 Show Current or Next Term Schedule#2719
Open
JasonWang432 wants to merge 10 commits intodevelopfrom
Open
Conversation
jsenning
requested changes
Jul 11, 2025
Member
jsenning
left a comment
There was a problem hiding this comment.
Jason - this will be a nice feature to have -- especially the ability to see the schedule for the upcoming term. I'll note as well that this should (and does!) work for faculty.
At least in the case of faculty, we sometimes have schedule data for more than one future term (e.g. both fall and spring terms), even though the schedules for at least one of the terms has not been finalized. We should not make schedules available until after the point in time that the registrar publishes the schedule, so we need to keep this from happening.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This update uses academic term data to automatically select the most relevant schedule for the student. If the current date falls within an active term and the student has courses during that term, that schedule will be shown by default. If not, it will look ahead and display the next upcoming term that includes courses for the student. If neither condition is met, it will fall back to showing the most recent term where the student had any courses.