Build the degree composition from the student's degree - #142
Merged
Merged
Conversation
The month grid now sits in the middle of the card, the note about study periods without dates is gone, and the month buttons overhang the header row so the month name lines up with the neighbouring card's heading.
The dashboard composition was a fixed sample. It now divides the degree into programme core, major, minors and electives from the published rules and the student's choices, places each plan course in the first section with room, and sizes electives from what remains. Sections are laid out largest first, with the rest stacked beside it. An unchosen major or minor offers to add one and links to that tab on the requirements page, which now accepts a tab parameter. Course slots show the course on hover and fit inside their block, and the legend moves into the header.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
The dashboard's Degree composition card was a fixed sample. It now reflects the student's own degree.
?tab=.Verification
pnpm verify, which passed on the same tree before it was moved to this branchNew unit tests cover section sizing, course placement, the major and minor prompts, and the size-sorted layout.
Deployment notes
None. The dashboard now also loads the published majors and minors list, which the requirements page already reads.