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 optional filterTypingDebounce for filters w/keyup #538

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

ghiscoding
Copy link
Owner

@ghiscoding ghiscoding commented Mar 18, 2021

  • we previously had the filterTypingDebounce but that was only available when using BackendServiceApi (with OData/GraphQL) but this PR goes further and makes it available to any type of grids, so it can now be used with a local grid (JSON dataset)
  • we also move the debounce code from the Filter Service into each filter component itself (only the following 2 filters requires this, InputFilter and CompoundInputFilter). The Filter Service shouldn't do any debounce, it should be the responsability of the concerned filter and that is what we refactored in this PR as well.

TODOs

  • requires Slickgrid-Universal PR #283 to be merged and released

- we previously had the `filterTypingDebounce` but that was only available when using `BackendServiceApi` (with OData/GraphQL) but this PR goes further and makes it available to any type of grids, so it can now be used with a local grid (JSON dataset)
- we also move the debounce code from the Filter Service into each filter component itself (only the following 2 filters requires this, `InputFilter` and `CompoundInputFilter`). The Filter Service shouldn't do any debounce, it should be the responsability of the concerned filter and that is what we refactored in this PR as well.
@ghiscoding ghiscoding changed the title WIP - feat(filters): add optional filterTypingDebounce for filters w/keyup feat(filters): add optional filterTypingDebounce for filters w/keyup Mar 25, 2021
@ghiscoding ghiscoding merged commit 66e7cfc into master Mar 25, 2021
@ghiscoding ghiscoding deleted the feat/local-filter-debounce branch March 25, 2021 02:29
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