diff --git a/apps/web/src/app/(app)/layout.tsx b/apps/web/src/app/(app)/layout.tsx index d7d1bb30..c6108174 100644 --- a/apps/web/src/app/(app)/layout.tsx +++ b/apps/web/src/app/(app)/layout.tsx @@ -27,12 +27,13 @@ export default function RootLayout({ return (
- {process.env.NODE_ENV !== "production" && ( - - )} + {process.env.NODE_ENV !== "production" && + process.env.NEXT_PUBLIC_DISABLE_REACT_SCAN !== "true" && ( + + )} {isDemoApp && ( diff --git a/apps/web/src/features/agents/components/agent-card.tsx b/apps/web/src/features/agents/components/agent-card.tsx index f4c04f31..224ee9c0 100644 --- a/apps/web/src/features/agents/components/agent-card.tsx +++ b/apps/web/src/features/agents/components/agent-card.tsx @@ -4,6 +4,7 @@ import { useState } from "react"; import { Bot, Brain, + Clock, Cloud, Edit, MessageSquare, @@ -25,6 +26,7 @@ import { TooltipTrigger, } from "@/components/ui/tooltip"; import { isUserCreatedDefaultAssistant } from "@/lib/agent-utils"; +import { CronDialog } from "@/features/crons/components/cron-dialog"; function SupportedConfigBadge({ type, @@ -67,6 +69,7 @@ interface AgentCardProps { export function AgentCard({ agent, showDeployment }: AgentCardProps) { const [showEditDialog, setShowEditDialog] = useState(false); + const [showCronDialog, setShowCronDialog] = useState(false); const deployments = getDeployments(); const selectedDeployment = deployments.find( (d) => d.id === agent.deploymentId, @@ -131,16 +134,28 @@ export function AgentCard({ agent, showDeployment }: AgentCardProps) {