From aafbd788879de750ebe0570712783c60c3f0dc8f Mon Sep 17 00:00:00 2001 From: CaIon Date: Wed, 8 Apr 2026 16:39:50 +0800 Subject: [PATCH] feat(dashboard): add copy button next to API link in API info panel Closes #4058 --- web/src/components/dashboard/ApiInfoPanel.jsx | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/web/src/components/dashboard/ApiInfoPanel.jsx b/web/src/components/dashboard/ApiInfoPanel.jsx index 1c3c3dd3..c93ada44 100644 --- a/web/src/components/dashboard/ApiInfoPanel.jsx +++ b/web/src/components/dashboard/ApiInfoPanel.jsx @@ -19,7 +19,7 @@ For commercial licensing, please contact support@quantumnous.com import React from 'react'; import { Card, Avatar, Tag, Divider, Empty } from '@douyinfe/semi-ui'; -import { Server, Gauge, ExternalLink } from 'lucide-react'; +import { Server, Gauge, ExternalLink, Copy } from 'lucide-react'; import { IllustrationConstruction, IllustrationConstructionDark, @@ -87,11 +87,18 @@ const ApiInfoPanel = ({ -
handleCopyUrl(api.url)} - > - {api.url} +
+ handleCopyUrl(api.url)} + > + {api.url} + + handleCopyUrl(api.url)} + />
{api.description}