From c30767548342a14dd91760334a0bdf2dca822f17 Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Thu, 30 Apr 2026 18:03:05 -0400 Subject: [PATCH] Remove debug "Debug Test" quick-action button from mobile home screen Co-authored-by: Orca --- mobile/app/index.tsx | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/mobile/app/index.tsx b/mobile/app/index.tsx index 657bc141a7f..046e8ddb01a 100644 --- a/mobile/app/index.tsx +++ b/mobile/app/index.tsx @@ -525,38 +525,6 @@ export default function HomeScreen() { New Worktree - [ - styles.quickAction, - pressed && styles.hostCardPressed, - { borderColor: '#f97316', borderWidth: 1 } - ]} - onPress={async () => { - const connectedHost = sortedHosts.find((h) => hostStates[h.id] === 'connected') - if (!connectedHost) return - const entry = clientsRef.current.find((e) => e.hostId === connectedHost.id) - if (!entry) return - try { - const resp = await entry.client.sendRequest('worktree.create', { - repo: 'name:orca', - name: `dbg${Date.now() % 10000}`, - setupDecision: 'inherit' - }) - if (resp.ok) { - const wt = (resp as { result: { worktree: { id: string } } }).result - .worktree - router.push( - `/h/${connectedHost.id}/session/${encodeURIComponent(wt.id)}?name=debug&created=1` - ) - } - } catch {} - }} - > - - - - Debug Test - }