Platform polish: bulk invite, file requirements, filtering redesign, UX fixes

- F1: Set seed jury/mentors/observers to NONE status (not invited), remove passwords
- F2: Add bulk invite UI with checkbox selection and floating toolbar
- F3: Add getProjectRequirements backend query + requirement slots on project detail
- F4: Redesign filtering section: AI criteria textarea, "What AI sees" card,
  field-aware eligibility rules with human-readable previews
- F5: Auto-redirect to pipeline detail when only one pipeline exists
- F6: Make project names clickable in pipeline intake panel
- F7: Fix pipeline creation error: edition context fallback + .min(1) validation
- Pipeline wizard sections: add isActive locking, info tooltips, UX improvements

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-13 23:45:21 +01:00
parent 451b483880
commit 70cfad7d46
28 changed files with 1312 additions and 200 deletions

View File

@@ -1,5 +1,7 @@
'use client'
import { useEffect } from 'react'
import { useRouter } from 'next/navigation'
import Link from 'next/link'
import type { Route } from 'next'
import { trpc } from '@/lib/trpc/client'
@@ -40,6 +42,7 @@ const statusColors: Record<string, string> = {
}
export default function PipelineListPage() {
const router = useRouter()
const { currentEdition } = useEdition()
const programId = currentEdition?.id
@@ -48,6 +51,13 @@ export default function PipelineListPage() {
{ enabled: !!programId }
)
// Auto-redirect when there's exactly one pipeline
useEffect(() => {
if (!isLoading && pipelines && pipelines.length === 1) {
router.replace(`/admin/rounds/pipeline/${pipelines[0].id}` as Route)
}
}, [isLoading, pipelines, router])
if (!programId) {
return (
<div className="space-y-6">