How kaviin2008/nexusai works
NexusAI is a Next.js interface for an AI-workspace product, centered on a chat workspace with conversation history and contextual memory/knowledge panels. It also exposes a model-and-usage analytics dashboard and a sign-in/sign-up screen. The sampled authentication flow uses demo credentials and explicitly marks backend calls as integration points; the excerpts show no live chat, persistence, or analytics service wiring. Edges below follow visible page composition and imports, so they describe UI composition rather than unverified backend behavior.
Main entry points: AppIcon.tsx Icon Component · AnalyticsDashboardContent.tsx Dashboard Content · page.tsx Chat Page · AppLayout.tsx App Layout
Components 22
Chat Workspace
- Chat Page
src/app/page.tsx - Conversation Sidebar
src/app/components/ConversationSidebar.tsx - Chat Thread
src/app/components/ChatThread.tsx - Context Panel
src/app/components/ContextPanel.tsx - Model Selector
src/app/components/ModelSelector.tsx
Analytics
- Analytics Page
src/app/analytics-dashboard/page.tsx - Dashboard Content
src/app/analytics-dashboard/components/AnalyticsDashboardContent.tsx - Activity Feed
src/app/analytics-dashboard/components/ActivityFeed.tsx - Latency Chart
src/app/analytics-dashboard/components/LatencyChart.tsx - Model Cost Chart
src/app/analytics-dashboard/components/ModelCostChart.tsx - Model Health Table
src/app/analytics-dashboard/components/ModelHealthTable.tsx - Token Usage Chart
src/app/analytics-dashboard/components/TokenUsageChart.tsx - Top Conversations
src/app/analytics-dashboard/components/TopConversationsTable.tsx
Account Access
- Authentication Page
src/app/sign-up-login-screen/page.tsx - Sign-in / Sign-up
src/app/sign-up-login-screen/components/AuthScreen.tsx
Application Shell
- App Layout
src/components/AppLayout.tsx - Navigation Sidebar
src/components/Sidebar.tsx - Top Bar
src/components/Topbar.tsx
Shared UI
- Icon Component
src/components/ui/AppIcon.tsx - Image Component
src/components/ui/AppImage.tsx - Logo Component
src/components/ui/AppLogo.tsx
Other components
- Workspace User
Connections 29
- Chat Page → App Layout: wraps in
src/app/page.tsx - Chat Page → Conversation Sidebar: renders
src/app/page.tsx - Chat Page → Chat Thread: renders
src/app/page.tsx - Chat Page → Context Panel: renders
src/app/page.tsx - Analytics Page → App Layout: wraps in
src/app/analytics-dashboard/page.tsx - Analytics Page → Dashboard Content: renders
src/app/analytics-dashboard/page.tsx - Dashboard Content → Activity Feed: renders
src/app/analytics-dashboard/components/AnalyticsDashboardContent.tsx - Dashboard Content → Latency Chart: renders
src/app/analytics-dashboard/components/AnalyticsDashboardContent.tsx - Dashboard Content → Model Cost Chart: renders
src/app/analytics-dashboard/components/AnalyticsDashboardContent.tsx - Dashboard Content → Model Health Table: renders
src/app/analytics-dashboard/components/AnalyticsDashboardContent.tsx - Dashboard Content → Token Usage Chart: renders
src/app/analytics-dashboard/components/AnalyticsDashboardContent.tsx - Dashboard Content → Top Conversations: renders
src/app/analytics-dashboard/components/AnalyticsDashboardContent.tsx - Authentication Page → Sign-in / Sign-up: renders
src/app/sign-up-login-screen/page.tsx - App Layout → Navigation Sidebar: renders
src/components/AppLayout.tsx - App Layout → Top Bar: renders
src/components/AppLayout.tsx - Navigation Sidebar → Logo Component: renders
src/components/Sidebar.tsx - Navigation Sidebar → Icon Component: uses icons
src/components/Sidebar.tsx - Top Bar → Icon Component: uses icons
src/components/Topbar.tsx - Logo Component → Icon Component: renders
src/components/ui/AppLogo.tsx - Logo Component → Image Component: renders
src/components/ui/AppLogo.tsx - Conversation Sidebar → Icon Component: uses icons
src/app/components/ConversationSidebar.tsx - Chat Thread → Icon Component: uses icons
src/app/components/ChatThread.tsx - Context Panel → Icon Component: uses icons
src/app/components/ContextPanel.tsx - Dashboard Content → Icon Component: uses icons
src/app/analytics-dashboard/components/AnalyticsDashboardContent.tsx - Activity Feed → Icon Component: uses icons
src/app/analytics-dashboard/components/ActivityFeed.tsx - Model Health Table → Icon Component: uses icons
src/app/analytics-dashboard/components/ModelHealthTable.tsx - Top Conversations → Icon Component: uses icons
src/app/analytics-dashboard/components/TopConversationsTable.tsx - Sign-in / Sign-up → Logo Component: renders
src/app/sign-up-login-screen/components/AuthScreen.tsx - Sign-in / Sign-up → Icon Component: uses icons
src/app/sign-up-login-screen/components/AuthScreen.tsx