Skip to content

Show Git server settings in Enterprise mode - #80

Open
villanella wants to merge 1 commit into
DocHubTeam:masterfrom
villanella:fix/gitlab-url-field-hidden-in-enterprise-mode
Open

villanella wants to merge 1 commit into
DocHubTeam:masterfrom
villanella:fix/gitlab-url-field-hidden-in-enterprise-mode

Conversation

@villanella

@villanella villanella commented Sep 12, 2026

Copy link
Copy Markdown

DocHubToolWindow forwards gitServerMode/gitServer into the env passed
to the frontend only when usingMode is Enterprise (isEnterprise() &&
gitServerMode.equals("Gitlab"/"Bitbucket")), but the settings UI hid those exact
fields when 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 OAuth redirect bug in the core app.

Fixes #79

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.
@villanella
villanella force-pushed the fix/gitlab-url-field-hidden-in-enterprise-mode branch from 5e63538 to e5eb5e5 Compare September 12, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Корневой манифест недоступен при наличии импорта gitlab:/bitbucket

1 participant