[ui] Allow freeform schedule/sensor name in launched-by Runs filter #27288
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary & Motivation
We don't show all possible schedules and sensors in the "Launched by" filter on Runs, as we limit which results come from the backend, and schedules/sensors that don't exist in the current workspace aren't available.
To provide a fallback option for searching for schedules/sensors that are otherwise not available, show freeform options.
To achieve this while maintaining the behavior of allowing only one launched-by value, I also added a couple of features to suggestion filters that didn't previously exist:
allowMultipleSelections
property, like with the static set filterfreeformResultPosition
to allow customizing whether to show results at the top or bottom of the list.How I Tested These Changes
View Runs, verify that typing a value in the "Launched by" filter will provide me with two options, a schedule and a sensor. Choose each, verify that filtering behaves correctly.
Changelog
[ui] When viewing Runs, allow freeform search for filtering to view runs launched by schedules and sensors.