Support instance feature flags in VSCode
Currently, VSCode works with the flags, set in the VSCode itself. Examples:
- https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/blob/main/src/desktop/extension.ts#L282
- https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/blob/main/src/desktop/current_branch_refresher.ts#L179
- etc.
However, in some cases, it might be not enough and we need a way to control the flags from the instance level for all instance users at the same time like it is with the Feature Flags in the monolith.
This issue is aiming at investigating how this can be achieved to complement the simple settings-driven feature flags in VSCode.
The issue is part of the Pre-Requisite Work Items - Advanced Context Res... (gitlab-org/editor-extensions&56 - closed) effort
Checklist
-
I'm using the latest version of the extension (see the latest version in the right column of this page) - Extension version: Put your extension version here
-
I'm using the latest VS Code version (find the latest version here) - VS Code version: Put your VS Code version here
-
I'm using a supported version of GitLab (see README for the supported version) - GitLab version: Put your GitLab version here, or say "happens on
gitlab.com
"
- GitLab version: Put your GitLab version here, or say "happens on
Edited by Denys Mishunov