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

Prioritize running job over success or failed status #203

Conversation

eXistenZNL
Copy link
Collaborator

What

This change prioritizes the global state of running jobs over the end states (failure / success). If a pipeline is running, the favicon and bottom traffic light will be yellow, once the pipeline is completed the favicon + traffic light will be green or red again.

Why

I recently have been using CIMonitor in a (pinned) tab quite a lot as a simple indicator if the pipeline was still running or already done. Whenever I would have failed pipelines on my dashboard (this can happen quite some times when running e.g. Renovate or Dependabot), the indicator never switches to yellow so I still have to check the CIMonitor page manually to know if the pipeline I just triggered is already done.

With this change, the favicon will update itself to yellow whenever a pipeline starts, then back to red or green again when the pipeline is completed.

In other words, this makes the favicon / traffic light more usable in different scenario's!

@rick-nu
Copy link
Member

rick-nu commented Dec 4, 2023

Very valid fix, thank you @eXistenZNL! 💪 ❤️

@rick-nu rick-nu merged commit 7ce6a9a into FuturePortal:master Dec 4, 2023
3 checks passed
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.

2 participants