feat: Ai Assisted Code Suggestions: Let users know if their code suggestions is misconfigured
Problem to solve
Code Suggestions can be silently disabled and users are not aware of it.
Proposal
By checking https://gitlab.com/api/v4/ml/ai-assist the extension can let users know if they are not allowed to access code suggestions.
It can simply point to the docs: https://docs.gitlab.com/ee/user/project/repository/code_suggestions.html#why-cant-i-see-any-code-suggestions
Further details
- Open questions:
- How? How exactly should the extension let the users know in a way that isn't harmful to the experience and patterns?