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/pr→ Merge Requestsactions/action/workflows/workflow→ Pipelines, 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
searchSynonymsmap;filteredCategoriesnow also surfaces features whose ID matches a synonym for the query. - Added
geminiKeywordMapplusgeminiSearching/geminiSearched/geminiResultIdsstate, asearchWithGemini()method (artificial delay to mimic a model call), and a watcher that resets Gemini state when the query changes. - New UI section under
.popover__bodywith prompt, loading, results, and empty states, responsive at the<= 900pxbreakpoint.
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.