hovancik/stretchly

[Feature request]: Separate idle timers for long- and mini-breaks

Open

#1443 aperta il 20 feb 2024

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)JavaScript (410 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (3892 star)
Metriche merge PR
 (Merge medio 2g 7h) (14 PR mergiate in 30 g)

Descrizione

Version

  • I'm using version 1.15.1

Existing requests

  • I've checked Existing requests

Advanced Preferences

  • I've checked Advanced Preferences

What operating system are you using?

Windows

Operating System Version

Win 10 22H2

Problem description

It would be handy if I could set the inactivity reset timer separately for long- and mini-breaks.

The use case:

I used to use only mini-breaks, but recently started using long breaks as well. I have their lengths set at 1 min of mini-break every half hour and 5 mins of long break every hour.

In the past I've had my naturalBreaksInactivityResetTime set to 1 minute to match the mini-break length, but now that I added long breaks into the mix, this setting caused long breaks to just never trigger because if I walked away from my PC for the mini-break, that reset the long break as well.

I've tried setting naturalBreaksInactivityResetTime to 5 minutes to match the long break instead, but now what happens is that if outside of a break I step away from my PC for, say, 2 minutes, the mini-break timer may trigger just a few minutes after resuming activity again, which is somewhat disrupting to my workflow.

Possible solution

I'd like to be able to set both mini- and long break idle timers to match their break length.

Alternative solutions

Can't really think of anything.

Additional information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Guida contributor