feat: add More Info link to code suggestion status error tooltip
Description
Adds a More Info link to the 'Code suggestions are not supported for this language' status error tooltip.
It also acts as a POC for adding markdown to our status messages. We could enhance the tooltips with more context, including more dynamic content, multi-line text, lists, hyperlinks etc.
Related Issues
Issue: Show User How to Add Unsupported Languages in V... (#1411 - closed)
How has this been tested?
- Create a new file and save it, set the file type extension to an unsupported language (see https://docs.gitlab.com/ee/user/project/repository/code_suggestions/supported_extensions.html#supported-languages)
- Hover over the 'Code Suggestions' item in the status bar at the bottom of the editor.
Screenshots (if appropriate)
before | after |
---|---|
What CHANGELOG entry will this MR create?
-
fix:
Bug fix fixes - a user-facing issue in production - included in changelog -
feature:
New feature - a user-facing change which adds functionality - included in changelog -
BREAKING CHANGE:
(fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog -
None - other non-user-facing changes
Edited by Tristan Read