Repository navigation
Conversation
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.
burrows99
requested review from
alpetric,
hugocasa and
rubenfiszel
as code owners
November 22, 2026 16:39
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this PR do?
The filter bar on the Runs page (and every list page that uses
FilterSearchbar) suggests values for a filter as you type, but only when the typed text appears in the option's value, with the same case. Sotimeframe:withinsuggests nothing, though all seven timeframes are labelled "Within …", andjob_trigger_kind:pubdoes not offer GCP Pub/Sub, whose value isgcp. The user types what the list shows, the label, and gets an empty list.This PR matches the typed text against the option's label as well as its value, ignoring case. 2 lines added, 1 removed, in
FilterSearchbar.svelte. Nothing changes for options whose label is their value except the case.Reproduced on
mainat 28985a1 (CE v1.882.0).flowchart TD A[User types part of a filter value] --> B{Text matches the label or another case} B -->|Before| C[No suggestion offered] B -->|After| D[Matching options suggested]Narrated recording, before then after (sound on):
evidence.mp4
The recording is the real app (frontend dev server from this checkout against the
mainbackend image). Waits on page loads are shortened; nothing else is edited.Edge cases and unchanged behaviour checked
All checked in the running app, on this branch:
eventsuggests Azure Event Grid (valueazure).timeframe:WITHINsuggests the same seven timeframes.kafka) still suggests Kafka.?job_trigger_kind=kafka).Not changed here: on the Variables page the path suggestions are built from the rows the current filter returns, so once a partial path is typed the list is empty and has nothing to suggest. That is a separate issue and is the same with and without this change.
Checks run
oxlinton the changed file: passes.prettier --check(withprettier-plugin-svelte) on the changed file: passes.npm run check(svelte-check needs about 8 GB here) andnpm run check:fast(no bun on this machine).docs/validation.mdasks for none on pure UI changes.Related issue
None filed. Found while filtering runs by timeframe.
AI tools (Claude Code) assisted with this change; the bug was reproduced on main and the fix verified in the running app as shown.
🤖 Generated with Claude Code
Summary by cubic
Fixes filter value suggestions in the search bar so typing a label fragment or different capitalization still offers matching options. Previously only the option's value was matched, case-sensitively—so
timeframe:withinoffered nothing andjob_trigger_kind:pubmissed GCP Pub/Sub. Suggestions now match both label and value, ignoring case.Written for commit a9a76d9. Summary will update on new commits.