hovancik/stretchly

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

Open

#1,443 opened on Feb 20, 2024

View on GitHub
 (1 comment) (1 reaction) (0 assignees)JavaScript (3,892 stars) (410 forks)batch import
enhancementhelp wanted

Description

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

Contributor guide

[Feature request]: Separate idle timers for long- and mini-breaks · hovancik/stretchly#1443 | Good First Issue