mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 07:42:23 +00:00
chore(release): v1.28.53 — a Today overview at the top of the dashboard
Bundles the daily-digest spine (a single server-built digest read from the overnight insight cache, never a fresh generation) and the Today hero that surfaces it: the health score with an honest provisional/finalised face, the day's lead read, and a short worth-a-look rail of one-tap items. The tiles and charts stay below, unchanged. The Today hero takes the promoted slot when Insights is on, so it never stacks with the legacy opt-in hero. This is the shared foundation the later daily surfaces (morning refresh, an optional daily note) build on — one digest, one card model, one design language.
This commit is contained in:
1 parent
168c1c85d7
commit
25d720e6e7
5 files changed
+21
-4
No files matched your search
@@ -799,7 +799,12 @@ export default function DashboardPageClient() {
|
||||
<TodayHero digest={digestQuery.data} />
|
||||
) : null)}
|
||||
|
||||
{/* The digest-driven TodayHero owns the promoted hero slot whenever
|
||||
Insights is on (Marc sign-off, decision 1). The legacy opt-in
|
||||
DashboardHero only shows for an Insights-disabled account, so the two
|
||||
heroes never stack. */}
|
||||
{heroVisible &&
|
||||
!insightsEnabled &&
|
||||
(primaryLoading || !heroSnapshot ? (
|
||||
<DashboardHeroSkeleton />
|
||||
) : (
|
||||
|
||||
Reference in new issue
Block a user