Insights/fix-sort-limit-change
Created by: unclejustin
Closes https://github.com/sourcegraph/sourcegraph/issues/36501
This is the "easy" version of the fix. We simply clear all of the selected series when changing sorting or limiting.
Maintaining the selections requires more backend work to support it.
Test plan
- Go to any sortable insight with more than 1 series
- Toggle any series so that only 1 is shown
- Change the limit or sorting options
- Selections should be cleared showing all series as per the filters
App preview:
Check out the client app preview documentation to learn more.