Special awards: Rounds tab UI, auto-filter threshold, remove auto-tag rules
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m23s
All checks were successful
Build and Push Docker Image / build (push) Successful in 8m23s
- Add Rounds tab to award detail page with create/list/delete functionality - Add "Entry point" badge on first award round (confirmShortlist routes here) - Fix round detail back-link to navigate to parent award when specialAwardId set - Filter award rounds out of competition round list - Add specialAwardId to competition getById round select - Warn on confirmShortlist when no award rounds exist (SEPARATE_POOL mode) - Remove auto-tag rules from award config, edit page, router, and AI service - Fix competitionId not passed when creating awards from competition context - Add AUTO_FILTER quality threshold to AI filtering dashboard Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -317,22 +317,6 @@ export const AwardConfigSchema = z.object({
|
||||
useAiEligibility: z.boolean().default(true),
|
||||
/** Plain-language criteria for AI interpretation */
|
||||
criteriaText: z.string().optional(),
|
||||
/** Structured auto-tag rules for deterministic eligibility */
|
||||
autoTagRules: z
|
||||
.array(
|
||||
z.object({
|
||||
field: z.enum([
|
||||
'competitionCategory',
|
||||
'country',
|
||||
'geographicZone',
|
||||
'tags',
|
||||
'oceanIssue',
|
||||
]),
|
||||
operator: z.enum(['equals', 'contains', 'in']),
|
||||
value: z.union([z.string(), z.array(z.string())]),
|
||||
}),
|
||||
)
|
||||
.default([]),
|
||||
})
|
||||
|
||||
export type AwardConfig = z.infer<typeof AwardConfigSchema>
|
||||
|
||||
Reference in New Issue
Block a user