feat: 本次提交更新内容如下
初级语法告警
This commit is contained in:
@@ -3,9 +3,7 @@ import { useNavigate } from 'react-router-dom';
|
||||
import {
|
||||
Send,
|
||||
Settings,
|
||||
RefreshCw,
|
||||
Trash2,
|
||||
Download,
|
||||
Copy,
|
||||
MoreVertical,
|
||||
Bot,
|
||||
@@ -14,9 +12,9 @@ import {
|
||||
} from 'lucide-react';
|
||||
import { Card, CardContent } from '@/components/ui/card';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Input } from '@/components/ui/input';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import { Switch } from '@/components/ui/switch';
|
||||
// import { Input } from '@/components/ui/input';
|
||||
// import { Badge } from '@/components/ui/badge';
|
||||
// import { Switch } from '@/components/ui/switch';
|
||||
import { Textarea } from '@/components/ui/textarea';
|
||||
import {
|
||||
DropdownMenu,
|
||||
@@ -47,7 +45,7 @@ interface Conversation {
|
||||
}
|
||||
|
||||
export default function AIAssistant() {
|
||||
const navigate = useNavigate();
|
||||
// const navigate = useNavigate();
|
||||
const { toast } = useToast();
|
||||
const [conversations, setConversations] = useState<Conversation[]>([]);
|
||||
const [currentConversation, setCurrentConversation] = useState<Conversation | null>(null);
|
||||
|
||||
@@ -17,8 +17,8 @@ import {
|
||||
Calendar,
|
||||
Users,
|
||||
UserPlus,
|
||||
CheckCircle,
|
||||
XCircle,
|
||||
// CheckCircle,
|
||||
// XCircle,
|
||||
} from 'lucide-react';
|
||||
import { Card } from '@/components/ui/card';
|
||||
import { Button } from '@/components/ui/button';
|
||||
|
||||
@@ -6,9 +6,9 @@ import { Input } from '@/components/ui/input';
|
||||
import { Label } from '@/components/ui/label';
|
||||
import { Switch } from '@/components/ui/switch';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import { Progress } from '@/components/ui/progress';
|
||||
// import { Progress } from '@/components/ui/progress';
|
||||
import { Checkbox } from '@/components/ui/checkbox';
|
||||
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
|
||||
// import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
|
||||
import Layout from '@/components/Layout';
|
||||
import PageHeader from '@/components/PageHeader';
|
||||
import BottomNav from '@/components/BottomNav';
|
||||
|
||||
@@ -17,8 +17,8 @@ import {
|
||||
Calendar,
|
||||
Users,
|
||||
Send,
|
||||
CheckCircle,
|
||||
XCircle,
|
||||
// CheckCircle,
|
||||
// XCircle,
|
||||
MessageSquare,
|
||||
} from 'lucide-react';
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
@@ -193,18 +193,18 @@ export default function MomentsSync() {
|
||||
}
|
||||
};
|
||||
|
||||
const getStatusIcon = (status: string) => {
|
||||
switch (status) {
|
||||
case 'running':
|
||||
return <CheckCircle className="h-4 w-4 text-green-500" />;
|
||||
case 'paused':
|
||||
return <XCircle className="h-4 w-4 text-gray-500" />;
|
||||
case 'completed':
|
||||
return <CheckCircle className="h-4 w-4 text-blue-500" />;
|
||||
default:
|
||||
return <XCircle className="h-4 w-4 text-gray-500" />;
|
||||
}
|
||||
};
|
||||
// const getStatusIcon = (status: string) => {
|
||||
// switch (status) {
|
||||
// case 'running':
|
||||
// return <CheckCircle className="h-4 w-4 text-green-500" />;
|
||||
// case 'paused':
|
||||
// return <XCircle className="h-4 w-4 text-gray-500" />;
|
||||
// case 'completed':
|
||||
// return <CheckCircle className="h-4 w-4 text-blue-500" />;
|
||||
// default:
|
||||
// return <XCircle className="h-4 w-4 text-gray-500" />;
|
||||
// }
|
||||
// };
|
||||
|
||||
return (
|
||||
<Layout
|
||||
|
||||
@@ -14,11 +14,11 @@ import {
|
||||
ChevronDown,
|
||||
ChevronUp,
|
||||
Settings,
|
||||
Calendar,
|
||||
// Calendar,
|
||||
Users,
|
||||
Share2,
|
||||
CheckCircle,
|
||||
XCircle,
|
||||
// CheckCircle,
|
||||
// XCircle,
|
||||
TrendingUp,
|
||||
} from 'lucide-react';
|
||||
import { Card } from '@/components/ui/card';
|
||||
|
||||
Reference in New Issue
Block a user