mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-14 22:50:51 +00:00
chore: remove leftovers of the deleted onboarding AI offer and badge
The end-to-end setup still seeded the shared-provider offer's account and captured its session, although the journey that used it is gone. Three comments still pointed at what was removed: the tour launcher cited the deleted personal-record badge as its model, the personal record worker said the badge still renders, and the morning briefing push said a concerning reading goes out as an anomaly notification, which nothing sends.
This commit is contained in:
1 parent
aacf06b7b3
commit
ce377ef56d
4 files changed
+6
-28
No files matched your search
@@ -244,8 +244,7 @@ export function TourLauncher({ ready = true }: TourLauncherProps) {
|
||||
// v1.4.47 — clock reading for the 24 h auto-launch gate. The
|
||||
// useState lazy-initialiser runs once at mount; subsequent re-renders
|
||||
// reuse the same value. This keeps the render path pure (React's
|
||||
// purity linter rejects a bare `Date.now()` reference in render) and
|
||||
// matches the established pattern in `personal-record-badge.tsx`:
|
||||
// purity linter rejects a bare `Date.now()` reference in render):
|
||||
// capture the clock at a stable boundary, then derive freshness from
|
||||
// it. The launcher only consults this value once per (user, flag)
|
||||
// tuple via the `decidedFor` guard, so a mount that takes ten
|
||||
|
||||
Reference in new issue
Block a user