Skip to content

feat(ViewFilter): add support to manipulate query params

Pandu Supriyono requested to merge feature/view-filter-query-params into master

Related pulse

https://uncinc.monday.com/boards/99020894/pulses/4392963293

What does this MR do?

This MR adds helpers to facilitate the manipulation query params (for uses such as ViewFilters), so that filters selected in view filters are also reflected in the URL bar. The new feature is opt-in and backwards-compatible.

Changes

  • Adds a useQuery hook which interfaces with connected-redux-router to listen to and dispatch changes in the query params (for internal use; the library does not export this).
  • introduces a <ViewFilterProvider> which allows child components to access to a useViewFilterQuery hook to manage view filter state.
Edited by Pandu Supriyono

Merge request reports

Loading