Skip to content

feat: Openclaw migration dialog (first-launch onboarding)#21

Open
qiongyu1999 wants to merge 1 commit intomainfrom
feat/openclaw-migration-dialog
Open

feat: Openclaw migration dialog (first-launch onboarding)#21
qiongyu1999 wants to merge 1 commit intomainfrom
feat/openclaw-migration-dialog

Conversation

@qiongyu1999
Copy link
Copy Markdown
Contributor

Summary

  • Adds StepOpenclawMigration.tsx — a first-launch popup that detects existing Openclaw config (~/.openclaw/memory/ and ~/.openclaw/skills/) and offers one-click migration to Nexu
  • Wires the new step into JourneyPage.tsx as step 2 (between Landing and Onboarding)
  • Four-phase flow: Scan → Select → Migrating → Done, with animated progress and per-item toggle

What the popup does

  1. Scan phase — animated progress bar while "detecting" local Openclaw files
  2. Select phase — checklist of discovered memory files and skill packages; user can deselect any item
  3. Migrating phase — item-by-item migration animation
  4. Done phase — confirmation with destination paths (~/.nexu/memory/, ~/.nexu/skills/) and a "Start using Nexu" CTA

Original Openclaw files are explicitly noted as untouched.

Test plan

  • Open /journey and navigate to step 2 ("迁移 Openclaw")
  • Verify scan animation auto-advances to select screen
  • Toggle items on/off; confirm button count updates
  • Click "一键迁移" — verify item-by-item animation then done screen
  • Click "跳过,手动配置" — dialog closes
  • Click ✕ — dialog closes, "重新演示" button appears
  • Build passes: pnpm --filter demo build

🤖 Generated with Claude Code

Shows a popup on first install that detects existing Openclaw config
(memory files + skill packages) and lets the user one-click migrate them
to Nexu. Wired as a new step in the Journey demo between Landing and
Onboarding.

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying nexu-design with  Cloudflare Pages  Cloudflare Pages

Latest commit: 656945b
Status: ✅  Deploy successful!
Preview URL: https://81493c0e.nexu-design.pages.dev
Branch Preview URL: https://feat-openclaw-migration-dial.nexu-design.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