feat: deep link terminal selection

This commit is contained in:
Federico Jaramillo Martinez
2026-05-21 09:31:33 +02:00
parent 1a91094a5b
commit 9d4a0179d1
12 changed files with 229 additions and 30 deletions
+1
View File
@@ -18,6 +18,7 @@ function createContext(statePatch: Partial<AppState> = {}) {
openThemePicker: vi.fn(() => { calls.push("openThemePicker"); }),
selectMainView: vi.fn((view: AppState["mainView"]) => { calls.push(`selectMainView:${view}`); }),
selectWorkspaceTool: vi.fn((tool: AppState["workspaceTool"]) => { calls.push(`selectWorkspaceTool:${tool}`); }),
openTerminal: vi.fn((options?: { terminalId?: string | undefined }) => { calls.push(`openTerminal:${options?.terminalId ?? ""}`); }),
refreshFiles: vi.fn(() => { calls.push("refreshFiles"); }),
refreshGit: vi.fn(() => { calls.push("refreshGit"); }),
startSession: vi.fn(() => { calls.push("startSession"); }),