tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
2.99k stars 250 forks source link

Make UI consistent regarding when to clear input validation errors #1655

Open jotaen4tinypilot opened 10 months ago

jotaen4tinypilot commented 10 months ago

We currently don’t follow a consistent pattern in regards to clearing validation errors:

Good points can be made for either way:

A potential third (middleground) option could be to add some sort of “dismiss” functionality (e.g., an × button in the upper right corner of the inline message box). That way, the error box would persist by default, but the user could explicitly make it go away.

What we should do is this:

mtlynch commented 10 months ago

I like clearing the validation error quickly.

I hate having apps yell at me about stuff, so the less we admonish users (or at least the less we keep the admonishment up), the better.