-
Notifications
You must be signed in to change notification settings - Fork 15
Non enrolled and graduated students #1668
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
base: development
Are you sure you want to change the base?
Conversation
…cently graduated are alumni, and we can check the box to make new alumni too
…egory and make them seniors in case we want to do so
…twareDevTeam/celts into nonEnrolledStudents
Done
Done
Done
Done
Done |
|
Fix 1: there are the three comments, I don't think all three will be necessary but if you want to add them you can add them in the docstring. Looks great, i couldn't find any other edge cases. @ojmakinde Do you want to check Sara's too. She mentioned that she wants you to that's why. |
|
Fix FInal: So You have the comment or docstring in three different location: |
|
Job well done, we just need to wait for a second person to approve it. |
MImran2002
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Job well done. Just need a second person to check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In app/models/user.py, the new isCurrentlyEnrolled property is defined as "isStudent" and "not isAlumni". However, the setGraduatedStatus function in app/logic/graduationManagement.py currently only updates hasGraduated and rawClassLevel.
If a student graduates, they are typically no longer considered an active 'student.' Should setGraduatedStatus also toggle the isStudent boolean to False? Keeping these in sync could ensure that any logic elsewhere in the app that filters by isStudent correctly excludes alumni.

Issue Description
Fixes #1649
Graduated students do not show up in the graduation management page. The only graduated students that show up are the seniors that we explicitly check to say that they graduated. Other students who have graduated before we go check, do not show up in the list at all. We should have a designation for them the same way we have one for senior, junior, etc. And use that designation to display graduated students. Same thing for students that left before they graduated.
Fixes #1657
Graduated or non-enrolled students don't have any designation on their profile, like Senior, Junior, Sophomore, Freshmen students do.
Changes
the page then (marked students who graduated last semester as seniors):
the page now:
The profile display for graduated students:
The profile display for non-enrolled students:
Testing