mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-02 05:54:44 +00:00
feat(webui): use project members for asset comment mentions (#315)
* feat(webui): use project members for asset comment mentions * refactor(project): remove legacy unused bots endpoint and props
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
import { client } from '@/ui/api/client'
|
||||
import {
|
||||
AlertDialog,
|
||||
AlertDialogAction,
|
||||
AlertDialogCancel,
|
||||
AlertDialogContent,
|
||||
AlertDialogDescription,
|
||||
AlertDialogFooter,
|
||||
AlertDialogHeader,
|
||||
AlertDialogTitle,
|
||||
AlertDialog,
|
||||
AlertDialogAction,
|
||||
AlertDialogCancel,
|
||||
AlertDialogContent,
|
||||
AlertDialogDescription,
|
||||
AlertDialogFooter,
|
||||
AlertDialogHeader,
|
||||
AlertDialogTitle,
|
||||
} from '@/ui/components/ui/alert-dialog'
|
||||
import { Badge } from '@/ui/components/ui/badge'
|
||||
import { Button } from '@/ui/components/ui/button'
|
||||
import { Card, CardContent } from '@/ui/components/ui/card'
|
||||
import {
|
||||
DropdownMenu,
|
||||
DropdownMenuContent,
|
||||
DropdownMenuItem,
|
||||
DropdownMenuTrigger,
|
||||
DropdownMenu,
|
||||
DropdownMenuContent,
|
||||
DropdownMenuItem,
|
||||
DropdownMenuTrigger,
|
||||
} from '@/ui/components/ui/dropdown-menu'
|
||||
import {
|
||||
Select,
|
||||
SelectContent,
|
||||
SelectItem,
|
||||
SelectTrigger,
|
||||
SelectValue,
|
||||
Select,
|
||||
SelectContent,
|
||||
SelectItem,
|
||||
SelectTrigger,
|
||||
SelectValue,
|
||||
} from '@/ui/components/ui/select'
|
||||
import { Switch } from '@/ui/components/ui/switch'
|
||||
import { usePermissions } from '@/ui/hooks/use-permissions'
|
||||
@@ -32,16 +32,16 @@ import { m } from '@/ui/paraglide/messages.js'
|
||||
import { AgentInfo, AgentPermission, AgentType, ThinkingLevel } from '@shumai/dtos'
|
||||
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'
|
||||
import {
|
||||
Bot,
|
||||
ChevronDown,
|
||||
Cpu,
|
||||
Loader2,
|
||||
MessageSquare,
|
||||
MoreVertical,
|
||||
Plus,
|
||||
Puzzle,
|
||||
Trash2,
|
||||
Zap,
|
||||
Bot,
|
||||
ChevronDown,
|
||||
Cpu,
|
||||
Loader2,
|
||||
MessageSquare,
|
||||
MoreVertical,
|
||||
Plus,
|
||||
Puzzle,
|
||||
Trash2,
|
||||
Zap,
|
||||
} from 'lucide-react'
|
||||
import { useState } from 'react'
|
||||
import { toast } from 'sonner'
|
||||
|
||||
Reference in New Issue
Block a user