Skip to content

dashboard: Apply filters more consistently

Emanuele Aina requested to merge wip/em/fix-filter-hysteresis into master

Applying filters one-at-a-time can lead do broken behavior:

  • deselect both the info and error severity checkboxes
  • all reports are correctly hidden
  • deselect the apertis/v2021 channels checkbox
  • all the other reports incorrectly show up again, regardless of their severity

This is because when applying the updated channels filter the code does not look at the other active filters.

Tweak the code to always check all filters regardless of the one that has been updated.

Merge request reports