Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: suggest filter values by their label and in any case
A filter's value suggestions matched the typed text against the option's value only, case-sensitively. On the Runs page "timeframe:within" listed nothing, since every timeframe starts with "Within", and "job_trigger_kind:pub" did not find GCP Pub/Sub, whose value is "gcp". Suggestions now match the label too, ignoring case.
  • Loading branch information
burrows99 committed Nov 22, 2026
commit a9a76d999e98ee366d902d4a1f6f1f9cab71d92b
3 changes: 2 additions & 1 deletion frontend/src/lib/components/FilterSearchbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,8 @@
.filter((o) => {
if (selectedValues.includes(o.value)) return false
if (!searchSuffix) return true
return o.value.includes(searchSuffix)
const q = searchSuffix.toLowerCase()
return [o.value, o.label].some((t) => t?.toLowerCase().includes(q))
})
.map((option) => ({
type: 'option' as const,
Expand Down
Loading