feat: Minimum GitLab version warning
This adds a notification that will notify users when the instance version is too low for Code Suggestions. It will also disable the code suggestions
Additionally it moves the module dependencies required for the check_version.ts
to the common
folder. I wanted to move the check_version
to common
as well but the MR is already large. I'll do it in the next MR once the code review is done here and we agree on the approach
Warning message
How to test
Update the MINIMUM_CODE_SUGGESTIONS_VERSION
in src/common/constants.ts
to the value newer than your instance, e.g. 20.0.0
.
Related to #1221 (closed)
Edited by Olena Horal-Koretska