From 929dbf7778012fac6e579bd71bb1dbc55090db6e Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Fri, 19 Jun 2026 10:03:46 -0500 Subject: [PATCH] fix(desktop): make rendered logs selectable so they can be copied MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The global body { user-select: none } left log surfaces unselectable. Opt them back in via the existing data-selectable-text convention — at the shared LogView primitive (boot-failure + bootstrap install overlays) plus Command Center recent logs, toolset post-setup output, notification detail, and subagent stream/file lines. --- apps/desktop/src/app/agents/index.tsx | 4 ++-- apps/desktop/src/app/command-center/index.tsx | 5 ++++- apps/desktop/src/app/settings/toolset-config-panel.tsx | 5 ++++- apps/desktop/src/components/notifications.tsx | 5 ++++- apps/desktop/src/components/ui/log-view.tsx | 2 ++ 5 files changed, 16 insertions(+), 5 deletions(-) diff --git a/apps/desktop/src/app/agents/index.tsx b/apps/desktop/src/app/agents/index.tsx index ec8f186dd1b..6a1fbf9eeea 100644 --- a/apps/desktop/src/app/agents/index.tsx +++ b/apps/desktop/src/app/agents/index.tsx @@ -357,7 +357,7 @@ function SubagentRow({ node, depth = 0, nowMs }: { node: SubagentNode; depth?: n {visibleRows.length > 0 ? ( -
+
{visibleRows.map((entry, i) => ( 0 ? ( -
+

{t.agents.files}

diff --git a/apps/desktop/src/app/command-center/index.tsx b/apps/desktop/src/app/command-center/index.tsx index 4261cd7d2c0..57358186a03 100644 --- a/apps/desktop/src/app/command-center/index.tsx +++ b/apps/desktop/src/app/command-center/index.tsx @@ -426,7 +426,10 @@ export function CommandCenterView({ initialSection, onClose, onDeleteSession, on )}
-
+                
                   {logs.length ? logs.join('\n') : cc.noLogs}
                 
diff --git a/apps/desktop/src/app/settings/toolset-config-panel.tsx b/apps/desktop/src/app/settings/toolset-config-panel.tsx index a321096f183..d98ff2a9ace 100644 --- a/apps/desktop/src/app/settings/toolset-config-panel.tsx +++ b/apps/desktop/src/app/settings/toolset-config-panel.tsx @@ -272,7 +272,10 @@ function PostSetupRunner({ toolset, postSetupKey, onComplete }: PostSetupRunnerP
{status && (status.lines.length > 0 || status.running) && ( -
+        
           {status.lines.length > 0 ? status.lines.join('\n') : copy.postSetupStarting}
         
)} diff --git a/apps/desktop/src/components/notifications.tsx b/apps/desktop/src/components/notifications.tsx index ed26edbec0a..2558d27f93f 100644 --- a/apps/desktop/src/components/notifications.tsx +++ b/apps/desktop/src/components/notifications.tsx @@ -154,7 +154,10 @@ function NotificationDetail({ detail }: { detail: string }) {
{copy.details}
-
+        
           {detail}
         
) { return (
) { 'overflow-auto rounded-lg border border-(--ui-stroke-tertiary) px-2.5 py-1.5 font-mono text-[0.6875rem] leading-[1.5] whitespace-pre-wrap break-words text-(--ui-text-tertiary) [scrollbar-width:thin]', className )} + data-selectable-text="true" {...props} /> )