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

Correct coloring of zero metrics in report overviews #8406

Merged

Conversation

LadyNamedLaura
Copy link
Contributor

pr #8118 changed to the use of strings for these metrics.
This made the comparison with the integer of 0 fail, resulting in all
metrics being colord even if they were 0

That same pr also failed to apply this change to the reports widget,
which is updated here to have the same behaviour as the
config_reports/_list view

It would be nice to still get this into 2.4

@theforeman-bot
Copy link
Member

Can one of the admins verify this patch?

2 similar comments
@theforeman-bot
Copy link
Member

Can one of the admins verify this patch?

@theforeman-bot
Copy link
Member

Can one of the admins verify this patch?

@tbrisker
Copy link
Member

ok to test
@SimonPe I've invited you to the foreman organization, once you accept the invite future prs will auto-trigger CI runs.

pr theforeman#8118 changed to the use of strings for these metrics.
This made the comparison with the integer of 0 fail, resulting in all
metrics being colord even if they were 0

That same pr also failed to apply this change to the reports widget,
which is updated here to have the same behaviour as the
config_reports/_list view
Copy link
Member

@tbrisker tbrisker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @SimonPe ! tests were green before updating the commit message, merging.

@tbrisker tbrisker merged commit 90ea9bb into theforeman:develop Mar 18, 2021
@tbrisker
Copy link
Member

tbrisker commented Mar 18, 2021

2.4 - 823b3f6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants