diff --git a/web/src/components/projects/project-agent-configs.tsx b/web/src/components/projects/project-agent-configs.tsx index a183cf09..eca45136 100644 --- a/web/src/components/projects/project-agent-configs.tsx +++ b/web/src/components/projects/project-agent-configs.tsx @@ -33,6 +33,12 @@ import { TableRow, } from '@/components/ui/table.js'; import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs.js'; +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, +} from '@/components/ui/tooltip.js'; import { AGENT_LABELS, CATEGORY_LABELS, @@ -40,7 +46,7 @@ import { } from '@/lib/trigger-agent-mapping.js'; import { trpc, trpcClient } from '@/lib/trpc.js'; import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'; -import { ArrowLeft, ChevronRight, Trash2 } from 'lucide-react'; +import { AlertTriangle, ArrowLeft, ChevronRight, Trash2 } from 'lucide-react'; import { useEffect, useMemo, useRef, useState } from 'react'; import { toast } from 'sonner'; import { AgentPromptOverrides } from './agent-prompt-overrides.js'; @@ -536,7 +542,14 @@ function AgentRow({ onSelect(type)}> {label} - {config ? ( + {activeTriggerCount === 0 ? ( + + Inactive + + ) : config ? ( Configured @@ -563,7 +576,24 @@ function AgentRow({ )} - {activeTriggerCount > 0 ? {activeTriggerCount} active : None} + {activeTriggerCount > 0 ? ( + {activeTriggerCount} active + ) : ( + + + + + None + + + + No triggers configured — this agent won't process any events + + + )}
@@ -628,33 +658,35 @@ function AgentListView({
) : (
- - - - Agent - Status - Engine / Model - Active Triggers - - - - - {enabledAgentTypes.map((type) => ( - setDeleteTarget({ id, label })} - projectModel={projectModel} - projectEngine={projectEngine} - systemDefaults={systemDefaults} - /> - ))} - -
+ + + + + Agent + Status + Engine / Model + Active Triggers + + + + + {enabledAgentTypes.map((type) => ( + setDeleteTarget({ id, label })} + projectModel={projectModel} + projectEngine={projectEngine} + systemDefaults={systemDefaults} + /> + ))} + +
+
)}