From 6a8e5c3482685c94063ba86f5f762f29f7578f47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 15 May 2026 18:03:40 +0200 Subject: [PATCH] docs(planning): mobile audit report for the insights surface --- .../research/v1427-r3c-mobile-insights.md | 402 ++++++++++++++++++ 1 file changed, 402 insertions(+) create mode 100644 .planning/research/v1427-r3c-mobile-insights.md diff --git a/.planning/research/v1427-r3c-mobile-insights.md b/.planning/research/v1427-r3c-mobile-insights.md new file mode 100644 index 000000000..7a3e804ec --- /dev/null +++ b/.planning/research/v1427-r3c-mobile-insights.md @@ -0,0 +1,402 @@ +--- +file: .planning/research/v1427-r3c-mobile-insights.md +purpose: Mobile capability audit — Insights index and seven routed sub-pages +created: 2026-05-15 +auditor: MA2 +--- + +# Mobile audit — Insights surface + +## Summary + +Reviewed the Insights mother page, the shared layout shell, the seven routed +sub-pages (`blutdruck`, `gewicht`, `puls`, `stimmung`, `medikamente`, `bmi`, +`schlaf`), the weekly-report route, and 12 supporting components (tab strip, +hero strip, daily briefing, health-score card, status card, sub-page shell, +correlation row + card, trends row, sleep overview + stage bar + +duration chart, therapy timeline, VO2 chart row, scatter chart, compliance +heatmap, suggested-prompts, Coach drawer + body, recommendations grid). + +19 findings: 0 Critical, 6 High, 9 Medium, 4 Low. Headline themes: +(1) systematic 28-36 px tap targets across hero, advisor card, Coach drawer +header, and sub-page CTAs sit below the WCAG 2.5.5 44 pt floor that the tab +strip already honours; (2) compliance heatmap is hover-only on touch +devices, no `onTouchStart` / `onPointerEnter` parallel; (3) Coach drawer +mounts a right-edge sheet on every viewport — mobile UX convention is +bottom-sheet for primary entry; (4) several flex rows are missing +`min-w-0` on the truncating child, allowing long medication names or +prompt chips to push siblings off-screen; (5) the scatter card and VO2 +chart row carry fixed pixel heights (180-220 px) that work but should be +called out for the broader chart-fluidity rule. + +## Findings + +### F1 — Hero strip action buttons are h-8 on a 14-px-tap-target row +- Severity: High +- Axis: visual +- File: `src/components/insights/hero-strip.tsx:241-280` +- Symptom: "Weekly report" + "Ask the coach" + the inline weekly-banner + Read/Share/Export trio are all `