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

[8.x] [ES|QL] Give the ability to disable the autofocus on the editor (#204706) #204897

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…tic#204706)

## Summary

Right now, the editor autofocuses by default. But there are cases that a
consumer won't want this (autofocus might trigger the suggestions).

This PR introduces a new property which allows the consumers to disable
this feature.

(I need this for the ES|QL variables feature)

(cherry picked from commit 65437c4)
@kibanamachine kibanamachine merged commit c02a17a into elastic:8.x Dec 19, 2024
11 checks passed
@elasticmachine
Copy link
Contributor

💚 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
esql 202.6KB 202.7KB +26.0B
Unknown metric groups

API count

id before after diff
@kbn/esql-editor 29 30 +1
esql 25 26 +1
total +2

cc @stratoula

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants