-
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
Discover New button takes forever or doesn't work #45701
Comments
Pinging @elastic/kibana-app |
I just installed the latest 7.3.2 BC build which is essentially what we just released 2 days ago and I could not reproduce the problem there. So it's something between 7.3.2 and 7.4.0. |
Looks like this one's something related to React+Angular mixing - I mapped the following with Chrome's performance recording
This same order of events can be triggered by clicking the |
So, the click on new runs the following code, there should be a change of URL to
|
I have a few functional test failures in Graph (e.g. #45317 ) that might be caused by the same thing - it's also using the top nav but in functional tests the action is not triggered in some cases (even though the html button click works). I also noticed that url changes triggered by the top nav have a noticeable delay in Graph. |
Pinging @elastic/kibana-app-arch |
@kertal I think I found the problem with that one - But the route change (and thus the reload call) is only triggered if it happens in an angular digest cycle (I thought Wrapping the call into an run: function () { $scope.$evalAysnc(() => { kbnUrl.change('/discover'); }); }, |
@flash1293 works! you're ⚡️! |
I think this qualifies as a blocker, @LeeDr ? |
Kibana version: master, and 7.4.0
Elasticsearch version: master, and 7.4.0
Server OS version: Windows, Ubuntu 18
Browser version: Chrome, Firefox
Browser OS version: Windows 10
Original install method (e.g. download page, yum, from source, etc.): Source for master, snapshot zip files for 7.4.0
Describe the bug: The
New
button in Discover doesn't immediately work. It should return to a new search and set back to the default index. It seems like it eventually does do that, but it might take 10 seconds and/or moving the mouse around the discover tab may be triggering it.Steps to reproduce:
.kibana*
and.kib*
)New
menu item. Notice the focus highlighting stays on the button until eventually the index pattern changes to the default and focus moves to the query bar.Expected behavior:
Screenshots (if relevant):
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: