-
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
feat(slo): enhance search field selectors #165122
feat(slo): enhance search field selectors #165122
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Pinging @elastic/actionable-observability (Team: Actionable Observability) |
The interface Props {
index?: string,
placeholder?: string,
label: ReactNode
} That way we know the behavior between the two will always be consistent and if we find a bug we won't have to fix it in both places? Also it will make it easier to add the next field selector in the future. @kdelemme Thoughts? |
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!
(thanks for the changes)
💛 Build succeeded, but was flaky
Failed CI Steps
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @kdelemme |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit 8c8e974)
# Backport This will backport the following commits from `main` to `8.10`: - [feat(slo): enhance search field selectors (#165122)](#165122) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kevin Delemme","email":"kevin.delemme@elastic.co"},"sourceCommit":{"committedDate":"2023-08-31T20:09:02Z","message":"feat(slo): enhance search field selectors (#165122)","sha":"8c8e9741cdb7d83371d51dbee8e2c80cff21b31f","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","Team: Actionable Observability","v8.11.0"],"number":165122,"url":"https://github.com/elastic/kibana/pull/165122","mergeCommit":{"message":"feat(slo): enhance search field selectors (#165122)","sha":"8c8e9741cdb7d83371d51dbee8e2c80cff21b31f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165122","number":165122,"mergeCommit":{"message":"feat(slo): enhance search field selectors (#165122)","sha":"8c8e9741cdb7d83371d51dbee8e2c80cff21b31f"}}]}] BACKPORT-->
Resolves #165123
Summary
This PR enhances the search experience on both partition by and timestamp field selectors.
It also extract the timestamp field selector into its own component.
Recording
partition_by.and.timestamp.field.selector.search.mov