Future enhancement - Clear all filters callback required when clearing filter state created from url query params #1667
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
priority/normal
Higher priority than priority/minor. Nice to have.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
¯\_(ツ)_/¯
¯\\\_(ツ)_/¯
Description
This issue tracks the need to expand the "clear all" filters functionality to all filterable tables (with initial values populated from url query params) within our application. The recent changes in PR addressed the issue of broken search strings when navigating from dependencies page and applied the "clear all" function to specific cases. However, there may be a future need to apply this functionality to new filterable tables & the desire is to make this seamless & as easy as possible.
Background
clearAllFilters
callback for special cases like the one we encountered.Proposed Solution
clearAllFilters
functionality into our custom filter toolbar component. There may be a better way to do this instead of repeating this code everywhere we need it. Maybe a hook?The text was updated successfully, but these errors were encountered: