Skip to content

Add a Search to Invocation View#22476

Open
ahmedhamidawan wants to merge 12 commits intogalaxyproject:devfrom
ahmedhamidawan:add_graph_search_to_invocation_view
Open

Add a Search to Invocation View#22476
ahmedhamidawan wants to merge 12 commits intogalaxyproject:devfrom
ahmedhamidawan:add_graph_search_to_invocation_view

Conversation

@ahmedhamidawan
Copy link
Copy Markdown
Member

@ahmedhamidawan ahmedhamidawan commented Apr 14, 2026

Invocation Graph Search:

  • Moves the results listing of the existing workflow editor search to its own component (GraphSearch)
  • Reuses that component to display results in a popover in the top right of the invocation view's tabs
add_graph_search_to_invocation_view_2.mp4

Steps Tab Search

This also adds a search to the invocation steps tab:

add_search_to_invocation_steps_tab.mp4

Fixes #20437

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@ahmedhamidawan
Copy link
Copy Markdown
Member Author

ahmedhamidawan commented Apr 14, 2026

How horrible is this close-search icon 🤔:

firefox_GeWXNkW1sH

Update: Actually, no I went with this:

firefox_wUFwY3ARBw

@davelopez
Copy link
Copy Markdown
Contributor

I liked the ugly one! (joking...)
I was going to suggest keeping the button background darker to make it feel like a toggled button, but the ">" works well too imo 👍

@ahmedhamidawan
Copy link
Copy Markdown
Member Author

ahmedhamidawan commented Apr 14, 2026

@davelopez With the open-search button remaining as is, for the close search, we can do a blue + pressed version instead:

Current Changed
firefox_RKtOXPNKL3 xwvpkFxQhh
Keep current: 👎 Change to this: 👍

- Moves the results listing of the existing workflow editor search to its own component (`GraphSearch`)
- Reuses that component to display results in a popover in the top right of the invocation view's tabs

Fixes galaxyproject#20437
Without this check, the search in the invocation view would always fail with trying to iterate through a null cache.
@ahmedhamidawan ahmedhamidawan force-pushed the add_graph_search_to_invocation_view branch from 3efcceb to 3dfbee3 Compare April 15, 2026 00:22
ahmedhamidawan and others added 8 commits April 14, 2026 19:32
…egion

This way, we have removed the need to `defineExpose` a `highlightGraphRegion` method from `WorkflowGraph.vue` and instead just use this ref to highlight a graph region.
…eded

Note: `stepId` is a string in `SearchData` because when we collect and cache the search data, we parse each property as a string. In the invocation search, we just convert the string to a number to set the `activeNodeId`.
Co-Authored-By: Claude <noreply@anthropic.com>
@ahmedhamidawan ahmedhamidawan force-pushed the add_graph_search_to_invocation_view branch from 3dfbee3 to 95b14b3 Compare April 15, 2026 00:32
@ahmedhamidawan ahmedhamidawan marked this pull request as ready for review April 15, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Graph Search to Invocation View

2 participants