Architecture cleanup: Remove orphans from audit report (37 files)
Deleted orphan component files (4):
- dashboard-customizer.tsx (never imported)
- unified-communication.tsx (never imported)
- data-table.tsx (never imported)
- widget-container.tsx (only imported by orphan dashboard-customizer)
Deleted unused shadcn/ui primitives (15):
- accordion, aspect-ratio, calendar, carousel, chart, form,
hover-card, input-otp, menubar, navigation-menu, pagination,
radio-group, resizable, toaster, toggle-group
(All verified as zero importers)
Deleted orphan API route groups (6 directories, 13 route files):
- ai-grading-audit (no caller)
- demo-data (no caller)
- exam-plans (no caller)
- grade-analytics (no caller, dead renderView case also removed)
- grading-annotations (no caller)
- grading-reviews (no caller)
Removed dead grade-analytics renderView case + ViewName type entry
Removed 10 orphan database models from schema:
- NotificationHub, NotificationArchive (superseded by Notification)
- WidgetTemplate (dashboard customizer feature abandoned)
- EmergencySignage, SignageMessage, SignageSchedule, SignageAuditLog
(signage feature - no API routes implemented)
- SchoolPolicy, EscalationPolicy, ClassMessagingLock
(policy/messaging lock feature - never wired)
Also removed 16 relation fields pointing to deleted models.
Schema validated, db pushed, lint passes, all 10 tested modules work.