mhutchie / vscode-git-graph

View a Git Graph of your repository in Visual Studio Code, and easily perform Git actions from the graph.
https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph
Other
1.97k stars 260 forks source link

Issue link not able to open app URLs #792

Open ericbf opened 10 months ago

ericbf commented 10 months ago

Describe the Bug We use Linear to track our work items. I’m setting up an issue link config with Linear's app url, linear://, to open issues directly in the desktop app. The problem is that clicking on the generated links does not seem to do anything. Opening the same link via other means (like open linear://... in terminal) does open the Linear desktop app successfully. Not sure what the issue actually is under the hood, but it would be cool if the issue link config could open the linear desktop app, and other apps that have a custom scheme.

Steps to Reproduce

  1. Go to git graph view
  2. Click on repository settings
  3. Set up issue link with app url (in my case, linear://myteam/issue/$1)
  4. Save and close
  5. Click on an issue link in the graph view

Expected Behaviour I expect the linked app to open, but nothing happens. If I open the same URL in terminal or put it in the browser URL bar, it opens the app without issues.

Environment

ericbf commented 10 months ago

It’s worth noting that if you option/right click on the URL and select "Open URL" from the menu, it works as expected.