mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Add a slim banner-card on <HeroStrip> that surfaces a fresh weeklyReport between the title block and the action row. Three actions: - Read -> Next.js Link to /insights/report/[week] - Share -> navigator.share() with clipboard fallback + sonner toast - Export PDF -> deep-link to the report URL with ?print=1 so the report page auto-fires window.print() after first paint The banner only renders when the parent passes weeklyReportReady; the insights page derives that prop from advisor.payload.insights. weeklyReport so the banner appears the moment a fresh PROMPT_VERSION 4.20.2 generation lands. EN + DE translations under insights.heroBanner.* (Read / Share / Export PDF + share success/failure toasts). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>