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 easily-accessible buttons to shut down and reboot the device #53

Open
ethanjli opened this issue Sep 6, 2023 · 0 comments
Open
Assignees

Comments

@ethanjli
Copy link
Member

ethanjli commented Sep 6, 2023

Is your feature request related to a problem? Please describe.
Previously, the device's landing page (which was the Node-RED dashboard's landing page) had buttons for shutting down and rebooting the machine, easily accessible. The new device-portal landing page no longer has such buttons.

This feature request was made by Fabien Lombard

Describe the solution you'd like
Fabien proposed adding buttons on the landing page to shut down and reboot the machine.

Describe alternatives you've considered
I already plan to add a control panel (preferably as part of device-portal for simplicity, or else as a separate app), which would have shutdown and reboot buttons. Additionally, the Cockpit home page has buttons for shutting down and rebooting the system. However, those buttons are not easily accessible. It does seem like we need to have buttons on the landing page.

Additional context
I am not sure how we might implement this without running the device-portal as a privileged container in Docker, running commands on the host system. Maybe there's some dbus API we can call into or a socket we can write to?

@ethanjli ethanjli self-assigned this Sep 6, 2023
@ethanjli ethanjli moved this to 📋 Backlog in PlanktoScope Software Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Plan needed
Development

No branches or pull requests

1 participant