Skip to content
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] Improve the way that spaces are handled on inline mode #137678

Merged
merged 2 commits into from
Aug 2, 2022

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Aug 1, 2022

Summary

Fixes the bug described here #136950 (comment)

When the user has an SQL query with multilines but the editor is on the inline mode we want to convert the query to oneliner but with one space between the words.

uni1

Checklist

@stratoula stratoula changed the title [Unified search] Improve the way that spaces are handled on multiline… [Unified search] Improve the way that spaces are handled on multiline mode Aug 1, 2022
@stratoula stratoula added Feature:Unified search Unified search related tasks backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) v8.5.0 backport:skip This commit does not require backporting Team:AppServicesSv release_note:skip Skip the PR/issue when compiling release notes and removed backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Aug 1, 2022
@stratoula stratoula marked this pull request as ready for review August 1, 2022 11:10
@stratoula stratoula requested a review from a team as a code owner August 1, 2022 11:10
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServicesSv)

@stratoula stratoula changed the title [Unified search] Improve the way that spaces are handled on multiline mode [Unified search] Improve the way that spaces are handled on compact mode Aug 1, 2022
@stratoula stratoula changed the title [Unified search] Improve the way that spaces are handled on compact mode [Unified search] Improve the way that spaces are handled on inline mode Aug 1, 2022
Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM, great work @stratoula ! Added one refinement let me know what you think!

…d_languages_editor/helpers.ts

Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
unifiedSearch 227.9KB 228.0KB +40.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@stratoula stratoula merged commit daba7d2 into elastic:main Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Unified search Unified search related tasks release_note:skip Skip the PR/issue when compiling release notes v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants