From e0d8ecddd92047993223a81795245d840fda3e41 Mon Sep 17 00:00:00 2001 From: iamtoruk Date: Sun, 19 Apr 2026 06:45:47 -0700 Subject: [PATCH] fix(compare): show compare-styled loading screen during period switch --- src/dashboard.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/dashboard.tsx b/src/dashboard.tsx index a0dcb32..1849e94 100644 --- a/src/dashboard.tsx +++ b/src/dashboard.tsx @@ -702,9 +702,17 @@ function InteractiveDashboard({ initialProjects, initialPeriod, initialProvider, if (loading) { return ( - - Loading {PERIOD_LABELS[period]}... - + + {view === 'compare' + ? + + Model Comparison + + Loading {PERIOD_LABELS[period]} model data... + + + : Loading {PERIOD_LABELS[period]}...} + {view !== 'compare' && } ) }