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
feat: [filter_box] disable instant_filtering by defult #9952
feat: [filter_box] disable instant_filtering by defult #9952
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9952 +/- ##
=======================================
Coverage 71.33% 71.34%
=======================================
Files 585 585
Lines 30889 30889
Branches 3237 3237
=======================================
+ Hits 22036 22039 +3
+ Misses 8744 8741 -3
Partials 109 109
Continue to review full report at Codecov.
|
'users to hit an [Apply] button', | ||
default: false, | ||
description: t( | ||
'Whether to apply filters as they change, or wait for users to hit an [Apply] button', |
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.
Maybe we should add a better description while we're in here too. @sylvia-tomiyama any ideas?
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.
I checked what other descriptions look like (for consistency...). How about Check to apply filters instantly as they change instead of displaying [Apply] button.
6f9e41a
to
c710897
Compare
I will use Zuzana's comment. |
SUMMARY
Currently filter_box's setting instant_filtering is set to true by default. We found airbnb users usually make large filter_box with multiple filter_fields. When user change filter fields one by one, instant filtering will generate many temporary queries but no use.
This PR is to set default value be false. This change will not affect any existed filter_box settings.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
CI
ADDITIONAL INFORMATION