Add Codespaces Page - #296
Open
Noraa Junker (noraa-junker) wants to merge 6 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new “Codespaces” top-level page to the GitHub extension so signed-in users can browse their Codespaces, see system/status details, and open a selected Codespace in VS Code / VS Code Insiders via protocol links. It also expands OAuth scopes to allow Codespaces access and introduces new UI strings/assets to support the feature.
Changes:
- Introduces a new
CodespacesPageand wires it into the extension’s top-level command set. - Adds the GitHub OAuth
"codespace"scope to enable Codespaces API access. - Adds localized strings and VS Code / VS Code Insiders icon assets; updates test setup for the new command provider signature.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| GitHubExtension/Strings/en-US/Resources.resw | Adds new localized strings for the Codespaces page and related commands/messages. |
| GitHubExtension/Program.cs | Instantiates CodespacesPage and passes it into the command provider. |
| GitHubExtension/GitHubExtensionCommandsProvider.cs | Adds CodespacesPage to top-level commands and updates constructor signature/state. |
| GitHubExtension/DeveloperId/OAuthRequest.cs | Requests additional OAuth scope needed for Codespaces access. |
| GitHubExtension/Controls/Pages/CodespacesPage.cs | Implements the new Codespaces list page, VS Code open commands, and PATH-based VS Code detection. |
| GitHubExtension/Assets/vscode.svg | Adds VS Code icon for command UI. |
| GitHubExtension/Assets/vscode-insiders.svg | Adds VS Code Insiders icon for command UI. |
| GitHubExtension.Test/Helpers/TestSetupHelpers.cs | Updates test composition to pass a CodespacesPage into GitHubExtensionCommandsProvider. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Niels Laute (niels9001)
requested a review
from Michael Jolley (michaeljolley)
August 15, 2026 19:03
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.
Adds a codespaces page to the GitHub extension, where the logged in user sees all their with system information and current status.
If VS Code is installed it shows an option to open the codespace in VS Code. Same for VS Code insiders.
As this requires additional permissions, existing users will see this error until they log out and log in again:
