woven-planet / lakefront

Lakefront project
9 stars 3 forks source link

Reset all filters #303

Closed jason-ransom-slalom closed 1 year ago

jason-ransom-slalom commented 1 year ago

⚠️ Version 1.0.x BREAKING CHANGES

This PR is for updating the "clear filter(s)" functionality of filters to now be "reset filter(s)". In order to fully accomplish this, the interface for the useFilter hook result has changed.

❗✅ Required Changes when upgrading to version 1.0.x

Consuming libraries will generally need to do a find and replace for any instances of "clearFilter" and "clearAllFilters" if using those parts of the useFilter result.

Additional PR Updates

Also included in this PR were the following updates:

If approved, this will close #278 . Important notes above will be included in the release once merged.

image

Lakefront PR Checklist