feat(dashboard): route performance and operations
This commit is contained in:
1 parent
5917b63755
commit
e003b0d8b2
1 file changed
+4
-2
@@ -4,6 +4,8 @@ import { OverviewPage } from '../features/overview/overview-page.js';
|
||||
import { PlaceholderPage } from '../features/placeholder-page.js';
|
||||
import { ConversationRoute } from '../features/conversations/conversation-route.js';
|
||||
import { MediaPage } from '../features/media/media-page.js';
|
||||
import { OperationsPage } from '../features/operations/operations-page.js';
|
||||
import { PerformancePage } from '../features/performance/performance-page.js';
|
||||
|
||||
export function createDashboardRoutes(): RouteObject[] {
|
||||
return [
|
||||
@@ -15,8 +17,8 @@ export function createDashboardRoutes(): RouteObject[] {
|
||||
{ path: 'conversations', element: <ConversationRoute /> },
|
||||
{ path: 'conversations/:conversationId', element: <ConversationRoute /> },
|
||||
{ path: 'media', element: <MediaPage /> },
|
||||
{ path: 'performance', element: <PlaceholderPage title="Performance" description="Understand response and strategy performance." /> },
|
||||
{ path: 'operations', element: <PlaceholderPage title="Operations" description="Inspect jobs, events, logs, and diagnostics." /> },
|
||||
{ path: 'performance', element: <PerformancePage /> },
|
||||
{ path: 'operations', element: <OperationsPage /> },
|
||||
{ path: 'settings', element: <PlaceholderPage title="Settings" description="Manage runtime behavior and Reddit access." /> },
|
||||
],
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user