-
Notifications
You must be signed in to change notification settings - Fork 11
Increase default debounce #1074
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1074 +/- ##
==========================================
- Coverage 85.08% 85.08% -0.01%
==========================================
Files 822 822
Lines 16931 16924 -7
Branches 2045 2045
==========================================
- Hits 14406 14399 -7
Misses 2494 2494
Partials 31 31
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
this.checkboxDiffer = this.differFactory.find([]).create(); | ||
|
||
this.subscriptionLifecycle.add( | ||
this.searchDebounceSubject.pipe(debounceTime(200)).subscribe(text => this.searchChange.emit(text)) |
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.
We can really use the ootb debounceTime property of search box component. Additional subscription here is not required in this table.
Please update the time in search box component as well either ways
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.
ah yeah I forgot we added that - switched over to using that one (searchbox doesn't have a built in time, it's not debouncing by default)
Description
Update table search debounce from 200ms to 400ms to reduce api calls.
Testing
Manual, updated UT
Checklist:
#1072