File size: 10,110 Bytes
652df1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# Frontend Dashboard to Backend API Mapping

This document maps every frontend dashboard component to the backend API endpoints it needs.

---

## Admin Dashboard (8 Active Sidebar Tabs)

> **Note**: 18+ component files exist in the Admin dashboard folder but are NOT active in the sidebar. Per project convention, non-sidebar components are considered deleted and not counted.

| Component | Tab | Required Backend Module | Key API Endpoints |
|-----------|-----|------------------------|-------------------|
| DashboardOverview | `dashboard` | Analytics | `GET /api/analytics/dashboard` |
| StudentManagementPage | `students` | User Management + Enrollments | `GET /api/users?role=student`, `POST /api/enrollments` |
| CourseManagementPage | `courses` | Courses (existing) | `GET/POST/PUT/DELETE /api/courses` |
| EnrollmentPeriodPage | `periods` | Enrollments (existing) | `GET/POST/PUT/DELETE /api/enrollment-periods` |
| AcademicCalendarPage | `calendar` | Schedule | `GET /api/calendar/events` |
| CommunicationPage | `communication` | Messaging | `GET/POST /api/messages` |
| MessagingChat | `chat` | Messaging | `GET/POST /api/messages/conversations` |
| DashboardProfileTab | `profile` | User Management | `GET/PUT /api/users/profile` |

---

## Instructor Dashboard (13 Active Sidebar Tabs)

> **Note**: Several components were removed from the sidebar (AnalyticsPage I10, AIToolsPage I10, LabsPage I11, SettingsPage I16, GlobalSearchPage I16, WaitlistTable I16, Materials tab I14, CommunicationPage). Non-sidebar components are considered deleted.

| Component | Tab | Required Backend Module | Key API Endpoints |
|-----------|-----|------------------------|-------------------|
| ModernDashboard | `dashboard` | Analytics | `GET /api/analytics/instructor-dashboard` |
| CoursesPage β†’ CourseDetail | `courses` | Courses (existing) + Assignments + Materials | `GET /api/courses/:id`, `/api/assignments`, `/api/materials` |
| QuizzesPage | `quizzes` | Quizzes | `GET/POST/PUT/DELETE /api/quizzes` |
| AssignmentsList + AssignmentModal | `assignments` | Assignments | `GET/POST/PUT/DELETE /api/assignments` |
| SchedulePage | `schedule` | Schedule | `GET/POST/PUT/DELETE /api/schedule/events` |
| RosterTable | `roster` | Enrollments (existing) | `GET /api/enrollments?sectionId=X` |
| GradesTable + GradeModal | `grades` | Grades | `GET/PUT /api/grades` |
| AttendanceTable + AttendanceModal | `attendance` | Attendance | `GET/POST/PUT /api/attendance/sessions`, `/api/attendance/records` |
| AnnouncementsManager | `announcements` | Announcements | `GET/POST/PUT/DELETE /api/announcements` |
| NotificationsPage | `notifications` | Notifications | `GET /api/notifications`, `PATCH /api/notifications/:id/read` |
| DiscussionPage | `discussion` | Discussions | `GET /api/discussions`, `POST /api/discussions/:id/reply` |
| MessagingChat | `chat` | Messaging | `GET/POST /api/messages/conversations` |
| ProfilePage | `profile` | User Management | `GET/PUT /api/users/profile` |

---

## Student Dashboard (28 Components)

| Component | Required Backend Module | Key API Endpoints |
|-----------|------------------------|-------------------|
| ClassTab | Courses + Enrollments (existing) | `GET /api/courses/enrolled` |
| Assignments | Assignments | `GET /api/assignments` |
| AssignmentDetails | Assignments | `GET /api/assignments/:id`, `POST /api/assignments/:id/submit` |
| GradesTranscript | Grades | `GET /api/grades/transcript/:studentId` |
| GradeAnalysis | Analytics | `GET /api/analytics/student-dashboard/:studentId` |
| GpaChart | Grades | `GET /api/grades/gpa/:studentId` |
| AttendanceOverview | Attendance | `GET /api/attendance/student/:studentId` |
| CourseRegistration | Enrollments (existing) | `GET /api/courses/available`, `POST /api/enrollments` |
| QuizTaking | Quizzes | `GET /api/quizzes`, `POST /api/quizzes/:id/attempt`, `/submit` |
| ClassSchedule | Schedule | `GET /api/schedule/weekly` |
| DailySchedule | Schedule | `GET /api/schedule/daily` |
| WeeklySchedule | Schedule | `GET /api/schedule/weekly` |
| AcademicCalendar | Schedule | `GET /api/calendar/events` |
| MessagingChat | Messaging | `GET /api/messages/conversations`, `POST /api/messages` |
| NotificationCenter | Notifications | `GET /api/notifications`, `PATCH /api/notifications/:id/read` |
| PaymentHistory | Payments | `GET /api/payments/my` |
| Gamification | Gamification | `GET /api/gamification/profile`, `/leaderboard`, `/badges` |
| AIFeatures | AI | `POST /api/ai/summarize`, `/api/ai/flashcards` |
| AINotes | AI | `POST /api/ai/notes/generate`, `GET /api/ai/flashcards` |
| SettingsPreferences | User Management | `GET/PUT /api/users/preferences` |
| CourseCommunity | Community + Discussions | `GET /api/community/posts`, `GET /api/discussions` |
| LabInstructions | Labs | `GET /api/labs/:id`, `POST /api/labs/:id/submit` |
| SmartTodoReminder | Tasks & Reminders | `GET /api/tasks`, `GET /api/reminders` |
| GlobalSearch | Search | `GET /api/search` |

---

## IT Admin Dashboard (15 Active Sidebar Tabs)

> **Note**: AIManagementPage exists as a file but is NOT in the IT Admin sidebar β€” considered deleted.

| Component | Tab | Required Backend Module | Key API Endpoints |
|-----------|-----|------------------------|-------------------|
| DashboardOverview | `dashboard` | Monitoring + Analytics | `GET /api/monitoring/health`, `/api/analytics/dashboard` |
| UserManagementPage | `users` | User Management | `GET/POST/PUT/DELETE /api/users` |
| RoleManagementPage | `roles` | Roles & Permissions | `GET/PUT /api/roles` |
| SystemConfigPage | `config` | System Settings | `GET/PUT /api/settings` |
| IntegrationsPage | `integrations` | System Settings | `GET/PUT /api/integrations` |
| DatabasePage | `database` | Backup | `GET /api/database/stats`, `POST /api/backups/integrity-check` |
| MonitoringPage | `monitoring` | Monitoring | `GET /api/monitoring/servers`, `/api/monitoring/metrics` |
| SecurityPage | `security` | Security & Audit | `GET /api/security/logs`, `/api/security/threats` |
| SecurityLogsPage | `security-logs` | Security & Audit | `GET /api/security/logs`, `/api/audit/logs` |
| BackupCenterPage | `backup` | Backup | `GET/POST /api/backups`, `PUT /api/backups/schedule` |
| MultiCampusPage | `campus` | Campus (existing) | `GET/POST/PUT/DELETE /api/campuses` |
| AlertsManagementPage | `alerts` | Monitoring | `GET /api/monitoring/alerts` |
| CloudServicesPage | `cloud` | Monitoring | `GET /api/monitoring/servers` (cloud services) |
| ErrorLogsPage | `error-logs` | Monitoring | `GET /api/errors` |
| FeedbackSupportPage | `feedback` | Support & Feedback | `GET /api/support/tickets`, `/api/feedback` |
| MessagingChat | `chat` | Messaging | `GET/POST /api/messages/conversations` |
| DashboardProfileTab | `profile` | User Management | `GET/PUT /api/users/profile` |

---

## TA Dashboard (15 Active Sidebar Tabs)

> **Note**: Several components were removed from the sidebar (OfficeHoursPage T8, AttendancePage standalone T7 β€” now inside course tab per T4, CommunicationPage T11, UploadMaterialsPage). Non-sidebar components are considered deleted.

| Component | Tab | Required Backend Module | Key API Endpoints |
|-----------|-----|------------------------|-------------------|
| ModernDashboard | `dashboard` | Analytics | `GET /api/analytics/ta-dashboard` |
| AnalyticsPage + StudentPerformancePage | `analytics` | Analytics | `GET /api/analytics/performance`, `/engagement`, `/at-risk-students` |
| CoursesPage | `courses` | Courses (existing) | `GET /api/courses` (TA's assigned courses) |
| LabsPage | `labs` | Labs | `GET/POST/PUT/DELETE /api/labs` |
| QuizzesPage | `quizzes` | Quizzes | `GET/POST/PUT/DELETE /api/quizzes` |
| LabResourcesPage | `lab-resources` | Labs + Materials | `GET /api/labs/:id/instructions`, `/api/materials` |
| GradingPage | `grading` | Grades + Assignments | `GET /api/assignments/:id/submissions`, `PATCH /:subId/grade` |
| StudentPerformancePage | `students` | Analytics | `GET /api/analytics/at-risk-students` |
| SchedulePage | `schedule` | Schedule | `GET /api/schedule/events` |
| AnnouncementsPage | `announcements` | Announcements | `GET/POST /api/announcements` |
| NotificationsPage | `notifications` | Notifications | `GET /api/notifications` |
| DiscussionPage | `discussion` | Discussions | `GET /api/discussions`, `POST /api/discussions/:id/reply` |
| MessagingChat | `chat` | Messaging | `GET/POST /api/messages/conversations` |
| AIAssistantPage | `ai-assistant` | AI | `POST /api/ai/chatbot/conversations`, `POST /api/ai/grade` |
| DashboardProfileTab | `profile` | User Management | `GET/PUT /api/users/profile` |

---

## Summary: Module Usage Across Dashboards

| Backend Module | Admin | Instructor | Student | IT Admin | TA |
|---------------|-------|------------|---------|----------|-----|
| Auth (existing) βœ… | βœ… | βœ… | βœ… | βœ… | βœ… |
| Campus (existing) βœ… | βœ… | | | βœ… | |
| Courses (existing) βœ… | βœ… | βœ… | βœ… | | βœ… |
| Enrollments (existing) βœ… | βœ… | βœ… | βœ… | | |
| Files (existing) βœ… | | βœ… | | | βœ… |
| **Assignments** | βœ… | βœ… | βœ… | | βœ… |
| **Grades** | βœ… | βœ… | βœ… | | βœ… |
| **Attendance** | | βœ… | βœ… | | |
| **Quizzes** | | βœ… | βœ… | | βœ… |
| **Labs** | | | βœ… | | βœ… |
| **Notifications** | | βœ… | βœ… | | βœ… |
| **Messaging** | βœ… | βœ… | βœ… | | βœ… |
| **Announcements** | | βœ… | | | βœ… |
| **Discussions** | | βœ… | βœ… | | βœ… |
| **Community** | | | βœ… | | |
| **Schedule** | βœ… | βœ… | βœ… | | βœ… |
| **Analytics** | βœ… | βœ… | βœ… | | βœ… |
| **Reports** | | | | | |
| **Course Materials** | | | | | βœ… |
| **User Management** | βœ… | βœ… | βœ… | βœ… | |
| **Roles & Permissions** | | | | βœ… | |
| **Gamification** | | | βœ… | | |
| **Tasks & Reminders** | | | βœ… | | |
| **AI** | | | βœ… | | βœ… |
| **Security & Audit** | | | | βœ… | |
| **System Settings** | | | | βœ… | |
| **Monitoring** | | | | βœ… | |
| **Backup** | | | | βœ… | |
| **Payments** | | | βœ… | | |
| **Certificates** | | | βœ… | | |
| **Search** | | | | | |
| **Office Hours** | βœ… | βœ… | | βœ… | |
| **Support & Feedback** | | | | βœ… | |