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 idle countdown timer to navbar. #171

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

SSMCD
Copy link

@SSMCD SSMCD commented Feb 28, 2021

What does this PR do and why is it necessary?

Added a countdown timer to the navbar that shows when the PSU will be turned off, if "Automatically turn PSU OFF when idle" is enabled in settings. A setting was also added to enable / disable display of the timer in the navbar.

The countdown is NOT displayed in the navbar when the following is TRUE:

  • PSU is OFF
  • Print is ongoing
  • Print is paused
  • "Automatically turn PSU OFF when idle" is UNCHECKED in Settings.
  • "Show idle countdown timer in the navbar" is UNCHECKED in Settings.

How was it tested? How can it be tested by the reviewer?

Tested on my OctoPrint instance running on an RPi3 B+

Screenshots (if appropriate)

Idle countdown timer in navbar:
idle_countdown_timer

Settings toggle:
idle_countdown_timer_settings

@leoheck
Copy link

leoheck commented Apr 19, 2021

Oh, this would be a nice addition.

How hard is it to add a toggle action to stop/release this countdown by clicking on top of this text? Or maybe a click to restart it again to the beginning to give more time if needed?

@HMRudi
Copy link

HMRudi commented Mar 12, 2022

hi, is this already released? I guess not. I would really appreciate it. Thank you

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

Successfully merging this pull request may close these issues.

3 participants