-
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
[Global search] Prevent unnecessary /internal/global_search/find http call at startup #112535
Conversation
@elasticmachine merge upstream |
5ee351a
to
f672735
Compare
@elasticmachine merge upstream |
Pinging @elastic/uptime (Team:uptime) |
💚 Build Succeeded
Metrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
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 doing this.
The following labels were identified as gaps in your version labels and will be added automatically:
If any of these should not be on your pull request, please manually remove them. |
… call at startup (elastic#112535) Co-authored-by: Kibana Machine <[email protected]>
… call at startup (elastic#112535) Co-authored-by: Kibana Machine <[email protected]>
… call at startup (#112535) (#116628) Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Shahzad <[email protected]>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
… call at startup (#112535) (#116627) Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Shahzad <[email protected]>
Summary
Fixes #78785
Prevented unnecessary
/internal/global_search/find
http call at startup, calls will be made only when components has been in focus.This was causing two http api calls each time kibana loaded, regardless of the page you are.
Overhauled tests, it seems like previous tests were broken, since input focus wasn't working in tests.