Skip to content

v0.6.2 — Trends & History polish

Choose a tag to compare

@liviro liviro released this 01 May 19:06
· 66 commits to main since this release

Refinements to the History/Trends views, plus a couple of stubborn iOS fixes.

New

  • Intra-sleep feeding metric. New scatter chart in Trends plotting intra-sleep feed time (Y) vs. other feeds in cycle (X). The existing "Total feed time" trend now reads the strict intra-sleep figure too, so the bedtime-routine constant no longer drowns out the variation that actually matters.
  • Feed-by-side covers the full 24h cycle. Previously night-only; now sums day + night feeds per breast since milk-supply balance is a whole-cycle concern. Renamed "Night feed by side" → "Feed by side".

Improved

  • History card layout. Night now renders above Day (matching "newer is upper"). Each section shows its own start time, and Detail headers show per-section duration instead of a single ambiguous card-level timestamp.
  • Cross-midnight trend timeline. When an in-progress night spans midnight, post-midnight events now appear in a synthesized row for the new date instead of vanishing until the next day session opens.
  • Trend charts use gaps for missing data. Cycles with no data for a metric render as a gap (line breaks across, value excluded from min/max) instead of a misleading 0.
  • Chart axis labels. Hour labels read "7 PM, 1 AM" instead of "19, 1"; date labels respect locale order ("30/4" en-GB, "30.4." de-DE).
  • Cycle timelines collapse to 10 rows by default, with a tap-to-expand toggle — replaces the awkward nested-scroll on iOS.

Fixed

  • iOS time picker no longer overflows the screen. Safari's intrinsic min-width on datetime-local was pushing the Set-time button off-screen; fixed with min-width: 0 on the flex item.
  • Intra-sleep feed counting is now symmetric. A feed only counts as intra-sleep if independent sleep occurs on both sides of it, fixing miscounts of morning wake-feeds and on-me-only post-feed sleeps.
  • Stacked timeline row alignment. Date labels of varying width ("Apr 30" vs "May 1") no longer shift each row's bar — labels now reserve a fixed-width gutter so bar left edges line up across the full stack.