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

feat(filters): add grid option skipCompoundOperatorFilterWithNullInput #794

Merged
merged 1 commit into from
Nov 5, 2022

Conversation

ghiscoding
Copy link
Owner

@ghiscoding ghiscoding commented Nov 5, 2022

  • new option skipCompoundOperatorFilterWithNullInput to skip filtering when the Operator is changed before the Compound Filter input value.
  • For example, with a CompoundDate Filter it's probably better to wait until we have a date filled before filtering even if we start with the operator.
  • Defaults to True only for the Compound Date Filter (all other compound filters will still filter right away even when operator is first changed without an input value provided).

enter image description here

- Should we skip filtering when the Operator is changed before the Compound Filter input.
- For example, with a CompoundDate Filter it's probably better to wait until we have a date filled before filtering even if we start with the operator.
- Defaults to True only for the Compound Date Filter (all other compound filters will still filter even when operator is first changed).
@codecov
Copy link

codecov bot commented Nov 5, 2022

Codecov Report

Merging #794 (d906365) into master (b895864) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #794   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          236       236           
  Lines        16434     16450   +16     
  Branches      5538      5548   +10     
=========================================
+ Hits         16434     16450   +16     
Impacted Files Coverage Δ
packages/common/src/filters/compoundDateFilter.ts 100.00% <100.00%> (ø)
packages/common/src/filters/compoundInputFilter.ts 100.00% <100.00%> (ø)
packages/common/src/filters/sliderFilter.ts 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ghiscoding ghiscoding merged commit 617c88d into master Nov 5, 2022
@ghiscoding ghiscoding deleted the feat/filter-compound-operator-with-null-input branch November 5, 2022 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant