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

Add a settings flag to turn off red boxes #2381

Open
Spiffo opened this issue Jan 18, 2025 · 1 comment
Open

Add a settings flag to turn off red boxes #2381

Spiffo opened this issue Jan 18, 2025 · 1 comment

Comments

@Spiffo
Copy link

Spiffo commented Jan 18, 2025

Is your feature request related to a problem? Please describe.
When working on the front end, the constant barrage of red boxes for devices that cannot be pinged is a bit overkill. I know these devices cannot be pinged, e,g, because they are lights that are physically switched off.
This is especially annoying when working on a small screen (phone), since it renders the interface completely useless unless I go and turn on all physical switches

Describe the solution you'd like
Some possible solutions:

  • add a flag to allow user to decide whether they want to see those red boxes or not. If not, the info is still available in the log.
  • add a setting on a device that says: I know this is behind a switch, so don't bother me when it is offline
  • don't attempt to continually ping such devices, wait for them to announce that they are back before you start pinging again

Describe alternatives you've considered
Have tried to play with log settings but these do not seem to have an impact on the red boxes

Image

@bluemoehre
Copy link

I would recommend to group issues of the same type rather than turning them off. That would also improve the UX for other cases when you get flooded by toasty popups.

If issue count hits >3 just add a text like:

z2m: Failed to ping device ... (Repeated N times)

Unfortunately it looks this toast / popup component does not support that out of the box, so it needs some customization.

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

No branches or pull requests

2 participants