Argus icon indicating copy to clipboard operation
Argus copied to clipboard

Ability to have global filters

Open elfjes opened this issue 1 year ago • 2 comments

We'd like to have global filters that are available for all users and the same for all users so that if a user views the incident listing (either through ui (htmx) or api) they can always choose those filters.

elfjes avatar May 30 '24 10:05 elfjes

Idea: store them on the argus-user which needs to exist anyway, then all we need is merging the list of argus-filters and user-filters whenever user-filters are shown.

hmpf avatar May 30 '24 12:05 hmpf

we'd also need a ui element to store a filter as a global filter, and some way to manage global filters

elfjes avatar May 30 '24 13:05 elfjes

we'd also need a ui element to store a filter as a global filter, and some way to manage global filters

For storing/creating I would suggest adding a checkbox "Store filter globally" to the create-filter-dialog.

Image

As for managing, then I would suggest dropping having the "Delete filter" button and instead prompting a Filter management dialog when opening an existing filter (via icon in the select dropdown) when users can delete or hide (make non-global) the filter.

podliashanyk avatar Jul 31 '25 12:07 podliashanyk