Make onboarding tour install-wide instead of per-browser

Persist onboardingCompleted flag server-side via /api/v1/config so the
tour only auto-starts once per DashCaddy installation, not on every
new browser that connects.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-11 21:58:10 -07:00
parent 2d1944fd55
commit 063bf948b1
5 changed files with 56 additions and 8 deletions

View File

@@ -70,7 +70,8 @@
* Check if tour should auto-start
*/
shouldAutoStart() {
return !this.progressTracker.isTourCompleted() &&
return !this.progressTracker.isInstallOnboardingCompleted() &&
!this.progressTracker.isTourCompleted() &&
this.progressTracker.getCurrentStep() === 0;
}