-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat(explore): Validate trace item search keys asynchronously #111189
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
Merged
nsdeschenes
merged 33 commits into
master
from
nd/EXP-641/feat-search-async-key-validation
Mar 30, 2026
+523
−10
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
7cafad7
feat(search): Add async filter key validation
nsdeschenes 4b9bead
feat(explore): Validate trace item search attributes
nsdeschenes a2823e0
Resolve knip issues
nsdeschenes 361abd7
Fix up import issues
nsdeschenes 1eee06f
test(search): Add mock for trace-items attributes validate endpoint
nsdeschenes f3f59ee
ref(search): Replace validateFilterKeys with invalidFilterKeys prop
nsdeschenes e507b86
ref(explore): Move filter key validation to parent via useMutation
nsdeschenes 024969c
Remove sort
nsdeschenes 30c132e
ref(explore): Skip validation API call when query has no filter keys
nsdeschenes 71b076e
ref(explore): Also skip validation when parsedQuery is null
nsdeschenes 7f18d3b
ref(explore): Skip validation when no filter keys are found
nsdeschenes 65f08ca
feat(explore): Validate filter keys on initial render
nsdeschenes 3d56779
ref(explore): Extract extractFilterKeys helper from validation hook
nsdeschenes 8abcb48
ref(explore): Migrate filter key validation from useMutation to useAp…
nsdeschenes a06fd6c
test(explore): Add tests for useAsyncAttributeValidation hook
nsdeschenes d7659ff
ref(explore): Rename useAsyncAttributeValidation to useAttributeValid…
nsdeschenes 063ee79
ref(explore): Move attribute validation to utils and inline into comp…
nsdeschenes 985ede1
ref(explore): Extract useAttributeValidation hook and move to hooks d…
nsdeschenes 0819552
ref(explore): Make validateAttributesQueryOptions private, simplify t…
nsdeschenes 70558e4
fix(explore): Fix initial query validation running more than once
nsdeschenes ff53f17
fix(explore): Cancel stale validation queries before fetching
nsdeschenes 809a4b6
fix(explore): Re-validate query when page filters change
nsdeschenes a053e45
ref(explore): Accept selection in validateQuery, deduplicate via cache
nsdeschenes e062a47
Fix up linting issues
nsdeschenes f62ed1b
fix(explore): Scope validation query cancellation by itemType
nsdeschenes 7508035
ref(explore): Replace imperative validateQuery with declarative useQuery
nsdeschenes 61c2b5f
Remove unused export
nsdeschenes 74cdd0f
fix(explore): Recurse into logic groups when extracting filter keys
nsdeschenes 4aded1a
fix(explore): Update validation tests to match declarative useQuery r…
nsdeschenes aeb47e2
feat(explore): Gate search key validation behind feature flag
nsdeschenes 05180af
fix(explore): Fix attribute validation enabled condition and test fix…
nsdeschenes c5cec3e
fix(explore): Move itemType from request body to query param in attri…
nsdeschenes 0ca1e62
fix(explore): Guard against missing attributes in validation response
nsdeschenes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.