openbmc / phosphor-webui

Web-based user interface for managing OpenBMC systems
Apache License 2.0
37 stars 25 forks source link

Suppress RED "View X high priority events" message link on Overview #135

Open manojdesd opened 2 years ago

manojdesd commented 2 years ago

On OpenBMC when no HIGH priority event is present, on the Overview web page, there is no RED link RED "View X high priority events" message at the middle right of the page and nothing at the bottom under High priority events and also the Server health is green and Good. If High priority event occurs this 3 informations change :

My PR is about after this "Mark as resolved" and REFRESH action to also suppress the RED "View X high priority events" message on Overview web page.

There is no need to continue to show this RED message for the same reason that there is no need to show Critical and red the Server health button in top of page. If possible, it should also be good to erase the Critical Events array at the bottom the Overview web page for the same reason. All the critical events continue to be visible and marked RESOLVED in the BMC Health > Event Log