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

Debounce filter value suggestion refresh #48450

Merged
merged 2 commits into from
Oct 18, 2019

Conversation

Bargs
Copy link
Contributor

@Bargs Bargs commented Oct 16, 2019

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 strikethroughs to 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

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately

@Bargs Bargs added release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 v7.6.0 labels Oct 16, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@TinaHeiligers TinaHeiligers left a 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!

@nerophon
Copy link
Contributor

@Bargs can this get into 7.5.1 or has that ship sailed?

@Bargs
Copy link
Contributor Author

Bargs commented Oct 17, 2019

@nerophon we generally only backport to patch releases if the issue is a severe kibana breaking bug or a security problem.

@markov00
Copy link
Member

@Bargs I think have time to backport this fix to 7.5 since it's not yet released and it's rather a small change. Maybe it's worth asking @LeeDr

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@Bargs Bargs merged commit b00dded into elastic:master Oct 18, 2019
Bargs added a commit to Bargs/kibana that referenced this pull request Oct 18, 2019
Bargs added a commit to Bargs/kibana that referenced this pull request Oct 18, 2019
@LeeDr
Copy link

LeeDr commented Oct 18, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.6.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants