Richard Osborne
|
d9acb41d2f
|
feat(launcher): add ProjectCreationWizard multi-step flow
Replaces CreateProjectModal with a guided wizard supporting:
- Quick Start (name + location, direct creation)
- Guided Setup (basics → style preset → review → create)
- AI Builder stub (V2, same flow as Guided for now)
Files added:
- WizardContext.tsx — state machine with step sequencing + canProceed validation
- EntryModeStep — card-based mode selector
- ProjectBasicsStep — name/description/location picker
- StylePresetStep — preset card grid
- ReviewStep — summary before creation
- ProjectCreationWizard.tsx — drop-in replacement for CreateProjectModal
- SCSS + index.ts barrel
Integration:
- ProjectsPage.tsx imports ProjectCreationWizard (API-identical swap)
Tests:
- tests/models/ProjectCreationWizard.test.ts — 17 pure logic tests
(infra note: npm run test:editor required, not npx jest directly)
Pre-existing broken tests in tests/components/ and tests/git/ are
unrelated and not modified.
|
2026-02-18 16:45:12 +01:00 |
|