Round 26: Grade Analytics, School Transport, Peer Assessment, Styling

- Grade Analytics & Reporting View: distribution histogram, student trajectory, class comparison, subject analysis, report generation
- School Transport & Bus Routes View: route management, student assignment, transport schedule, stop management
- Peer Assessment View: creation wizard, rating sliders, results radar chart, self vs peer comparison
- 3 new Prisma models: GradeReport, TransportRoute, TransportStop
- Extended PeerAssessment and StudentTransport models
- Enhanced classes-view with gradient header, glassmorphism cards
- Enhanced attendance-view with attendance rate gauge, status indicators
- Fixed duplicate variable name bugs in school-transport-view.tsx
- 12+ new API route files
- 300+ i18n keys added
- All views verified working in browser
This commit is contained in:
Mustafa Cetin committed 2026-07-30 07:20:05 +00:00
1 parent 3d0d518bb9
commit 7f0810c88f
28 files changed
+10264 -127

No files matched your search

@@ -31,6 +31,9 @@ export async function GET(
rubric: {
select: { id: true, title: true },
},
session: {
select: { id: true, title: true, anonymityMode: true },
},
},
});
@@ -81,6 +84,8 @@ export async function PUT(
classGroupId,
rubricId,
isAnonymous,
criteria,
status,
} = body;
if (level !== undefined && level !== null && (level < 1 || level > 6)) {
@@ -97,6 +102,8 @@ export async function PUT(
...(classGroupId !== undefined && { classGroupId: classGroupId || null }),
...(rubricId !== undefined && { rubricId: rubricId || null }),
...(isAnonymous !== undefined && { isAnonymous }),
...(criteria !== undefined && { criteria: JSON.stringify(criteria) }),
...(status !== undefined && { status }),
},
include: {
assessor: {