sergiitk / pagerbeauty

:pager::sparkles: PagerDuty on-call widget for monitoring dashboard. Datadog and Grafana compatible
https://demo.pagerbeauty.sergii.org/v1/schedules/PDUQGYJ.html
MIT License
338 stars 27 forks source link

Wrong user displayed when no user is on call for a schedule & window is left open #120

Open relishcolouredhat opened 4 years ago

relishcolouredhat commented 4 years ago

When no user is oncall for a given schedule, the app shows the "last user" as still oncall (the time range is still correct, it is just in the past).

relishcolouredhat commented 4 years ago

Edited after testing - if I restart the instance and connect fresh; I do get "No one is on call" - but only after restarting the service it seems.

sergiitk commented 4 years ago

There's a delay between the data is updated on PagerDuty and PagerBeauty. Could this be the reason?

evilalmus commented 2 years ago

I don't think so, I just started using this and have the same problem. If a schedule has gaps, so it goes from someone being "on call" to no one being "on call" it does not switch back to the yellow frame with no name. It keeps displaying the last person on call until that schedule is not empty again.

evilalmus commented 2 years ago

Example, this schedule has been empty since 6:00pm yesterday, it is now 8:45am: image

After restarting the app: image