-
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
[Unified Search] Limit height of query bar input for long KQL queries #193737
[Unified Search] Limit height of query bar input for long KQL queries #193737
Conversation
c2f5290
to
932aa34
Compare
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
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.
@linghaoSu Thanks for opening this PR!
src/plugins/unified_search/public/query_string_input/query_string_input.scss
Show resolved
Hide resolved
…dom avoid re-render kql textarea
ea38b21
to
29fed4e
Compare
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
This comment was marked as resolved.
This comment was marked as resolved.
@elasticmachine merge upstream |
@MichaelMarcialis Thank you for your review! As for 2, I have limited the height of the search and clear icons, ensuring they are always positioned at the top. If you have any other suggestions, please let me know! Thanks! |
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.
Looks good from my perspective. Thanks for making these changes, @linghaoSu!
@elasticmachine merge upstream |
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
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.
Tested on Chrome and it works great! Thank you for contribution!
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.
Looks great 🎉
💛 Build succeeded, but was flaky
Failed CI StepsTest FailuresMetrics [docs]Async chunks
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11315650553 |
…elastic#193737) (cherry picked from commit d6e2b26)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ueries (#193737) (#196027) # Backport This will backport the following commits from `main` to `8.x`: - [[Unified Search] Limit height of query bar input for long KQL queries (#193737)](#193737) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Linghao Su","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-13T15:39:18Z","message":"[Unified Search] Limit height of query bar input for long KQL queries (#193737)","sha":"d6e2b266e81e857a30c7976c2622634751978a30","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","💝community","v9.0.0","backport:prev-minor","v8.16.0"],"title":"[Unified Search] Limit height of query bar input for long KQL queries","number":193737,"url":"https://github.com/elastic/kibana/pull/193737","mergeCommit":{"message":"[Unified Search] Limit height of query bar input for long KQL queries (#193737)","sha":"d6e2b266e81e857a30c7976c2622634751978a30"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193737","number":193737,"mergeCommit":{"message":"[Unified Search] Limit height of query bar input for long KQL queries (#193737)","sha":"d6e2b266e81e857a30c7976c2622634751978a30"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Linghao Su <[email protected]>
Summary
Fixes #190067
Add max-height to limit the search height of unified query to avoid overflow caused by long KQL query.