diff --git a/desktop/src/components/RightPanel.tsx b/desktop/src/components/RightPanel.tsx index 4dd8bcd..aaefbb9 100644 --- a/desktop/src/components/RightPanel.tsx +++ b/desktop/src/components/RightPanel.tsx @@ -1,4 +1,5 @@ import { useEffect, useMemo, useState } from 'react'; +import { motion } from 'framer-motion'; import { getStoredGatewayUrl } from '../lib/gateway-client'; import { useGatewayStore } from '../store/gatewayStore'; import { toChatAgent, useChatStore } from '../store/chatStore'; @@ -6,6 +7,8 @@ import { Wifi, WifiOff, Bot, BarChart3, Plug, RefreshCw, MessageSquare, Cpu, FileText, User, Activity, FileCode } from 'lucide-react'; +import { cardHover, defaultTransition } from '../lib/animations'; +import { Button, Badge, EmptyState } from './ui'; export function RightPanel() { const { @@ -89,164 +92,205 @@ export function RightPanel() { const localTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone || '系统时区'; return ( -