K-Phoen / backstage-plugin-opsgenie

OpsGenie plugin for Backstage
MIT License
35 stars 37 forks source link

Status color for closed alert; colors should be aligned with OpsGenie web UI #133

Open marians opened 7 months ago

marians commented 7 months ago

The alerts list component (EntityOpsgenieAlertsCard) shows alerts with a colored dot that indicates status. Example:

image

Currently

Source: https://github.com/K-Phoen/backstage-plugin-opsgenie/blob/v0.6.6/src/components/AlertsTable/StatusChip.tsx

To me personally, the combination of the color green for a closed alert is unexpected, as the green indicates more that something is "ready" or "active".

I suggest to align the colors with the OpsGenie web UI. Here they use:

OpsGenie web UI screenshots Open (dark theme) ![dark open](https://github.com/K-Phoen/backstage-plugin-opsgenie/assets/273727/abb75504-59df-4aa4-a53c-257f23131856) Open (light theme) ![light open](https://github.com/K-Phoen/backstage-plugin-opsgenie/assets/273727/65871b19-292b-4e34-9da2-0f8a5bea0a9e) Acknowledged (dark theme) ![dark acked](https://github.com/K-Phoen/backstage-plugin-opsgenie/assets/273727/9c9537fa-b1c8-4a87-8db0-91be29747c0b) Acknowledged (light theme) ![light acked](https://github.com/K-Phoen/backstage-plugin-opsgenie/assets/273727/eda088de-3a14-48f2-ab29-f8878b23eb02) Closed (dark theme) ![dark closed](https://github.com/K-Phoen/backstage-plugin-opsgenie/assets/273727/7f322422-292b-46e7-bb6f-64fc0c91670d) Closed (light theme) ![light closed](https://github.com/K-Phoen/backstage-plugin-opsgenie/assets/273727/a4dab6fd-b384-4615-a95f-f5b5c277a88a)