diff --git a/dashboards/admin-web/src/app/(dashboard)/ai-budgets/page.tsx b/dashboards/admin-web/src/app/(dashboard)/ai-budgets/page.tsx index 8fa9f27c..8e4d9364 100644 --- a/dashboards/admin-web/src/app/(dashboard)/ai-budgets/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/ai-budgets/page.tsx @@ -1,15 +1,7 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { - Coins, - Plus, - MoreHorizontal, - Search, - AlertTriangle, - TrendingUp, - Trash2, -} from 'lucide-react'; +import { Coins, Plus, MoreHorizontal, AlertTriangle, TrendingUp, Trash2 } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; diff --git a/dashboards/admin-web/src/app/(dashboard)/delivery/page.tsx b/dashboards/admin-web/src/app/(dashboard)/delivery/page.tsx index 451da3ee..f09e7c8c 100644 --- a/dashboards/admin-web/src/app/(dashboard)/delivery/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/delivery/page.tsx @@ -1,11 +1,10 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { Mail, Search, CheckCircle2, XCircle, Clock, RotateCcw } from 'lucide-react'; +import { Mail, RotateCcw } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; -import { Input } from '@/components/ui/input'; import { Table, TableBody, diff --git a/dashboards/admin-web/src/app/(dashboard)/event-subscriptions/page.tsx b/dashboards/admin-web/src/app/(dashboard)/event-subscriptions/page.tsx index f1424175..5bfdcbe3 100644 --- a/dashboards/admin-web/src/app/(dashboard)/event-subscriptions/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/event-subscriptions/page.tsx @@ -1,7 +1,7 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { Radio, Plus, MoreHorizontal, Trash2, Pause, Play } from 'lucide-react'; +import { Radio, Plus, MoreHorizontal, Trash2 } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; diff --git a/dashboards/admin-web/src/app/(dashboard)/gdpr-export/page.tsx b/dashboards/admin-web/src/app/(dashboard)/gdpr-export/page.tsx index a45b36d5..8a1932d2 100644 --- a/dashboards/admin-web/src/app/(dashboard)/gdpr-export/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/gdpr-export/page.tsx @@ -1,7 +1,7 @@ 'use client'; import { useState } from 'react'; -import { Download, Search, FileJson, Clock, CheckCircle2 } from 'lucide-react'; +import { Download, Search, FileJson } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; diff --git a/dashboards/admin-web/src/app/(dashboard)/ip-rules/page.tsx b/dashboards/admin-web/src/app/(dashboard)/ip-rules/page.tsx index 115d46e0..1269e631 100644 --- a/dashboards/admin-web/src/app/(dashboard)/ip-rules/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/ip-rules/page.tsx @@ -1,7 +1,7 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { ShieldBan, Plus, Trash2, Clock } from 'lucide-react'; +import { ShieldBan, Plus, Trash2 } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; diff --git a/dashboards/admin-web/src/app/(dashboard)/jobs/page.tsx b/dashboards/admin-web/src/app/(dashboard)/jobs/page.tsx index c06effce..0d3c260f 100644 --- a/dashboards/admin-web/src/app/(dashboard)/jobs/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/jobs/page.tsx @@ -1,7 +1,7 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { Timer, Play, MoreHorizontal, CheckCircle2, XCircle, Clock, RefreshCw } from 'lucide-react'; +import { Timer, Play, MoreHorizontal, RefreshCw } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; diff --git a/dashboards/admin-web/src/app/(dashboard)/maintenance/page.tsx b/dashboards/admin-web/src/app/(dashboard)/maintenance/page.tsx index 0e62a118..e9e2f10c 100644 --- a/dashboards/admin-web/src/app/(dashboard)/maintenance/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/maintenance/page.tsx @@ -1,11 +1,10 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { Wrench, AlertTriangle, CheckCircle2, Power } from 'lucide-react'; +import { AlertTriangle, Power } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; -import { Input } from '@/components/ui/input'; import { Label } from '@/components/ui/label'; import { Textarea } from '@/components/ui/textarea'; import { diff --git a/dashboards/admin-web/src/app/(dashboard)/marketplace/page.tsx b/dashboards/admin-web/src/app/(dashboard)/marketplace/page.tsx index 97ab197f..37a13b6f 100644 --- a/dashboards/admin-web/src/app/(dashboard)/marketplace/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/marketplace/page.tsx @@ -1,17 +1,7 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { - Store, - MoreHorizontal, - Search, - CheckCircle2, - XCircle, - Clock, - Eye, - ThumbsUp, - ThumbsDown, -} from 'lucide-react'; +import { Store, MoreHorizontal, Search, ThumbsUp, ThumbsDown } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; diff --git a/dashboards/admin-web/src/app/(dashboard)/reviews/page.tsx b/dashboards/admin-web/src/app/(dashboard)/reviews/page.tsx index 3eaf6b12..cc3d3e62 100644 --- a/dashboards/admin-web/src/app/(dashboard)/reviews/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/reviews/page.tsx @@ -1,20 +1,10 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { - Star, - ThumbsUp, - ThumbsDown, - MoreHorizontal, - Search, - CheckCircle2, - Clock, - Flag, -} from 'lucide-react'; +import { Star, ThumbsUp, ThumbsDown, MoreHorizontal, Flag } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; -import { Input } from '@/components/ui/input'; import { Table, TableBody, diff --git a/dashboards/admin-web/src/app/(dashboard)/sessions-admin/page.tsx b/dashboards/admin-web/src/app/(dashboard)/sessions-admin/page.tsx index acfd944a..319747cb 100644 --- a/dashboards/admin-web/src/app/(dashboard)/sessions-admin/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/sessions-admin/page.tsx @@ -1,9 +1,8 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { MonitorSmartphone, Search, Trash2, Clock, Globe } from 'lucide-react'; +import { MonitorSmartphone, Search, Globe } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; -import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; import { @@ -67,12 +66,6 @@ export default function SessionsAdminPage() { loadData(); } - async function handleRevokeAll(userId: string) { - if (!confirm(`Revoke all sessions for this user?`)) return; - await apiFetch(`revoke-all`, { method: 'POST', body: JSON.stringify({ userId }) }); - loadData(); - } - return (
diff --git a/dashboards/admin-web/src/app/(dashboard)/status/page.tsx b/dashboards/admin-web/src/app/(dashboard)/status/page.tsx index 78b9596f..4f463a59 100644 --- a/dashboards/admin-web/src/app/(dashboard)/status/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/status/page.tsx @@ -1,8 +1,8 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { Activity, CheckCircle2, XCircle, AlertTriangle, RefreshCw, Globe } from 'lucide-react'; -import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; +import { CheckCircle2, XCircle, AlertTriangle, RefreshCw } from 'lucide-react'; +import { Card, CardContent } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button'; diff --git a/dashboards/admin-web/src/app/(dashboard)/waitlist/page.tsx b/dashboards/admin-web/src/app/(dashboard)/waitlist/page.tsx index 42e5af57..a6226a52 100644 --- a/dashboards/admin-web/src/app/(dashboard)/waitlist/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/waitlist/page.tsx @@ -3,7 +3,6 @@ import { useState, useEffect, useCallback } from 'react'; import { ListOrdered, - Plus, MoreHorizontal, Search, Download, diff --git a/dashboards/admin-web/src/app/(dashboard)/webhooks/page.tsx b/dashboards/admin-web/src/app/(dashboard)/webhooks/page.tsx index 8457ba1f..4544634b 100644 --- a/dashboards/admin-web/src/app/(dashboard)/webhooks/page.tsx +++ b/dashboards/admin-web/src/app/(dashboard)/webhooks/page.tsx @@ -1,17 +1,7 @@ 'use client'; import { useState, useEffect, useCallback } from 'react'; -import { - Webhook, - Plus, - MoreHorizontal, - Search, - CheckCircle2, - XCircle, - Clock, - RotateCcw, - Trash2, -} from 'lucide-react'; +import { Webhook, Plus, MoreHorizontal, RotateCcw, Trash2 } from 'lucide-react'; import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Badge } from '@/components/ui/badge'; import { Button } from '@/components/ui/button';