vscode-git-graph icon indicating copy to clipboard operation
vscode-git-graph copied to clipboard

Issue link not able to open app URLs

Open ericbf opened this issue 1 year ago • 1 comments

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

  • Git Graph Extension Version: v1.30.0
  • Visual Studio Code Version: 1.84.2
  • Operating System: MacOS Sonoma 14.0 (23A344) on MacBook Pro 14", 2021, with Apple M1 Max

ericbf avatar Nov 17 '23 01:11 ericbf

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

ericbf avatar Nov 28 '23 17:11 ericbf