Selecting DAG in search dropdown should lead directly to DAG
See original GitHub issueDescription
When searching for a DAG in the search box, the dropdown menu suggests matching DAG names. Currently, selecting a DAG from the dropdown menu initiates a search with that DAG name as the search query. However, I think it would be more intuitive to go directly to the DAG.
If the user prefers to execute the search query, they can still have the option to search without selecting from the dropdown.
Select example_bash_operator
from dropdown menu:
We are taken to the search result instead of that specific DAG:
Use case/motivation
When you select a specific DAG from the dropdown, you probably intend to go to that DAG. Even if there were another DAG that began with the name of the selected DAG, both DAGs would appear in the dropdown, so you would still be able to select the one that you want.
For example:
Related issues
No response
Are you willing to submit a PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project’s Code of Conduct
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Makes sense. Hopefully FAB doesn’t make this too annoying to change.
@bbovenzi The PR above is ready for review when you get a chance!