diff --git a/apps/desktop/src/components/assistant-ui/tool/fallback.tsx b/apps/desktop/src/components/assistant-ui/tool/fallback.tsx index 63e81c8c8..a501b7c9e 100644 --- a/apps/desktop/src/components/assistant-ui/tool/fallback.tsx +++ b/apps/desktop/src/components/assistant-ui/tool/fallback.tsx @@ -486,10 +486,11 @@ function ToolEntry({ part }: ToolEntryProps) { {copyAction.text && ( diff --git a/apps/desktop/src/components/ui/copy-button.tsx b/apps/desktop/src/components/ui/copy-button.tsx index f7eed235d..ff7663ff9 100644 --- a/apps/desktop/src/components/ui/copy-button.tsx +++ b/apps/desktop/src/components/ui/copy-button.tsx @@ -49,6 +49,7 @@ export interface CopyButtonProps { onCopyError?: (error: unknown) => void preventDefault?: boolean showLabel?: boolean + side?: React.ComponentProps['side'] stopPropagation?: boolean text: CopyPayload title?: string @@ -69,6 +70,7 @@ export function CopyButton({ onCopyError, preventDefault = false, showLabel, + side, stopPropagation = false, text, title @@ -180,18 +182,20 @@ export function CopyButton({ if (appearance === 'inline') { return ( - + + + ) } @@ -229,5 +233,5 @@ export function CopyButton({ ) // Only icon-only buttons need a tooltip; the text variant already shows its label. - return appearance === 'icon' ? {button} : button + return appearance === 'icon' ? {button} : button }