-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Improve SearchSource SearchRequest type #186862
Merged
lukasolson
merged 24 commits into
elastic:main
from
lukasolson:search_source_search_request
Jul 23, 2024
Merged
Changes from 12 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
6b778cb
Improve SearchSource SearchRequest type
lukasolson be1bc30
Fix data view mock
lukasolson 894c72c
Update snapshots
lukasolson 8372376
Merge branch 'main' into search_source_search_request
lukasolson f4bd2e9
Update query_to_fields filters usage
lukasolson c86d796
Merge branch 'search_source_search_request' of github.com:lukasolson/…
lukasolson ba8353a
Fix filters when they are functions
lukasolson 5f41d2a
Merge branch 'main' into search_source_search_request
lukasolson 6fd54cf
Review feedback & update one more reference to incorrect search request
lukasolson ba6c639
Merge branch 'main' into search_source_search_request
lukasolson 50b60fb
Merge branch 'main' into search_source_search_request
lukasolson f12ca4c
Merge branch 'main' into search_source_search_request
davismcphee f8ef285
Merge branch 'main' into search_source_search_request
lukasolson 8097a77
Review feedback
lukasolson 411297f
Merge branch 'search_source_search_request' of github.com:lukasolson/…
lukasolson 22fde50
Merge branch 'main' into search_source_search_request
lukasolson 704d5c0
Merge branch 'main' into search_source_search_request
lukasolson 0073ada
Merge branch 'main' into search_source_search_request
lukasolson eb3e93b
Merge branch 'main' into search_source_search_request
lukasolson 02b31ad
Merge branch 'main' into search_source_search_request
lukasolson c7fab54
Merge branch 'main' into search_source_search_request
lukasolson e34304e
Merge branch 'main' into search_source_search_request
lukasolson 6ad68ab
Merge branch 'search_source_search_request' of github.com:lukasolson/…
lukasolson 140b4a6
Merge branch 'main' into search_source_search_request
lukasolson 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 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 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 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
14 changes: 14 additions & 0 deletions
14
...ages/kbn-unified-data-table/src/components/__snapshots__/data_table_columns.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears as though the template literal isn't needed. might leave a note in the code if it is doing something useful
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
searchRequest.index
is optional and I was trying to get around the type checks while preserving the existing behavior here - that it will be treated as"undefined"
.It might be more useful here to actually throw some sort of error instead - I think it is a required parameter here. I'll dig into it a little more.