From 649bfb3ea8b3a787fc24f0eef7f0254f2db6aad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 20 Jun 2026 16:51:18 +0200 Subject: [PATCH] fix(dashboard): refresh briefing and layout on the Startseite without reload The dashboard hero reads the briefing headline and the layout from the server snapshot. Regenerating a briefing or saving the dashboard layout only touched their own caches, so the snapshot kept stale data until its own window lapsed and the Startseite looked unchanged until a manual reload. Invalidate the dashboard snapshot on briefing regenerate and on layout save/reset. Harmonise the daily-briefing card body rhythm with its sibling insights cards (space-y-3, matching correlation-card) so it no longer reads taller. --- src/components/insights/daily-briefing.tsx | 9 +++++++-- src/components/insights/use-insights-advisor.ts | 9 +++++++++ .../settings/dashboard-layout-section.tsx | 14 ++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/src/components/insights/daily-briefing.tsx b/src/components/insights/daily-briefing.tsx index 9c3442bce..99353d1c1 100644 --- a/src/components/insights/daily-briefing.tsx +++ b/src/components/insights/daily-briefing.tsx @@ -302,7 +302,7 @@ function BriefingSkeleton() { return (