-
Notifications
You must be signed in to change notification settings - Fork 589
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
Support OpenSearch queries in DFIQ #2822
Conversation
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.
One small comment on naming variables, but overall looks good to me
TsQuestionConclusion, | ||
}, | ||
data: function () { | ||
return { | ||
expanded: false, | ||
fullDescription: false, | ||
conclusionText: '', | ||
addConclusion: false, | ||
opensearchQueries: [], |
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.
General comment for this PR, in other places (like https://github.com/google/timesketch/blob/master/timesketch/frontend-ng/src/components/LeftPanel/SearchTemplate.vue#L103) we are using queryString
. So maybe we could use something similar here as well.
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.
I want to be explicit on what this is. We have queries coming from both searchtemplates and from "raw" opensearch queries.
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.
lgtm, just two small ux nits below.
This PR adds support for plain opensearch queries from DFIQ. This complements the current support for search templates.
There is also some UI performance gains and refactoring.