How hdsk1234/math-log works
Math Log is a tutoring-management app for teachers and students. Teachers sign in or students verify a PIN, then use student-management and individual-student views to record homework and lessons, review learning progress, manage textbooks, and view rankings or mock-exam analysis. Student and teacher records are stored through Firebase; image review and report/export features support the dashboard workflow. The graph follows the routes and imports shown in the excerpts and SOURCE INDEX; several component capabilities are documented by references but their internals were not sampled.
Main entry points: App.tsx App routing · StudentManagementDashboard.tsx Student management · StudentDetailDashboard.tsx Student dashboard · QuickUpdateDashboard.tsx Quick updates
Components 26
Access and routing
- App routing
App.tsx - Sign-in
components/Login.tsx
Teacher management
- Student management
pages/StudentManagementDashboard.tsx - Student roster
components/StudentList.tsx - Quick updates
components/QuickUpdateDashboard.tsx - Admin dashboard
pages/AdminDashboard.tsx
Student learning
- Student dashboard
pages/StudentDetailDashboard.tsx - Homework calendar
components/HomeworkCalendar.tsx - Lesson log
components/LessonTable.tsx - Textbook tracker
components/TextbookTracker.tsx - Weak points
components/WeakPointList.tsx - Homework images
components/HomeworkImageFeed.tsx - Image review
components/QuickImageReview.tsx
Reports and analytics
- Student statistics
components/AdminStudentStats.tsx - Rankings page
pages/RankingsPage.tsx - Homework rankings
components/StudentRankings.tsx - Mock exam analysis
components/MockExamStats.tsx - Exam parsing and metrics
lib/mockExamData.ts - Dashboard export
components/DashboardExportModal.tsx
Data and integrations
- Authentication
lib/auth.ts - Exam data store
lib/mockExamStore.ts - Cloud Firestore
- Firebase setup
lib/firebase.ts - Kakao image lookup
lib/kakaoImages.ts
Other components
- Teacher
- Student
Connections 35
- Teacher → App routing: opens app
App.tsx - Student → App routing: opens app
App.tsx - App routing → Sign-in: routes to
App.tsx - App routing → Student management: routes to
App.tsx - App routing → Student dashboard: routes to
App.tsx - App routing → Admin dashboard: routes to
App.tsx - App routing → Rankings page: routes to
App.tsx - Sign-in → Authentication: signs in
components/Login.tsx - App routing → Authentication: logs out
App.tsx - App routing → Cloud Firestore: verifies PIN
App.tsx - Student management → Student roster: renders
pages/StudentManagementDashboard.tsx - Student management → Quick updates: renders
pages/StudentManagementDashboard.tsx - Student management → Homework images: renders
pages/StudentManagementDashboard.tsx - Student management → Homework rankings: renders
pages/StudentManagementDashboard.tsx - Student management → Mock exam analysis: renders
pages/StudentManagementDashboard.tsx - Student management → Dashboard export: opens
pages/StudentManagementDashboard.tsx - Student roster → Cloud Firestore: reads and writes
components/StudentList.tsx - Quick updates → Cloud Firestore: updates records
components/QuickUpdateDashboard.tsx - Quick updates → Image review: renders
components/QuickUpdateDashboard.tsx - Admin dashboard → Student statistics: renders
pages/AdminDashboard.tsx - Admin dashboard → Cloud Firestore: loads data
pages/AdminDashboard.tsx - Student dashboard → Homework calendar: renders
pages/StudentDetailDashboard.tsx - Student dashboard → Lesson log: renders
pages/StudentDetailDashboard.tsx - Student dashboard → Textbook tracker: renders
pages/StudentDetailDashboard.tsx - Student dashboard → Weak points: renders
pages/StudentDetailDashboard.tsx - Student dashboard → Homework images: renders
pages/StudentDetailDashboard.tsx - Student dashboard → Homework rankings: renders
pages/StudentDetailDashboard.tsx - Rankings page → Homework rankings: renders
pages/RankingsPage.tsx - Mock exam analysis → Exam parsing and metrics: parses and calculates
components/MockExamStats.tsx - Mock exam analysis → Exam data store: stores exam data
components/MockExamStats.tsx - Exam data store → Cloud Firestore: persists data
lib/mockExamStore.ts - Authentication → Firebase setup: uses auth client
lib/auth.ts - Firebase setup → Cloud Firestore: initializes
lib/firebase.ts - Homework images → Firebase setup: uses services
components/HomeworkImageFeed.tsx - Image review → Kakao image lookup: looks up images
components/QuickImageReview.tsx