🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style(topic): add copy session ID to topic dropdown menu (#14595)
Arvin Xu56ddccdc1ce5
diff --git a/src/routes/(main)/agent/_layout/Sidebar/Topic/List/Item/useDropdownMenu.tsx b/src/routes/(main)/agent/_layout/Sidebar/Topic/List/Item/useDropdownMenu.tsxindex e4a9afb6e98..4afaaed50d3 100644--- a/src/routes/(main)/agent/_layout/Sidebar/Topic/List/Item/useDropdownMenu.tsx+++ b/src/routes/(main)/agent/_layout/Sidebar/Topic/List/Item/useDropdownMenu.tsx@@ -6,6 +6,7 @@ import {CheckCircle2,Circle,ExternalLink,+ Hash,Link2,LucideCopy,PanelTop,@@ -162,6 +163,15 @@ export const useTopicItemDropdownMenu = ({},]: []),+ {+ icon: <Icon icon={Hash} />,+ key: 'copySessionId',+ label: t('actions.copySessionId'),+ onClick: () => {+ navigator.clipboard.writeText(id);+ message.success(t('actions.copySessionIdSuccess'));+ },+ },{icon: <Icon icon={Link2} />,key: 'copyLink',diff --git a/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/useDropdownMenu.tsx b/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/useDropdownMenu.tsxindex d13f45c793c..d888cb4b76a 100644--- a/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/useDropdownMenu.tsx+++ b/src/routes/(main)/group/_layout/Sidebar/Topic/List/Item/useDropdownMenu.tsx@@ -6,6 +6,7 @@ import {CheckCircle2,Circle,ExternalLink,+ Hash,Link2,LucideCopy,PanelTop,@@ -128,6 +129,15 @@ export const useTopicItemDropdownMenu = ({},]: []),+ {+ icon: <Icon icon={Hash} />,+ key: 'copySessionId',+ label: t('actions.copySessionId'),+ onClick: () => {+ navigator.clipboard.writeText(id);+ message.success(t('actions.copySessionIdSuccess'));+ },+ },{icon: <Icon icon={Link2} />,key: 'copyLink',