IMPORVE ONBOARDING STEPS

This commit is contained in:
Urtzi Alfaro
2025-11-09 09:22:08 +01:00
parent 4678f96f8f
commit cbe19a3cd1
27 changed files with 2801 additions and 1149 deletions

View File

@@ -57,9 +57,8 @@ const ModelsConfigPage = React.lazy(() => import('../pages/app/database/models/M
const QualityTemplatesPage = React.lazy(() => import('../pages/app/database/quality-templates/QualityTemplatesPage'));
const SustainabilityPage = React.lazy(() => import('../pages/app/database/sustainability/SustainabilityPage'));
// Onboarding & Setup pages
// Onboarding page (Setup is now integrated into UnifiedOnboardingWizard)
const OnboardingPage = React.lazy(() => import('../pages/onboarding/OnboardingPage'));
const SetupPage = React.lazy(() => import('../pages/setup/SetupPage'));
export const AppRouter: React.FC = () => {
return (
@@ -389,17 +388,7 @@ export const AppRouter: React.FC = () => {
}
/>
{/* Setup Wizard Route - Protected with AppShell */}
<Route
path="/app/setup"
element={
<ProtectedRoute>
<AppShell>
<SetupPage />
</AppShell>
</ProtectedRoute>
}
/>
{/* Setup is now integrated into UnifiedOnboardingWizard */}
{/* Default redirects */}
<Route path="/app/*" element={<Navigate to="/app/dashboard" replace />} />