Auto-assign projects to first round, auto-filter on close, pipeline UX consolidation

- New projects (admin create, CSV import, public form) auto-assign to program's
  first round (by sortOrder) when no round is specified
- Closing a FILTERING round auto-starts filtering job (configurable via
  autoFilterOnClose setting, defaults to true)
- Add SUBMISSION_RECEIVED notification type for confirming submissions
- Replace separate List/Pipeline toggle with integrated pipeline view below
  the sortable round list
- Add autoFilterOnClose toggle to filtering round type settings UI

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-12 15:06:11 +01:00
parent 2a5fa463b3
commit 7b85fd9602
11 changed files with 204 additions and 101 deletions

View File

@@ -260,6 +260,31 @@ function FilteringSettings({
)}
</div>
{/* Auto-Filter on Close */}
<div className="space-y-4">
<div className="flex items-center justify-between">
<div>
<Label>Auto-Run Filtering on Close</Label>
<p className="text-sm text-muted-foreground">
Automatically start filtering when this round is closed
</p>
</div>
<Switch
checked={settings.autoFilterOnClose}
onCheckedChange={(v) =>
onChange({ ...settings, autoFilterOnClose: v })
}
/>
</div>
<Alert>
<Info className="h-4 w-4" />
<AlertDescription>
When enabled, closing this round will automatically run the configured filtering rules.
Results still require admin review before finalization.
</AlertDescription>
</Alert>
</div>
{/* Display Options */}
<div className="space-y-4">
<h5 className="text-sm font-medium">Display Options</h5>