Improve ondobarding steps

This commit is contained in:
Urtzi Alfaro
2025-09-02 08:38:49 +02:00
parent 6346c4bcb9
commit b55da883c5
23 changed files with 1469 additions and 4725 deletions

View File

@@ -25,16 +25,12 @@ const AIInsightsPage = React.lazy(() => import('../pages/app/analytics/ai-insigh
const PerformanceAnalyticsPage = React.lazy(() => import('../pages/app/analytics/performance/PerformanceAnalyticsPage'));
// Communications pages
const AlertsPage = React.lazy(() => import('../pages/app/communications/alerts/AlertsPage'));
const NotificationsPage = React.lazy(() => import('../pages/app/communications/notifications/NotificationsPage'));
const PreferencesPage = React.lazy(() => import('../pages/app/communications/preferences/PreferencesPage'));
// Settings pages
const ProfilePage = React.lazy(() => import('../pages/app/settings/profile/ProfilePage'));
const BakeryConfigPage = React.lazy(() => import('../pages/app/settings/bakery-config/BakeryConfigPage'));
const SystemSettingsPage = React.lazy(() => import('../pages/app/settings/system/SystemSettingsPage'));
const TeamPage = React.lazy(() => import('../pages/app/settings/team/TeamPage'));
const TrainingPage = React.lazy(() => import('../pages/app/settings/training/TrainingPage'));
const SubscriptionPage = React.lazy(() => import('../pages/app/settings/subscription/SubscriptionPage'));
// Data pages
@@ -184,26 +180,6 @@ export const AppRouter: React.FC = () => {
/>
{/* Communications Routes */}
<Route
path="/app/communications/alerts"
element={
<ProtectedRoute>
<AppShell>
<AlertsPage />
</AppShell>
</ProtectedRoute>
}
/>
<Route
path="/app/communications/notifications"
element={
<ProtectedRoute>
<AppShell>
<NotificationsPage />
</AppShell>
</ProtectedRoute>
}
/>
<Route
path="/app/communications/preferences"
element={
@@ -214,6 +190,18 @@ export const AppRouter: React.FC = () => {
</ProtectedRoute>
}
/>
{/* Settings Routes */}
<Route
path="/app/settings/preferences"
element={
<ProtectedRoute>
<AppShell>
<PreferencesPage />
</AppShell>
</ProtectedRoute>
}
/>
{/* Settings Routes */}
<Route
@@ -236,16 +224,6 @@ export const AppRouter: React.FC = () => {
</ProtectedRoute>
}
/>
<Route
path="/app/settings/system"
element={
<ProtectedRoute>
<AppShell>
<SystemSettingsPage />
</AppShell>
</ProtectedRoute>
}
/>
<Route
path="/app/settings/team"
element={
@@ -256,16 +234,6 @@ export const AppRouter: React.FC = () => {
</ProtectedRoute>
}
/>
<Route
path="/app/settings/training"
element={
<ProtectedRoute>
<AppShell>
<TrainingPage />
</AppShell>
</ProtectedRoute>
}
/>
<Route
path="/app/settings/subscription"
element={