Make the Sleep trend chart follow the selected day
The curves were always computed relative to today regardless of the day picker. Anchor them to selectedDay() instead: a past day shows its full 24h curve against the day before it and the average of the days leading up to it, with no now-cap and no projection. Legend and tooltip labels show the actual dates when viewing a past day.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
[
|
||||
{ "date": "2026-07-17", "text": "The Sleep trend chart follows the selected day — pick a past day to see its full curve against the day before and the average leading up to it" },
|
||||
{ "date": "2026-07-15", "text": "The Sleep trend y-axis is stretched above 10h, giving the hours around the sleep goal most of the chart" },
|
||||
{ "date": "2026-07-15", "text": "The Sleep trend chart shows the sleep goal for your puppy's age as a shaded band — the projection chip gets a ✓ when today is on track" },
|
||||
{ "date": "2026-07-15", "text": "Logging a training session while viewing another day puts it on that day (the snackbar tells you where it went)" },
|
||||
|
||||
Reference in New Issue
Block a user