Replace old onboarding with UnifiedOnboardingWizard

- Updated OnboardingPage to use UnifiedOnboardingWizard instead of old OnboardingWizard
- Added UnifiedOnboardingWizard export to onboarding index
- New onboarding now fully functional after registration

The new unified onboarding provides a comprehensive setup flow:
✓ Bakery type selection (production/retail/mixed)
✓ Data source choice (AI-assisted vs manual)
✓ Tenant registration
✓ AI-assisted path with categorization and stock entry
✓ Manual path with all setup steps
✓ Suppliers, inventory, recipes, processes setup
✓ Quality and team configuration
✓ ML training
✓ Completion and tour launch

This replaces the old 4-step onboarding with a complete, contextual flow that adapts based on user choices.
This commit is contained in:
Claude
2025-11-06 13:24:07 +00:00
parent 63d100f1b3
commit fb07107baa
2 changed files with 5 additions and 4 deletions

View File

@@ -1 +1,2 @@
export { OnboardingWizard } from './OnboardingWizard'; export { OnboardingWizard } from './OnboardingWizard';
export { UnifiedOnboardingWizard } from './UnifiedOnboardingWizard';

View File

@@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import { OnboardingWizard } from '../../components/domain/onboarding'; import { UnifiedOnboardingWizard } from '../../components/domain/onboarding';
import { PublicLayout } from '../../components/layout'; import { PublicLayout } from '../../components/layout';
const OnboardingPage: React.FC = () => { const OnboardingPage: React.FC = () => {
@@ -16,7 +16,7 @@ const OnboardingPage: React.FC = () => {
> >
<div className="min-h-screen bg-[var(--bg-primary)] py-8"> <div className="min-h-screen bg-[var(--bg-primary)] py-8">
<div className="container mx-auto px-4"> <div className="container mx-auto px-4">
<OnboardingWizard /> <UnifiedOnboardingWizard />
</div> </div>
</div> </div>
</PublicLayout> </PublicLayout>