feat(ui): logs page, mein konto, remove settings/api-docs from topbar, accent hamburger, api docs in help
This commit is contained in:
@@ -83,6 +83,10 @@ const AgentsPlaceholderPage = React.lazy(() => import('@/pages/agents/AgentsPlac
|
||||
const AutomationPage = React.lazy(() => import('@/pages/Automation').then(m => ({ default: m.AutomationPage })));
|
||||
const AutomationOverviewPage = React.lazy(() => import('@/pages/automation/AutomationOverview').then(m => ({ default: m.AutomationOverviewPage })));
|
||||
const AutomationPlaceholderPage = React.lazy(() => import('@/pages/automation/AutomationPlaceholder').then(m => ({ default: m.AutomationPlaceholderPage })));
|
||||
const LogsPage = React.lazy(() => import('@/pages/Logs').then(m => ({ default: m.LogsPage })));
|
||||
const LogsOverviewPage = React.lazy(() => import('@/pages/logs/LogsOverview').then(m => ({ default: m.LogsOverviewPage })));
|
||||
const LogsPlaceholderPage = React.lazy(() => import('@/pages/logs/LogsPlaceholder').then(m => ({ default: m.LogsPlaceholderPage })));
|
||||
const HelpApiDocsPage = React.lazy(() => import('@/pages/help/HelpApiDocs').then(m => ({ default: m.HelpApiDocsPage })));
|
||||
const ApiDocsPage = React.lazy(() => import('@/pages/ApiDocs').then(m => ({ default: m.ApiDocsPage })));
|
||||
|
||||
/** Centered spinner fallback for lazy-loaded routes */
|
||||
@@ -161,6 +165,7 @@ const router = createBrowserRouter([
|
||||
{ path: 'navigation', element: withSuspense(<HelpNavigationPage />) },
|
||||
{ path: 'contacts', element: withSuspense(<HelpContactsPage />) },
|
||||
{ path: 'mail-setup', element: withSuspense(<HelpMailSetupPage />) },
|
||||
{ path: 'api-docs', element: withSuspense(<HelpApiDocsPage />) },
|
||||
{ path: '*', element: withSuspense(<HelpPlaceholderPage />) },
|
||||
],
|
||||
},
|
||||
@@ -190,6 +195,14 @@ const router = createBrowserRouter([
|
||||
{ path: '*', element: withSuspense(<AutomationPlaceholderPage />) },
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/logs',
|
||||
element: withSuspense(<LogsPage />),
|
||||
children: [
|
||||
{ path: 'overview', element: withSuspense(<LogsOverviewPage />) },
|
||||
{ path: '*', element: withSuspense(<LogsPlaceholderPage />) },
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/settings',
|
||||
element: <PermissionRoute permission="settings:read">{withSuspense(<SettingsPage />)}</PermissionRoute>,
|
||||
|
||||
Reference in New Issue
Block a user