feat: Track clients & operations filters using search params #5616
+93
−22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Background
At Toast, every team has a weekly metric review meeting where teams go through their dashboards and metrics for their services and SPAs. Teams have been using Hive Insights for client metrics. As teams go through a spreadsheet with all dashboard links, it has been a bit annoying to have to set the filters every time.
This PR adds the clients and operations filters to the search params (same done already for the date presets).
Description
useSearchParamsFilter
instead ofuseState
.useDateRangeController
to not remove current search params when the user changes it.Checklist