feat(trends): add fasting trend

This commit is contained in:
2026-07-17 15:02:15 -04:00
parent ab2e154ed3
commit 9393ae133c
11 changed files with 422 additions and 0 deletions

View File

@ -601,6 +601,24 @@ The Edit log form should have from top to bottom:
*** Description
** TODO [#B] Add trend for fasting :food:fasting:trends:
:PROPERTIES:
:ID: a290b64d-14ad-49c2-addc-0d149c0c38fc
:END:
*** Description
Could we add a trend for number of fasting days over the time period? This would
look for the gap between the last and next Food scrobble and if it's ever longer
than a specified seconds configuration setting we'd mark it as a fasting day.
There can be "Periodic Fasting" which is defined by default as 16 hours or "Full
Fasting" which is designed as a 24 hour period without fasting.
Fasting checking should also be skipped if it's during a LifeEvent of type
Vacation as vacations should be exempt. This exemption should be a userprofile
setting so folks can turn it on or off, and if it's changed the next trend
rebuild should consider that.
* Version 61.0 [3/3]
** DONE [#B] Try adding a nature app with Observations and Species