feat: round finalization with ranking-based outcomes + award pool notifications
All checks were successful
Build and Push Docker Image / build (push) Successful in 10m0s
All checks were successful
Build and Push Docker Image / build (push) Successful in 10m0s
- processRoundClose EVALUATION uses ranking scores + advanceMode config (threshold vs count) to auto-set proposedOutcome instead of defaulting all to PASSED - Advancement emails generate invite tokens for passwordless users with "Create Your Account" CTA; rejection emails have no link - Finalization UI shows account stats (invite vs dashboard link counts) - Fixed getFinalizationSummary ranking query (was using non-existent rankingsJson) - New award pool notification system: getAwardSelectionNotificationTemplate email, notifyEligibleProjects mutation with invite token generation, "Notify Pool" button on award detail page with custom message dialog Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2193,6 +2193,11 @@ model Round {
|
||||
submissionWindowId String?
|
||||
specialAwardId String?
|
||||
|
||||
// Finalization
|
||||
gracePeriodEndsAt DateTime?
|
||||
finalizedAt DateTime?
|
||||
finalizedBy String?
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
@@ -2237,13 +2242,14 @@ model Round {
|
||||
}
|
||||
|
||||
model ProjectRoundState {
|
||||
id String @id @default(cuid())
|
||||
projectId String
|
||||
roundId String
|
||||
state ProjectRoundStateValue @default(PENDING)
|
||||
enteredAt DateTime @default(now())
|
||||
exitedAt DateTime?
|
||||
metadataJson Json? @db.JsonB
|
||||
id String @id @default(cuid())
|
||||
projectId String
|
||||
roundId String
|
||||
state ProjectRoundStateValue @default(PENDING)
|
||||
proposedOutcome ProjectRoundStateValue?
|
||||
enteredAt DateTime @default(now())
|
||||
exitedAt DateTime?
|
||||
metadataJson Json? @db.JsonB
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
||||
Reference in New Issue
Block a user