tijlleenders / ZinZen-scheduler

The calendar engine for the ZinZen web app.
https://github.com/tijlleenders/ZinZen
GNU Affero General Public License v3.0
10 stars 4 forks source link

Avoid scheduling budget goals for X days if max/week reached in past Y days #466

Open tijlleenders opened 3 months ago

tijlleenders commented 3 months ago

Is your feature request related to a problem? Please describe. It's very annoying when you have an "Exercise 3h/week 0-3h/day" goal, and you get 1-3h scheduled for the upcoming week, possibly today, even though you completed 3h in the past 7 days, or even yesterday...

Describe the solution you'd like When scheduling a Budget, automatically add a notOn for '7 minus number of days you need to go back (excluding today) to reach the max/week' days.

So, if we have the "Exercise 3h/week 0-1h/day" as a test case:
If I need to go back

Describe alternatives you've considered Average of past one or two weeks. This doesn´t work.

Additional context Blocked by #1407