Skip to content

fix: improve JetBrains error message to mention Toolbox requirement #18294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 18, 2025

Conversation

blink-so[bot]
Copy link
Contributor

@blink-so blink-so bot commented Jun 9, 2025

When users try to open JetBrains IDEs (GoLand, IntelliJ, etc.) without having JetBrains Toolbox installed, they now receive a more helpful error message that specifically mentions the Toolbox requirement instead of the generic "must be installed first" message.

Changes:

  • Modified useAppLink.ts to detect JetBrains apps by their protocol (jetbrains-gateway: or jetbrains:)
  • Updated error message for JetBrains apps to: "To use {app name}, you need to have JetBrains Toolbox installed."
  • Preserved existing error message for non-JetBrains apps

Testing:

  • Linting and TypeScript type checking pass
  • Code follows existing patterns and style

Addresses #17786

blink-so bot and others added 2 commits June 9, 2025 20:12
When users try to open JetBrains IDEs (GoLand, IntelliJ, etc.) without
having JetBrains Toolbox installed, they now receive a more helpful
error message that specifically mentions the Toolbox requirement
instead of the generic 'must be installed first' message.

Fixes #17786

Co-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>
Apply Biome formatter requirements for consistent code style.

Co-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>
@github-actions github-actions bot added the stale This issue is like stale bread. label Jun 17, 2025
@matifali matifali removed the stale This issue is like stale bread. label Jun 18, 2025
@matifali
Copy link
Member

@kylecarbs I think this is a good enough workaround.

Copy link
Member

@Parkreiner Parkreiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks fine to me for a stopgap. There's a tiny bug here, where if the user switches to a different tab before the external app opens, the browser will treat that as the tool not being installed, even though everything's perfectly fine. But that's a bug that was here previously – I can go ahead and make an issue for that

@matifali matifali merged commit 2f59cd0 into main Jun 18, 2025
37 checks passed
@matifali matifali deleted the fix/jetbrains-toolbox-error-message branch June 18, 2025 14:34
@github-actions github-actions bot locked and limited conversation to collaborators Jun 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants