Add juror quick actions to Members section, redistribute button, dropout emails, and transfer duplicate detection
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
Some checks failed
Build and Push Docker Image / build (push) Has been cancelled
- Add mail/transfer/reshuffle/redistribute icons to each juror row in Members card - New redistributeJurorAssignments procedure: reassign all pending projects without dropping juror from group - New DROPOUT_REASSIGNED email template with project names, deadline, and dropped juror context - Update reassignDroppedJuror to send per-juror DROPOUT_REASSIGNED emails instead of generic BATCH_ASSIGNED - Transfer dialog now shows all candidates with "Already assigned" / "At cap" labels instead of hiding them - SQL script for prod DB insertion of new notification setting without seeding Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
16
prisma/migrations/insert-dropout-reassigned-setting.sql
Normal file
16
prisma/migrations/insert-dropout-reassigned-setting.sql
Normal file
@@ -0,0 +1,16 @@
|
||||
-- Insert DROPOUT_REASSIGNED notification email setting into production DB
|
||||
-- Run manually: psql -d mopc -f prisma/migrations/insert-dropout-reassigned-setting.sql
|
||||
-- Safe to run multiple times (uses ON CONFLICT to skip if already exists)
|
||||
|
||||
INSERT INTO "NotificationEmailSetting" (
|
||||
"id", "notificationType", "category", "label", "description", "sendEmail", "createdAt", "updatedAt"
|
||||
) VALUES (
|
||||
gen_random_uuid()::text,
|
||||
'DROPOUT_REASSIGNED',
|
||||
'jury',
|
||||
'Juror Dropout Reassignment',
|
||||
'When projects are reassigned to you because a juror dropped out or became unavailable',
|
||||
true,
|
||||
NOW(),
|
||||
NOW()
|
||||
) ON CONFLICT ("notificationType") DO NOTHING;
|
||||
Reference in New Issue
Block a user