[ide-mode] Hide diff options when active diff is not focused (#5808)

Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
christine betts
2025-08-08 15:21:50 +00:00
committed by GitHub
parent 51d09e720b
commit 407393b128
2 changed files with 34 additions and 1 deletions

View File

@@ -18,6 +18,13 @@ vi.mock('vscode', () => ({
show: vi.fn(),
sendText: vi.fn(),
})),
onDidChangeActiveTextEditor: vi.fn(),
activeTextEditor: undefined,
tabGroups: {
all: [],
close: vi.fn(),
},
showTextDocument: vi.fn(),
},
workspace: {
workspaceFolders: [],