Skip to content

feat: Minimum GitLab version warning

Olena Horal-Koretska requested to merge 1221-minimal-GL-version into main

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

Screenshot_2024-02-06_at_14.18.38

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

Merge request reports