mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
WelcomeCarousel and TourLauncher both auto-launched when their gating flags were null, stacking ~90 seconds of forced onboarding on top of a brand-new user before they could touch the dashboard. The tour now auto-launches only ≥ 24 h after the wizard finishes (new pure `shouldAutoLaunchTour` helper); first-day visits belong to the welcome carousel alone. Users who *want* the tour on day one can trigger it from a new "Replay the tour" / "Tour ansehen" button in Settings → About — same persistence + window-event flow as the existing Settings → Account restart button. A per-user `tour-force-launch` sessionStorage marker carries the manual intent across the navigation back to the dashboard so the 24 h gate stays out of the way of an explicit click.