WikiEducationFoundation / WikiEduDashboard

Wiki Education Foundation's Wikipedia course dashboard system
https://dashboard.wikiedu.org
MIT License
392 stars 631 forks source link

Generate an Alert and send it to Wiki Expert when a course has students joining before the start date #5963

Closed ragesoss closed 5 days ago

ragesoss commented 2 months ago

In some cases, students join a course and begin making edits before the listed 'Start' date of the course. Most of the time, that means that we should adjust the start date to match reality more closely and ensure that the early edits made by students are counted properly.

The easiest way to catch these cases will be to generate an instance of a new Alert type when the first student joins a course but the course hasn't started yet. The Alert should email the wiki experts for that course, so they can handle the situation.

Additional context:

This should only apply to ClassroomProgramCourse type courses.

Abishekcs commented 1 month ago

Working on this 😄.

ragesoss commented 1 month ago

@Abishekcs great! As a goal for this PR, try to make the code changes as concise as you can.

Abishekcs commented 1 month ago

Okay, sure! I'll make sure to refine the code and make it more concise.