Description
Popup alerts show, even if I've disabled them.
I modified the menelaus_web_alerts_srv to generate an "IP change" alert frequently and consistently. I then tried disabling the alert - but it still shows. In the background of the image you can see that I've disabled the alert. Here's a screenshot with it in the foreground:
Also: oddly it looks like the UI configures the "pop_up_alerts" list in the opposite fashion that's intended. E.g. if I check the pop_up_alerts list in the alerts settings for the cluster shown above I see:
$ curl -s localhost:9000/settings/alerts -u Administrator:asdasd | jq .pop_up_alerts
|
[
|
"ip"
|
]
|
That is the "ip" alert is the only one that shows up in the list, which seems backwards as it's the only one that's disabled.
Lastly, the controls to enable / disable the UI popups are only available if email alerts are enabled. But it should be the case that I can manage UI popups even if email alerts are not enabled. This feels like a separate bug, so I'll file a separate ticket for it.