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

Mentor mentee view temp #11

Merged
merged 24 commits into from
Mar 24, 2024
Merged

Conversation

tanmaypardeshi
Copy link
Collaborator

Please set the title of your pull request in the following format: [Project id/Independent study/Issue fix/...]. project name, eg., E904. Integrating courses and assignments on Expertiza with Moodle

We suggest you including the below information in your pull request:

  • A description of the changes proposed in the pull request.
  • @mentions of the person or team responsible for reviewing proposed changes.

About the Expertiza Bot

  • If you have any questions about comments given by the expertiza-bot (example), you could create a new comment in your pull request with the content /dispute [UUID1] [UUID2] (example), then the professor and TAs will be notified.
  • Here is a video about how to communicate to the expertiza-bot.

qureshi-ali and others added 24 commits March 11, 2024 22:47
…2736) (expertiza#2742)

* Update list_submissions.html.erb

* Update list_submissions.html.erb

* Display grade assignment when assignment is finished
…ses the partial name correctly. Added an html view for the emails being sent to users when added to teams. Added functionality such that mentored teams users get emails when added to teams. Lastly, added functionality such that the mentor gets a separate email letting them know they are mentoring a team now (there was already working functionality letting users know when a mentor is added to their team).
…entors to be emailed when added to groups. Implemented new way for mentors to be emailed. Added html files for mentor added to group emails. Added an if statement to check whether a user is a mentor or not so they get the right email. Yes I would not do I type check if I didn't have to. However, since mentors are not of a different class than users, I can't actually use polymorphism to fix this issue unless I add an entire new mentor class to the system, which would be far out of the scope of this project.
…l when nil assignment ids were sent to add teams, and another random error where "participants" are sent as a user to add_teams. Apparently this is used for some other feature on Expertiza, but I'm not sure what. As it's outside the scope of this project I just added a type check so that "participants" aren't sent the email other users are. Also added tests for the new mailing functions.
Copy link
Collaborator

@Bala-Logesh Bala-Logesh left a comment

Choose a reason for hiding this comment

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

Changes looks good

@tanmaypardeshi tanmaypardeshi merged commit 9b3f699 into mentor-mentee-view Mar 24, 2024
@tanmaypardeshi tanmaypardeshi deleted the mentor-mentee-view-temp branch March 24, 2024 21:07
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.

None yet

4 participants