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

Users should be warned (with voice and/or notifications) when Cockpit is minimized while the vehicle is armed #1377

Open
rafaellehmkuhl opened this issue Oct 2, 2024 · 0 comments · May be fixed by #1379
Assignees
Labels
joystick new-feature Something Cockpit does not do yet P1 - Important Priority High priority task safety ux Has to do with the user experience

Comments

@rafaellehmkuhl
Copy link
Member

This is a dangerous situation, and today we only console.log that.

We should have a voice alert that says something like "You're vehicle is armed and you explicitly minimized Cockpit. Your vehicle is not receiving joystick inputs anymore and can be in danger. Take care." when the window (browser or Electron) is minimized. A desktop notification can also help!

We should also explain to the user that they can alt-tab from the browser/Electron without problems, and the only two things they cannot do is to click the browser/Electron minimize button or change to another tab (when using Cockpit in the browser). This way they can use Cockpit without problems.

Disabling those alerts and notifications should be done on an explicit switch that doesn't follow the general "disable voice alerts" switch, as this is a more critical situation regarding safety.

@rafaellehmkuhl rafaellehmkuhl added ux Has to do with the user experience new-feature Something Cockpit does not do yet joystick P1 - Important Priority High priority task labels Oct 2, 2024
@rafaellehmkuhl rafaellehmkuhl added this to the Once we reach Stable milestone Oct 2, 2024
@ArturoManzoli ArturoManzoli self-assigned this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
joystick new-feature Something Cockpit does not do yet P1 - Important Priority High priority task safety ux Has to do with the user experience
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants