From e130feedaa2c8ed7ec6eecf485ea55c4014b8696 Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Sun, 12 Apr 2026 21:07:27 -0700 Subject: [PATCH] feat: enable drag-and-drop for committed file entries (#566) --- src/renderer/src/components/right-sidebar/SourceControl.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/renderer/src/components/right-sidebar/SourceControl.tsx b/src/renderer/src/components/right-sidebar/SourceControl.tsx index 9596e3f93a9..269991812dd 100644 --- a/src/renderer/src/components/right-sidebar/SourceControl.tsx +++ b/src/renderer/src/components/right-sidebar/SourceControl.tsx @@ -1226,6 +1226,12 @@ function BranchEntryRow({ >
{ + const absolutePath = joinPath(worktreePath, entry.path) + e.dataTransfer.setData('text/x-orca-file-path', absolutePath) + e.dataTransfer.effectAllowed = 'copy' + }} onClick={onOpen} >