Cannot use GitLens in Theia
Description
I am trying to use GitLens in Theia but it's not working.
A number of buttons in GitLens sidebar are in the state of grey unable to click, and most of the clickable buttons have no response after clicking. For example, Open a Folder or Repository, Start Here (Welcome), Open GitLens Settings, Connect an Integration, Commands.
I learned that this might be caused by gitlens calling vscode.env.openExternal () with a string instead of a URI.
I'm looking forward to getting it fixed.
https://github.com/eclipse-theia/theia/issues/14335
https://github.com/gitkraken/vscode-gitlens/blob/main/src/system/vscode/utils.ts#L280
Operating System: ubuntu 20
Theia Version: 1.54.0 electron
GitLens Version
GitLens — Git supercharged v2024.10.1905
VS Code Version
No response
Git Version
2.42.0
Logs, Screenshots, Screen Captures, etc
When I try to login from GitLens: Sign In to GitKraken in the command panel, I get the following error:
Hi @meng-jpg,
Edit: I tested the GitLens integration today using Theia IDE version 1.60.200.
Authentication via the "Sign in to GitKraken" command from the command palette worked as expected. I was redirected to gitkraken.dev, signed in, copied the auth code back into the IDE and was signed in successfully.
However, direct interaction within the GitLens views is still not working as expected. Most actions, including buttons like "Sign in", "Create new branch", context menus, and others remain unresponsive or greyed out. Only using commands from the palette is functional, but not a satisfying workaround.
As the issue appears to be ongoing, I'll take a look to see what needs to be done to improve the situation.
I took a quick look, and it looks like there is some issue with Theia and context keys or when clauses -- lots of them don't seem to be working properly. Command links (command:) in webviews seem to be broken too.
I also tried to quickly debug GitLens but I couldn't even get the debugger to start.
I also have problems to use gitlense. I installed it form the .vsix file. But I do not understand how to sign in to activate my subscription. The problem is that now browser window opens when I try to use the link in the popup window
Is this the issue discussed here?