mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
fix(insights): dedupe coach disclaimer and add wellness-strip error affordance
Suppress the generic Insights disclaimer footer on the Coach route, which already renders its own composer disclaimer — the layout shell now skips the footer when the selected segment is the coach page and keeps it everywhere else. Thread the shared derived-batch error state and refetch into the wellness strip so a failed batch surfaces a compact error + Retry in place (the strip is top-of-page) instead of vanishing silently; the one Retry recovers both the wellness and vitals strips. Adds a scores load-error string across all locales. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
aac70ec765
commit
22ba4193b2
9 files changed
+82
-9
No files matched your search
@@ -326,6 +326,8 @@ export default function InsightsPage() {
|
||||
<WellnessScores
|
||||
read={dashboardDerived.read}
|
||||
isLoading={dashboardDerived.isLoading}
|
||||
isError={dashboardDerived.isError}
|
||||
refetch={dashboardDerived.refetch}
|
||||
/>
|
||||
|
||||
{flags.briefing && (
|
||||
|
||||
Reference in new issue
Block a user