Repository navigation
Load issues faster - #9039
Merged
Merged
Load issues faster#9039
Conversation
Fixes #8979
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Both preview paths leave the editor-tab title blocked on full initialization, preserving part of the delay reported in the linked issue.
2 open findings
What changed in this PR
Accelerates issue-link opening by showing lightweight issue previews while full data loads.
Changes:
- Adds a lightweight issue-preview GraphQL query and model.
- Opens issue panels before full resolution and progressively replaces previews.
- Expands race, failure, rendering, and cache tests.
| File | Description |
|---|---|
webviews/editorWebview/test/app.test.tsx |
Tests issue-preview rendering and text fallback. |
webviews/editorWebview/overview.tsx |
Supports issue and PR previews. |
webviews/editorWebview/app.tsx |
Generalizes preview state. |
webviews/components/sidebar.tsx |
Hides reviewer placeholders for issues. |
webviews/components/header.tsx |
Renders issue-specific preview headers. |
webviews/components/comment.tsx |
Safely renders plain-text preview bodies. |
webviews/common/context.tsx |
Generalizes preview message handling. |
src/test/github/pullRequestOverview.test.ts |
Adds shared preview-loading tests. |
src/test/github/githubRepository.test.ts |
Tests lightweight issue queries. |
src/test/github/externalUriOpener.test.ts |
Tests immediate issue-panel creation. |
src/github/views.ts |
Defines issue and overview preview types. |
src/github/queriesShared.gql |
Adds the issue-preview query. |
src/github/pullRequestOverview.ts |
Reuses shared preview loading. |
src/github/issueOverview.ts |
Implements progressive issue loading. |
src/github/githubRepository.ts |
Fetches read-only issue previews. |
src/github/externalUriOpener.ts |
Opens issue panels before model resolution. |
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Alex Ross (alexr00)
marked this pull request as ready for review
October 8, 2026 15:38
Alex Ross (alexr00)
enabled auto-merge (squash)
October 8, 2026 15:38
Ulugbek Abdullaev (ulugbekna)
approved these changes
Oct 8, 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 #8979