"use client"; import { useState } from "react"; import { Archive, ArrowRight, Bot, CheckCircle2 } from "lucide-react"; import { AlertDialog, AlertDialogContent, } from "@multica/ui/components/ui/alert-dialog"; import { Button } from "@multica/ui/components/ui/button"; import { Checkbox } from "@multica/ui/components/ui/checkbox"; interface BacklogAgentHintDialogProps { open: boolean; onOpenChange: (open: boolean) => void; onDismissPermanently: () => void; onMoveToTodo: () => void; } export function BacklogAgentHintDialog({ open, onOpenChange, onDismissPermanently, onMoveToTodo, }: BacklogAgentHintDialogProps) { return ( onOpenChange(false)} onDismissPermanently={onDismissPermanently} onMoveToTodo={onMoveToTodo} /> ); } interface BacklogAgentHintContentProps { onKeepInBacklog: () => void; onDismissPermanently: () => void; onMoveToTodo: () => void; } export function BacklogAgentHintContent({ onKeepInBacklog, onDismissPermanently, onMoveToTodo, }: BacklogAgentHintContentProps) { const [dontShowAgain, setDontShowAgain] = useState(false); const handleKeepInBacklog = () => { if (dontShowAgain) onDismissPermanently(); onKeepInBacklog(); }; const handleMoveToTodo = () => { if (dontShowAgain) onDismissPermanently(); onMoveToTodo(); }; return ( <>

Agent is paused in Backlog

This issue is parked, so the assigned agent will wait. Move it to Todo when you want the agent to start.

Backlog keeps the agent paused
Todo starts the agent
); }