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

fix: Filter alerts on name (was type) #4724

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

htdangkhoa
Copy link

@htdangkhoa htdangkhoa commented Feb 16, 2025

Fixes #4723

What changed?

Why was this change made?
I think the alerts should be filtering on provider name instead of type.

How was this change implemented?
In fact, users can configure another provider's name than the type's name of Flux provided (e.g. Name: discord-bot, type: discord)

How did you validate the change?
Unit test is added

Release notes
The alerts are not shown on the table

Documentation Changes
No

@htdangkhoa htdangkhoa changed the title fix: the alerts are not shown on the table Fix: the alerts are not shown on the table Feb 16, 2025
@htdangkhoa htdangkhoa changed the title Fix: the alerts are not shown on the table fix: The alerts are not shown on the table Feb 16, 2025
@erikgb erikgb changed the title fix: The alerts are not shown on the table fix: filter alerts on name (was type) Feb 16, 2025
@erikgb erikgb changed the title fix: filter alerts on name (was type) fix: Filter alerts on name (was type) Feb 16, 2025
@erikgb
Copy link
Contributor

erikgb commented Feb 16, 2025

@htdangkhoa Is it possible to add/modify tests to verify the desired behavior? I am not a frontend developer, but hopefully, some of our other collaborators can give some concrete advice on the matter.

@htdangkhoa
Copy link
Author

@erikgb thank you for your answer, I added the unit test for my change

@casibbald
Copy link
Collaborator

Cheers, will take a look soon but we should also get a few other front end reviews

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

Successfully merging this pull request may close these issues.

Alert objects does not show in the table
3 participants