Marc-André Bombeck
9aa60fb2ff
fix(illness): keep chronic conditions out of rest mode
...
A chronic ongoing condition has no end date, so counting it as rest mode
kept the account in it for good: Day N counted from an onset years back,
cadence nudges never resumed and every streak gap since the onset was
bridged. Only active episodes that are not CHRONIC_ONGOING (acute,
recurring, flare) now trigger rest mode, and Day N counts from the
earliest of those. The achievements streak freeze applies the same
filter to its own episode query.
Chronic conditions stay context: a coincident vital deviation is still
framed as explained by any active episode, and the Coach block and the
briefing still name them, with restMode false.
Refs #1216
2026-10-14 18:57:01 +02:00
..
2026-10-08 08:32:15 +02:00
2026-10-09 13:37:14 +02:00
2026-10-06 19:44:52 +02:00
2026-09-26 16:23:14 +02:00
2026-09-26 16:56:02 +02:00
2026-09-26 16:56:02 +02:00
2026-06-28 03:20:49 +02:00
2026-06-29 15:08:04 +02:00
2026-10-05 21:57:49 +02:00
2026-09-11 12:37:54 +02:00
2026-09-26 16:23:14 +02:00
2026-07-19 13:31:29 +02:00
2026-06-10 22:41:28 +02:00
2026-10-04 20:00:07 +02:00
2026-09-09 19:42:26 +02:00
2026-09-27 13:03:27 +02:00
2026-10-04 11:37:57 +02:00
2026-08-14 05:19:05 +02:00
2026-09-24 10:17:00 +02:00
2026-10-06 19:44:52 +02:00
2026-09-24 10:17:00 +02:00
2026-10-05 21:57:49 +02:00
2026-10-06 19:44:52 +02:00
2026-10-08 09:06:09 +02:00
2026-10-06 19:46:44 +02:00
2026-09-24 12:15:56 +02:00
2026-09-24 10:17:00 +02:00
2026-09-24 10:17:00 +02:00
2026-10-04 11:33:42 +02:00
2026-10-08 10:02:39 +02:00
2026-10-08 08:32:15 +02:00
2026-09-03 02:02:30 +02:00
2026-10-08 08:32:15 +02:00
2026-07-31 08:52:23 +02:00
2026-10-08 08:32:15 +02:00
2026-06-19 22:20:31 +02:00
2026-10-08 08:32:15 +02:00
2026-07-16 09:55:35 +02:00
2026-05-17 13:22:51 +02:00
2026-07-18 06:47:32 +02:00
2026-10-01 13:23:17 +02:00
2026-10-04 11:33:45 +02:00
2026-10-04 11:33:45 +02:00
2026-10-01 13:23:17 +02:00
2026-09-26 16:23:14 +02:00
2026-09-26 16:23:14 +02:00
2026-10-05 21:22:57 +02:00
2026-10-14 18:57:01 +02:00
2026-10-08 08:41:25 +02:00
2026-08-07 21:40:41 +02:00
2026-09-24 10:17:00 +02:00
2026-06-01 20:26:26 +02:00
2026-08-22 16:14:54 +02:00
2026-09-24 10:17:00 +02:00
2026-09-24 09:06:22 +02:00
2026-08-14 05:19:05 +02:00
2026-10-03 21:14:08 +02:00
2026-10-08 09:40:12 +02:00
2026-10-09 16:25:48 +02:00
2026-06-19 22:20:31 +02:00
2026-10-09 13:37:14 +02:00
2026-10-08 10:32:11 +02:00
2026-08-08 07:40:07 +02:00
2026-08-08 01:34:59 +02:00
2026-09-03 02:07:29 +02:00
2026-06-19 22:20:31 +02:00
2026-08-08 01:43:32 +02:00
2026-10-04 11:33:45 +02:00
2026-09-24 10:17:00 +02:00
2026-07-19 13:25:32 +02:00
2026-09-26 16:56:02 +02:00
2026-08-01 20:04:10 +02:00
2026-09-03 02:08:09 +02:00
2026-10-04 11:33:45 +02:00
2026-09-24 10:17:00 +02:00
2026-10-04 11:33:45 +02:00
2026-09-09 22:39:39 +02:00
2026-07-19 04:47:53 +02:00
2026-10-09 16:45:39 +02:00
2026-09-09 22:39:39 +02:00
2026-10-08 08:32:15 +02:00
2026-10-05 21:22:57 +02:00
2026-10-06 20:53:39 +02:00
2026-10-05 21:22:57 +02:00
2026-06-11 23:20:38 +02:00
2026-09-24 09:06:22 +02:00
2026-09-24 10:17:00 +02:00
2026-09-24 10:17:00 +02:00
2026-09-24 09:06:22 +02:00
2026-09-24 12:15:56 +02:00
2026-07-24 07:45:02 +02:00
2026-08-26 20:00:44 +09:00
2026-09-09 22:39:39 +02:00
2026-06-26 23:57:37 +02:00
2026-09-09 22:39:39 +02:00
2026-06-07 20:49:07 +02:00
2026-10-02 21:21:38 +02:00
2026-10-03 21:14:08 +02:00
2026-06-04 17:47:17 +02:00
2026-06-26 12:29:29 +02:00
2026-09-24 09:50:12 +02:00
2026-10-01 09:08:11 +02:00
2026-10-01 13:23:17 +02:00
2026-06-03 08:56:20 +02:00
2026-10-01 13:23:17 +02:00