-
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
Fix angular stack overflow by changing apply filters popover directiv… #48559
Conversation
Pinging @elastic/kibana-app-arch (Team:AppArch) |
367ebeb
to
2aea7e5
Compare
💚 Build Succeeded |
I'm unclear if this aims to solve all stack overflow issues or just a specific subset. I'm running the branch locally and looking at discover - adding and removing filters causes stack overflow errors. Another action in discover which causes stack overflow - https://cl.ly/f62c957e90a8 |
@mattkime this is specific to the errors on dashboard. Sorry for not mentioning it in the issue. Now it seems we have more than one problem! |
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
Summary
Fix angular stack overflow on dashboard application, by changing apply filters popover directive implementation
The bug was caused by a combination of now passing in the
notification
service intoIndexPatterns
and the custom way that theapplyFiltersPopover
directive used to watch filters and modify state in it.This PR changes the way
applyFiltersPopover
watches state. It also moves modifying the state into the React component.bee4212
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.For maintainers