-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat(dashboard): lighter red for 0 errors #319
Conversation
babd54e
to
1917b76
Compare
db68aec
to
b6c576a
Compare
const clearerCircles = | ||
quantity == 0 && | ||
(tooltipText == 'global.failed' || tooltipText == 'global.inconclusive') | ||
? 'bg-opacity-20' | ||
: ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can put this behavior in every circle not just for failed
or inconclusive
IMO that will improve consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we can't, create a fadeOnEmpty
prop for the component as tooltipText
is not a suitable value for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the same, but ticket's title is clear.
b6c576a
to
96c292c
Compare
Improves visibility of zeroed errors.
Closes #316