Skip to content

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)

How has this been tested?

  1. 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)
  2. Hover over the 'Code Suggestions' item in the status bar at the bottom of the editor.

Screenshots (if appropriate)

before after
Screenshot_2024-06-21_at_13.37.02 Screenshot_2024-06-21_at_13.31.27

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

Merge request reports