Conversation
|
We can use the same pattern as we have for Configuration validation: |
|
The test button is not about if the condition is valid but if it tests true right now (side effect is validating it or else we can't test it, but most things made via UI will be valid) |
|
This is a great feature, but those affected by color blindness might have a hard time distinguishing between those two colors, considering that red-green color blindness is the most common form of color blindness. It might be helpful to add some kind of additional visual feedback, such as a ✅ or ❌ to indicate whether the condition tested true. |
|
Added icons to the progress button CleanShot.2022-03-08.at.11.36.24.mp4 |
| @@ -1,8 +1,9 @@ | |||
| import "@material/mwc-button"; | |||
| import type { Button } from "@material/mwc-button"; | |||
| import { mdiAlertOctagram, mdiCheckBold } from "@mdi/js"; | |||
There was a problem hiding this comment.
Why not use the X if we are using the check?
There was a problem hiding this comment.
because I felt like X could also indicate bad config.

Breaking change
Proposed change
Allow testing conditions.
CleanShot.2022-03-03.at.21.39.55.mp4
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: