Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for generic plugable "filters" #511

Open
sixcare opened this issue Dec 17, 2021 · 1 comment
Open

Add support for generic plugable "filters" #511

sixcare opened this issue Dec 17, 2021 · 1 comment

Comments

@sixcare
Copy link

sixcare commented Dec 17, 2021

With the generic plugable "filters" on it's way in alerta/alerta#1660 I would like to add support for it in the webui

The way I'd like to implement it is a filterable list. Where the list is filtered based on type and/or attributes.
Something like this, but with some sort of filtering either on the table headers or above the table:
image

I'd also like the list to support filtering by GET requests. So that the list can be shared

I've also considered to add a menu item for each unique filter type that exists. But I think that it would be wiser to keep the menu clean. Maybe it could be hidden behind a collapsible menu item.

@sixcare
Copy link
Author

sixcare commented Dec 22, 2021

For this to work Alerta Filters need to support querying the same way Alerts does: https://github.com/alerta/alerta/blob/master/alerta/database/backends/mongodb/utils.py#L142

I've got it working for Mongodb. I'll push once done for postgress too.

sixcare added a commit to sixcare/alerta-webui that referenced this issue Jan 7, 2022
sixcare added a commit to sixcare/alerta-webui that referenced this issue Jun 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant