-
Notifications
You must be signed in to change notification settings - Fork 33
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
Blur LedWidgets when stale #1849
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1849 +/- ##
=======================================
Coverage 79.57% 79.57%
=======================================
Files 519 519
Lines 40774 40774
=======================================
+ Hits 32444 32446 +2
+ Misses 8330 8328 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
This isn't a UX concept that I'm familiar with, but the blur helps wrt differentiating these with colorblindness
@@ -105,4 +112,8 @@ export default { | |||
background-color: var(--color); | |||
border-radius: 50%; | |||
} | |||
.stale { | |||
filter: blur(2px); | |||
opacity: 0.6; |
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.
Should probably add brightness(0.6)
to the filter instead of opacity - that will just darken it instead of giving it a dark blue tint, which should help with colorblindness and future-proofing for if/when we add themes
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.
Should also turn LED Purple, not just blur
The customer explicitly didn't want that: 'We would like to request an enhancement to this widget such that the color of the LED light is turned slightly gray when the telemetry point it is tied to goes stale. This way, the viewer can still observe the current state, as well as whether or not that state is stale.' Instead of slightly grey I blur the widget and change the brightness to indicate stale. This still allows them to know what the last value was. Plus purple could be a valid color. |
I don't like the inconsistency with everything else. |
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.
Please add note to LedWidget that LimitsColor widget should be used to show limits state.
Quality Gate passedIssues Measures |
closes #1683