-
Notifications
You must be signed in to change notification settings - Fork 6
Assessment: Send automatic reminders to students once assessment deadline has passed
#1177
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
Merged
rappm
merged 31 commits into
main
from
618-send-automatic-reminders-to-assessors-once-assessment-deadline-has-passed
May 19, 2026
Merged
Changes from 2 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
c26de2c
feat: add assessment reminder card to settings page
rappm 5c201ff
feat: add manual mail sending functionality and related tests
rappm 514cdad
Merge remote-tracking branch 'origin/main' into 618-send-automatic-re…
rappm 8ecceef
Refactor: Update import paths and enhance test suite error handling
rappm eb70228
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm c57b4ff
Enhance assessment reminder functionality and error handling
rappm a9dffc2
Merge branch '618-send-automatic-reminders-to-assessors-once-assessme…
rappm c78d624
Refactor: Simplify core course phase update and participant mailing i…
rappm ccfc4a1
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm 101fddb
Merge remote-tracking branch 'origin/main' into 618-send-automatic-re…
rappm 09b59e3
Fix: Preserve existing restricted data when updating mailing settings…
rappm 6405aeb
feat: Implement manual reminder sending and confirmation dialog in As…
rappm f7258f9
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm ea52167
Fix assessment reminder review comments
rappm 6239c9d
Merge remote-tracking branch 'origin/main' into 618-send-automatic-re…
rappm 6bd9136
Enhance Assessment Reminder Components and Logic
rappm 6846f62
Add reminder type validation and alert in AssessmentReminderCard
rappm d124b76
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm d7c0696
Merge remote-tracking branch 'origin/main' into 618-send-automatic-re…
rappm 4154a9f
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm 3d5d58d
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm d80a076
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm d2ac721
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm 04cfa81
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm 2946f19
feat: implement AssessmentReminderCard and update reminder sending se…
rappm 59aa88f
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm 87075fc
Merge remote-tracking branch 'origin/main' into 618-send-automatic-re…
rappm 1792992
Refactor assessment reminder components and improve error handling fo…
rappm e1ad877
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm 3c5f6a0
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
JGStyle 089e026
Merge branch 'main' into 618-send-automatic-reminders-to-assessors-on…
rappm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,3 +19,4 @@ seaweedfs_filer_data/ | |
|
|
||
| **/*/.DS_Store | ||
| **/.gocache/ | ||
| **/.cache/ | ||
22 changes: 22 additions & 0 deletions
22
clients/assessment_component/src/assessment/interfaces/evaluationReminder.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| export type EvaluationReminderType = 'self' | 'peer' | 'tutor' | ||
|
|
||
| export interface AssessmentReminderMetaData { | ||
| subject: string | ||
| content: string | ||
| lastSentAtByType: Partial<Record<EvaluationReminderType, string>> | ||
| } | ||
|
|
||
| export interface SendEvaluationReminderRequest { | ||
| evaluationType: EvaluationReminderType | ||
| } | ||
|
|
||
| export interface EvaluationReminderReport { | ||
| successfulEmails: string[] | ||
| failedEmails: string[] | ||
| requestedRecipients: number | ||
| evaluationType: EvaluationReminderType | ||
| deadline?: string | ||
| deadlinePassed: boolean | ||
| sentAt: string | ||
| previousSentAt?: string | null | ||
| } |
27 changes: 27 additions & 0 deletions
27
clients/assessment_component/src/assessment/network/mutations/sendEvaluationReminder.ts
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| import { axiosInstance } from '@/network/configService' | ||
| import { | ||
| SendEvaluationReminderRequest, | ||
| EvaluationReminderReport, | ||
| } from '../../interfaces/evaluationReminder' | ||
|
|
||
| export const sendEvaluationReminder = async ( | ||
| coursePhaseID: string, | ||
| request: SendEvaluationReminderRequest, | ||
| ): Promise<EvaluationReminderReport> => { | ||
| try { | ||
| return ( | ||
| await axiosInstance.post( | ||
| `/assessment/api/course_phase/${coursePhaseID}/config/reminders/send`, | ||
| request, | ||
| { | ||
| headers: { | ||
| 'Content-Type': 'application/json', | ||
| }, | ||
| }, | ||
| ) | ||
| ).data | ||
| } catch (err) { | ||
| console.error('Failed to send evaluation reminder:', err) | ||
| throw err | ||
| } | ||
| } |
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.