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

Graduation flag #1218

Merged
merged 12 commits into from
Aug 25, 2024
Merged

Graduation flag #1218

merged 12 commits into from
Aug 25, 2024

Conversation

ali-ramazani
Copy link
Member

@ali-ramazani ali-ramazani commented Jun 17, 2024

We added a column to the User module for the hasGraduated and then we tested it using the test database. Graduation cap has been added to the minor management page, and there's a icon next to names of those have graduated.

resolves #1141

@MImran2002
Copy link
Contributor

The code works! We manually added the true boolean in database and it shows.
image

BrianRamsay
BrianRamsay previously approved these changes Jul 26, 2024
@Karina-Agliullova
Copy link
Contributor

There is a problem with a class level and hasGraduated functionality. So, if I change test data and make one of the students a graduated student, it shows a graduation flag, which is what we want. However, the class level is not being checked, so even if we flag a junior student as a graduated student, it would still show us a graduation flag, even though on the profile, we can see, that the person is still a junior student.
Screenshot (1)
Screenshot (2)

@bledsoef
Copy link
Contributor

@bledsoef bledsoef self-assigned this Aug 25, 2024
Copy link

View Code Coverage

@bledsoef
Copy link
Contributor

@BrianRamsay @Karina-Agliullova Going to approve and merge this and put in a new issue to allow admin to manually add students as graduated.

Copy link
Contributor

@bledsoef bledsoef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works, will need additional functionality to be useful but good work.

@bledsoef bledsoef merged commit a75b750 into development Aug 25, 2024
5 checks passed
@bledsoef bledsoef deleted the graduation-flag branch August 25, 2024 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a graduated flag and display it on the CCE Minor Progress table
6 participants