diff --git a/src/App.tsx b/src/App.tsx index 47a621a..ea18b14 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,7 @@ import { AuthProvider } from "./auth/AuthContext"; import { ThemeProvider } from "./hooks/useTheme"; import { Toaster } from "@/components/ui/sonner"; +import { TooltipProvider } from "@/components/ui/tooltip"; import { RouterProvider, Route, Redirect, AuthGuard, useRouter } from "./router"; import { AppShell } from "./components/layout/AppShell"; import { Login } from "./pages/Login"; @@ -97,8 +98,10 @@ export function App() { - - + + + + diff --git a/src/components/gateways/VirtualServerDetailsPanel.tsx b/src/components/gateways/VirtualServerDetailsPanel.tsx index a2e0338..39dce7a 100644 --- a/src/components/gateways/VirtualServerDetailsPanel.tsx +++ b/src/components/gateways/VirtualServerDetailsPanel.tsx @@ -4,7 +4,6 @@ import { useIntl } from "react-intl"; import { Activity, Box, - Copy, EllipsisVertical, Loader2, MessageSquareCode, @@ -20,13 +19,13 @@ import { import { MCPIcon } from "@/components/icons/MCPIcon"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; +import { CopyButton } from "@/components/ui/copy-button"; import { InlineTagAdd } from "@/components/ui/inline-tag-add"; import { CopyValue } from "@/components/ui/copy-value"; import { Input } from "@/components/ui/input"; import { cn } from "@/lib/utils"; import type { MCPServer, VirtualServer } from "@/types/server"; import type { ComponentFilter } from "@/components/gateways/types"; -import { copyToClipboard } from "@/lib/clipboard"; import { buildComponentItems, formatServerDateTime, @@ -586,32 +585,28 @@ export function VirtualServerDetailsPanel({ {title} {identifier} - + /> ) : ( <> {identifier} - + /> {identifier} - + /> ) : ( <> {identifier} - + />