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

now showing blue/green status indicator when there are no jobs but we filtered out successful jobs #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nihil84
Copy link

@nihil84 nihil84 commented Oct 12, 2018

Since this extension is pretty slow and it tends to freeze the gnome-shell when there are many jobs, some users (like me) needs to filter-out successful-jobs to get an usable interface.
In these cases, when there are no jobs the extensions shows an error while the correct indication should be "everything is building correctly".

I changed this behavior by checking for the show_successful_jobs when no jobs are found.
The message "no jobs found" is still being shown but as warning instead as an error so that the user may still check for its filters if the result does not match with the expected.

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.

1 participant