Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for finding toolbox elements #1074

Merged
merged 5 commits into from
Oct 10, 2022
Merged

Conversation

glopesdev
Copy link
Member

This PR adds basic support for finding toolbox elements in the workflow. The current implementation works much like the "Find Next" and "Find Previous" logic common to text editors, where the workflow view will highlight the subsequent match in topological order. Search is initiated from the toolbox with support for three different toolbox element types:

  • Subject: If a subject node is selected, all references (subscribe or multicast) matching the selected name will be found.
  • Workflow: If a workflow node is selected, all IncludeWorkflow operators matching the selected workflow name will be found.
  • Other: If any other node is selected, all workflow operators matching the type of the selected toolbox node will be found.

The selected shortcut key is F3 for "Find Next" and Shift+F3 for "Find Previous", following text editor convention.

Fixes #701

@glopesdev glopesdev added the feature New planned feature label Oct 9, 2022
@glopesdev glopesdev added this to the 2.7.0 milestone Oct 10, 2022
@glopesdev glopesdev merged commit d0190af into bonsai-rx:main Oct 10, 2022
@glopesdev glopesdev deleted the issue-701 branch October 10, 2022 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New planned feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add editor support for finding workflow elements
1 participant