Show Git server settings in Enterprise mode - #82
Open
villanella wants to merge 1 commit into
Open
villanella wants to merge 1 commit into
villanella wants to merge 1 commit into
Conversation
DocHubToolWindow only forwards gitServerMode/gitServer to the frontend when usingMode is Enterprise, but the settings UI hid those exact fields whenever Enterprise mode was selected - leaving no way to configure DOCHUB_IDE_GITLAB_URL/DOCHUB_IDE_BITBUCKET_URL for gitlab:/bitbucket: imports on an Enterprise portal. This client-side override is also currently the only reliable option, since setting VUE_APP_DOCHUB_GITLAB_URL on the server without a personal token triggers an unrelated OAuth redirect bug in the core app.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #80 (closed when its source branch was deleted; retargeted from master, which is stale, to v4.4.0, the actual current release branch).
DocHubToolWindow only forwards gitServerMode/gitServer to the frontend when usingMode is Enterprise, but the settings UI hid those exact fields whenever Enterprise mode was selected - leaving no way to configure DOCHUB_IDE_GITLAB_URL/DOCHUB_IDE_BITBUCKET_URL for gitlab:/bitbucket: imports on an Enterprise portal. This client-side override is also currently the only reliable option, since setting VUE_APP_DOCHUB_GITLAB_URL on the server without a personal token triggers an unrelated OAuth redirect bug in the core app.
Testing: built and installed on a real IntelliJ IDEA 2026.1.5 project, confirmed gitlab: imports in Enterprise mode now resolve correctly through the newly-visible Git server settings - previously failing with "Base URI is empty".
Fixes #79