From 3cab3bae0566d273ae300ad0ef69b3f6a5289eb4 Mon Sep 17 00:00:00 2001 From: Arjun <6592213+arkml@users.noreply.github.com> Date: Tue, 17 Feb 2026 22:01:09 +0530 Subject: [PATCH] added cmd click --- .../renderer/src/components/sidebar-content.tsx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/apps/x/apps/renderer/src/components/sidebar-content.tsx b/apps/x/apps/renderer/src/components/sidebar-content.tsx index 130a6107..1baf301e 100644 --- a/apps/x/apps/renderer/src/components/sidebar-content.tsx +++ b/apps/x/apps/renderer/src/components/sidebar-content.tsx @@ -1039,7 +1039,13 @@ function Tree({ onSelect(item.path, item.kind)} + onClick={(e) => { + if (e.metaKey && actions.onOpenInNewTab) { + actions.onOpenInNewTab(item.path) + } else { + onSelect(item.path, item.kind) + } + }} >
{item.name} @@ -1185,7 +1191,13 @@ function TasksSection({ actions?.onSelectRun(run.id)} + onClick={(e) => { + if (e.metaKey && actions?.onOpenInNewTab) { + actions.onOpenInNewTab(run.id) + } else { + actions?.onSelectRun(run.id) + } + }} >
{processingRunIds?.has(run.id) ? (