Add tooltip to templates drop down

Release notes

Problem to solve

Coming from #31517 (comment 422012260)

As a user selecting .gitlab-ci.yml templates to use, I want to know what each template does, so I know what to select

Intended users

User experience goal

The user should be able to pick and choose which templates they want to use in their pipelines easily.

Proposal

When a user selects a template to use for their `.gitlab-ci.yml, the current experience is a long list of tempates.

image

There is no way for the user to know what the template does. If the user hovers over a template, a tooltip should be visible stating what each template does in 1 sentence.

Further details

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Dovetail insight

Actionable: CI/CD templates that don't have descriptions are difficult to identify

Edited by Nadia Sotnikova