Add COI/manual reassignment emails, confirmation dialog, and smart juror selection
All checks were successful
Build and Push Docker Image / build (push) Successful in 9m14s
All checks were successful
Build and Push Docker Image / build (push) Successful in 9m14s
- Add COI_REASSIGNED and MANUAL_REASSIGNED notification types with distinct email templates, icons, and priorities - COI declaration dialog now shows a confirmation step warning that the project will be reassigned before submitting - reassignAfterCOI now checks historical assignments (all rounds, audit logs) to never assign the same project to a juror twice, and prefers jurors with incomplete evaluations over those who have finished all their work - Admin transfer (transferAssignments) sends per-juror MANUAL_REASSIGNED notifications with actual project names instead of generic batch emails - docker-entrypoint syncs notification settings on every deploy via upsert Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -90,6 +90,20 @@ const NOTIFICATION_EMAIL_SETTINGS = [
|
||||
description: 'When multiple projects are assigned at once',
|
||||
sendEmail: true,
|
||||
},
|
||||
{
|
||||
notificationType: 'COI_REASSIGNED',
|
||||
category: 'jury',
|
||||
label: 'COI Reassignment',
|
||||
description: 'When a project is reassigned to you due to another juror\'s conflict of interest',
|
||||
sendEmail: true,
|
||||
},
|
||||
{
|
||||
notificationType: 'MANUAL_REASSIGNED',
|
||||
category: 'jury',
|
||||
label: 'Manual Reassignment',
|
||||
description: 'When an admin manually reassigns a project to you',
|
||||
sendEmail: true,
|
||||
},
|
||||
{
|
||||
notificationType: 'ROUND_NOW_OPEN',
|
||||
category: 'jury',
|
||||
|
||||
Reference in New Issue
Block a user