-
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
Debounce filter value suggestion refresh #48450
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
💚 Build Succeeded |
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 addressing this so quickly!
@Bargs can this get into 7.5.1 or has that ship sailed? |
@nerophon we generally only backport to patch releases if the issue is a severe kibana breaking bug or a security problem. |
💚 Build Succeeded |
This is a bug fix and can still go into the 7.5 branch for the 7.5.0 release. It should not go into the 7.4 branch for the 7.4.1 patch release. |
Summary
A customer reported that value suggestions were refreshing too quickly in the filter editor and putting a strain on their cluster. They tested 6.x vs 7.x and found that 7.x was refreshing on every keypress, whereas 6.x had a debounce. I looked back in the code and verified what they were saying. The refresh used to have a debounce but was lost in the React refactoring, so I've reintroduced it in this PR.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.- [ ] This was checked for cross-browser compatibility, including a check against IE11- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support- [ ] Documentation was added for features that require explanation or tutorials- [ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers
- [ ] This was checked for breaking API changes and was labeled appropriately