Add search synonyms and Gemini-powered search to feature library

What

Two improvements to help users find features in the feature library when they search with terminology from other tools or can't find a match.

1. Hard-coded search synonyms

Maps common terms from other tools to the equivalent GitLab features:

  • pull requests / pull request / prs / prMerge Requests
  • actions / action / workflows / workflowPipelines, Jobs, Pipeline Editor

2. Gemini-powered search (prototype, mocked)

When a query is active, a row appears below the results: "Can't find what you're looking for? Search with Gemini." Clicking it runs an AI-style lookup and renders matches in a "Suggested by Gemini" section (e.g. tickets → Issues, Incidents, Boards).

How

  • Added a searchSynonyms map; filteredCategories now also surfaces features whose ID matches a synonym for the query.
  • Added geminiKeywordMap plus geminiSearching / geminiSearched / geminiResultIds state, a searchWithGemini() method (artificial delay to mimic a model call), and a watcher that resets Gemini state when the query changes.
  • New UI section under .popover__body with prompt, loading, results, and empty states, responsive at the <= 900px breakpoint.

Notes

This is a prototype/demo: matching is a hard-coded keyword map and there is no real model call or backend. The "Powered by Gemini" labeling is for the demo presentation.

Merge request reports

Loading