Skip to content

Commit 084485d

Browse files
authored
Should PR webview support search? (#6547)
* Should PR webview support search? Fixes #6029 * Fix test
1 parent c2c5a74 commit 084485d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/github/issueOverview.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export class IssueOverviewPanel<TItem extends IssueModel = IssueModel> extends W
9696

9797
// And restrict the webview to only loading content from our extension's `dist` directory.
9898
localResourceRoots: [vscode.Uri.joinPath(_extensionUri, 'dist')],
99+
enableFindWidget: true
99100
}));
100101

101102
this._webview = this._panel.webview;

src/test/github/pullRequestOverview.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ describe('PullRequestOverview', function () {
8585
enableScripts: true,
8686
retainContextWhenHidden: true,
8787
localResourceRoots: [vscode.Uri.joinPath(EXTENSION_URI, 'dist')],
88+
enableFindWidget: true
8889
}),
8990
);
9091
assert.notStrictEqual(PullRequestOverviewPanel.currentPanel, undefined);

0 commit comments

Comments
 (0)