You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This milestone we have added an "Open on GitHub" action that is being surfaced in various places in the workbench (ex: Timeline context menu/hover, Source Control Graph context menu/hover, Git Blame hover).
Prerequisites
Install latest version of VS Code Insiders
Enable the following settings:
git.blame.editorDecoration.enabled
git.blame.statusBarItem.enabled
Commits
Open a folder/workspace that contains a git repository hosted on GitHub
Open the Source Control view and click the "Sync Changes" button
Timeline
Open a file from the workspace and open the Timeline view
Ensure that the "Git History" items are shown in the Timeline view
Right click on various "Git History" items
Confirm that the context menu contains the "Open on GitHub" action
Open a folder/workspace that contains a git repository hosted on GitHub
Open the Source Control view and click the "Sync Changes" button
Open a file, make changes, and create multiple commits that are only available locally
Timeline
Open the Timeline view
Right click on a commit that is only available locally
Click on the "Open on GitHub" action
Confirm that you receive a notification that the commit does not exist on GitHub
Hover over a commit that is only available locally
Confirm that the "Open on GitHub" action is not present
Source Control Graph
Open the Source Control Graph view
Right click on a history item that is only available locally
Click on the "Open on GitHub" action
Confirm that you receive a notification that the commit does not exist on GitHub
Hover over a history item that is only available locally
Click on the "Open on GitHub" action
Confirm that you receive a notification that the commit does not exist on GitHub
Git Blame
Open the modified file and place the cursor on the line that was modified in the commit that is only available locally
Hover over the editor decoration
Confirm that the hover does not contain the "Open on GitHub" action
Hover over the status bar item
Confirm that the hover does not contain the "Open on GitHub" action
Non-GitHub Repository
Open a folder/workspace that contains a git repository not hosted on GitHub (you can either open a repository hosted on Azure Repos, or run git init to create a repository that has not been published to a remote)
Add a new file, add contents to it, and create a commit
Open the Timeline view
Confirm that the timeline item context menu does not contain the "Open on GitHub" action
Confirm that the timeline item hover does not contain the "Open on GitHub" action
Open the Source Control Graph view
Confirm that the history item context menu does not contain the "Open on GitHub" action
Confirm that the history item hover does not contain the "Open on GitHub" action
Open the file, navigate around the file to reveal the git blame editor decoration and status bar item
Hover over the editor decoration
Confirm that the editor decoration hover does not contain the "Open on GitHub" action
Hover over the status bar item
Confirm that the status bar item hover does not contain the "Open on GitHub" action
The text was updated successfully, but these errors were encountered:
Refs: #237434, #237813
Complexity: 5
Create Issue
This milestone we have added an "Open on GitHub" action that is being surfaced in various places in the workbench (ex: Timeline context menu/hover, Source Control Graph context menu/hover, Git Blame hover).
Prerequisites
git.blame.editorDecoration.enabled
git.blame.statusBarItem.enabled
Commits
Timeline
Source Control Graph
Git Blame
Unpublished Commits
Timeline
Source Control Graph
Git Blame
Non-GitHub Repository
git init
to create a repository that has not been published to a remote)The text was updated successfully, but these errors were encountered: