Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses #3058 by changing the PR/issue overview webview implementation to support multiple concurrently open description panels instead of reusing a single shared panel.
Changes:
- Replace single
currentPaneltracking with a per-identity_panels: Map<string, Panel>keyed byowner/repo#number. - Update PR overview APIs (
getCurrentPullRequest,getActivePanel,findPanel) to work with the multi-panel model. - Update PR overview tests to validate “reuse for same PR” and “separate panels for different PRs” behavior.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
src/github/issueOverview.ts |
Introduces panelKey and multi-panel tracking/lookup for issue/PR overview panels; updates dispose cleanup to remove from the map. |
src/github/pullRequestOverview.ts |
Adapts PR overview to the shared multi-panel infrastructure and delegates active/lookup behavior to the base implementation. |
src/test/github/pullRequestOverview.test.ts |
Updates test expectations and adds coverage for multiple PR panels coexisting. |
Comments suppressed due to low confidence (1)
src/test/github/pullRequestOverview.test.ts:15
- Unused import
panelKey(not referenced anywhere in this test file). This will fail eslint@typescript-eslint/no-unused-vars; please remove it.
import { panelKey } from '../../github/issueOverview';
import { PullRequestModel } from '../../github/pullRequestModel';
DonJayamanne
approved these changes
Feb 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3058