[Feature request]: Delay Skip button independently of Postpone
Version
- I'm using version 1.22.0
Existing requests
- I've checked Existing requests
Related but not equivalent: #1363, #1492, #1629.
Advanced Preferences
- I've checked Advanced Preferences
What operating system are you using?
Windows
Operating System Version
Windows 11 Enterprise
Problem description
I want Mini breaks to remain strict for their full 30-second duration. For Long breaks, I want the Skip button hidden for the first 30 seconds and available afterward, without offering Postpone.
The current settings cannot express this independently:
breakStrictMode: trueprevents skipping for the entire Long break.breakStrictMode: falsewithbreakPostpone: falsemakes Skip available immediately.breakPostpone: trueplusbreakPostponableDurationPercent: 5delays Skip for 30 seconds of a 10-minute break, but also exposes Postpone during that period.
In the current implementation, canSkip(strictMode, postpone, passedPercent, postponePercent) couples delayed Skip availability to whether postponement is enabled.
Possible solution
Add an independent advanced preference such as breakSkipDelay (milliseconds), defaulting to 0 for backward compatibility. Hide or disable Skip until that duration has elapsed, without changing Postpone behavior.
The same setting could optionally exist for Mini breaks (microbreakSkipDelay) if symmetry is desirable, but the Long-break setting alone covers this use case.
Source: hovancik/stretchly