Skip to content

Commit 200ff99

Browse files
committed
feat: Add CodeInsight AI with Deep Teaching Flow
1 parent d16d9d9 commit 200ff99

8 files changed

Lines changed: 531 additions & 1 deletion

File tree

frontend/package-lock.json

Lines changed: 72 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"vite": "^7.3.1"
1616
},
1717
"dependencies": {
18+
"@monaco-editor/react": "^4.7.0",
1819
"@vitejs/plugin-react": "^5.1.4",
1920
"axios": "^1.13.6",
2021
"chart.js": "^4.5.1",

frontend/src/App.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import AnalyticsPage from './pages/AnalyticsPage';
2828
import AiChatPage from './pages/AiChatPage';
2929
import AiMindSweepPage from './pages/AiMindSweepPage';
3030
import AiArsenalPage from './pages/AiArsenalPage';
31+
import CodeInsightPage from './pages/CodeInsightPage';
3132

3233
const Layout = ({ children }) => {
3334
const { pathname } = useLocation();
@@ -80,6 +81,7 @@ const AppRoutes = () => {
8081
<Route path="/ai-chat" element={<P><AiChatPage /></P>} />
8182
<Route path="/mind-sweep" element={<P><AiMindSweepPage /></P>} />
8283
<Route path="/arsenal" element={<P><AiArsenalPage /></P>} />
84+
<Route path="/codeinsight" element={<P><CodeInsightPage /></P>} />
8385

8486
<Route path="*" element={<Navigate to="/" replace />} />
8587
</Routes>

frontend/src/components/Sidebar.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import API from '../services/api';
55
import {
66
BookOpen, LayoutDashboard, Users, ClipboardList, CheckSquare,
77
Award, Timer, GraduationCap, Calendar, BookMarked, Code2,
8-
StickyNote, Target, Bell, LogOut, ChevronLeft, ChevronRight, Sparkles, Activity, Zap, TrendingUp, Wand2, Brain
8+
StickyNote, Target, Bell, LogOut, ChevronLeft, ChevronRight, Sparkles, Activity, Zap, TrendingUp, Wand2, Brain, Cpu
99
} from 'lucide-react';
1010

1111
const mainLinks = [
@@ -28,6 +28,7 @@ const performanceLinks = [
2828
];
2929

3030
const productivityLinks = [
31+
{ to: '/codeinsight', icon: <Cpu size={18} />, label: 'CodeInsight AI' },
3132
{ to: '/arsenal', icon: <Brain size={18} />, label: 'AI Arsenal' },
3233
{ to: '/mind-sweep', icon: <Wand2 size={18} />, label: 'AI Mind Sweep' },
3334
{ to: '/pomodoro', icon: <Timer size={18} />, label: 'Pomodoro' },

0 commit comments

Comments
 (0)