Enhanced Variable Search and Navigation in Pipeline View
long-term
U
Usual Lynx
Summary Improve the "Variables" search functionality in the Pipeline execution/editor view to provide precise scoping (definitions vs. references) and direct navigation to search results.
Problem:
Currently, the search feature in the Pipeline Variables modal can be misleading and lacks actionable navigation:
Scoping Confusion: Searching for a term returns a count of matches (e.g., "13 results found"), but these often include references (usage in YAML) rather than just definitions (the actual variables). This makes it difficult for users to distinguish between where a variable is created and where it is simply being used.
Lack of Visibility: The UI indicates the number of results but does not highlight where the matches are within the variables list or the pipeline structure.
No Navigation Path: While users can cycle through results (X of Y), there is no hyperlink or "jump-to" functionality to take the user to the specific stage, step, or YAML line where the term was found.
Proposed Solution
Search Categorization: Differentiate between "Variable Definitions" (found in the variables list) and "Variable References" (found in steps/expressions).
Visual Highlighting: Auto-scroll to and highlight the matching variable within the side modal when cycling through results.
Navigation Links: Provide a "View in Pipeline" or "Go to Step" link for each search result so users can immediately see the context of the variable usage.
Contextual Metadata: Display the location of the match (e.g., Found in: Stage "Deploy" -> Step "Shell Script") directly in the search results list.
Sudarshan Purohit
updated the status to
long-term