Saved connections and stacks open remote on the right panel

Local left, remote right — the commander convention. Panel-dropdown
connects still target the panel they were opened from.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jokin
2026-07-13 23:18:34 +02:00
co-authored by Claude Fable 5
parent d22bc9b4e2
commit 485603fd30
2 changed files with 5 additions and 8 deletions
+3 -2
View File
@@ -335,8 +335,9 @@ export class PanelsService {
this.newWorkspace();
}
// connectPanel resolves the panel synchronously (before awaiting), so
// firing these back-to-back binds each connection to its own tab
void this.connectPanel('left', connection, connection.name, connection.localDir);
// firing these back-to-back binds each connection to its own tab.
// Remote goes right, local stays left — the commander convention.
void this.connectPanel('right', connection, connection.name, connection.localDir);
}
}