mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
Adds the user-visible surface for the workout rows the iOS client already syncs through `POST /api/workouts/batch`. The page lives at `/insights/workouts`, consumes the v1.4.32 list endpoint through a new `useWorkouts()` hook, and renders each row as a deep-link into the detail page with the sport icon, the date, the duration, and the optional distance + active-energy chips. The insights tab strip gains a `workouts` pill driven by an event-style `hasWorkouts` availability signal — the layout shell probes the list endpoint with `limit=1` so the pill self-gates on zero workouts. Empty state mounts the shared `MetricEmptyState` primitive with a Coach prefill that steers the conversation toward the Apple Health sync onboarding cue. Six locales updated.