Skip to content

Clear sample project when skipping the first-run tutorial#69

Open
dompm wants to merge 1 commit into
mainfrom
feat/welcome-skip-clears-project
Open

Clear sample project when skipping the first-run tutorial#69
dompm wants to merge 1 commit into
mainfrom
feat/welcome-skip-clears-project

Conversation

@dompm

@dompm dompm commented May 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • When a user dismisses the welcome modal without taking the tour, replace the sample default project with an empty workspace.
  • Skipping mid-tour is unaffected — the in-progress Tutorial project stays intact.

Test plan

  • Fresh install (clear localStorage + OPFS): app opens with the sample project loaded + welcome modal. Click "Skip" → modal closes, workspace is empty (no pattern, no sheets).
  • Re-open the tour from the shortcuts overlay → click "Skip" on the persistent tutorial bar mid-tour → Tutorial project remains intact (not cleared).

🤖 Generated with Claude Code

If the user dismisses the welcome modal without taking the tour,
replace the sample default project with an empty one so they land
on a blank workspace instead of the pre-populated sample.

Skipping mid-tour is unaffected — only the welcome-step skip
triggers the clear.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying vitrai with  Cloudflare Pages  Cloudflare Pages

Latest commit: 340a1da
Status: ✅  Deploy successful!
Preview URL: https://7d5588d8.vitrai.pages.dev
Branch Preview URL: https://feat-welcome-skip-clears-pro.vitrai.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant