How sandy-07-coder/enrollmate works
EnrollMate is a browser-based course timetable builder. Students load course data from an extension or paste enrollment text, select and filter course sections, review conflicts in a timetable, and export a PDF. The React frontend processes data locally; Zustand persists course state in localStorage. The graph follows documented workflow and source-index references. Some implementation details are unsampled, so uncertain relationships are omitted.
Main entry points: courseStore.js Course state · HomePage.jsx Planner page · Header.jsx Search and controls · App.jsx App bootstrap
Components 22
Entry and ingestion
- Landing page
frontend/src/pages/LandingPage.jsx - Paste dialog
frontend/src/Modals/PasteDataModal.jsx - Text parser
frontend/src/utils/parseRawCourseData.js - Extension data parser
frontend/src/utils/parseExtensionData.js - App bootstrap
frontend/src/App.jsx
Schedule planning
- Planner page
frontend/src/pages/HomePage.jsx - Search and controls
frontend/src/components/Header.jsx - Course filters
frontend/src/Modals/Filter.Modal.jsx - Selected courses
frontend/src/components/SelectedCoursesBox.jsx - Conflict dialog
frontend/src/Modals/ShowConflicts.Modal.jsx
State and rules
- Course state
frontend/src/store/courseStore.js - Browser storage
- Conflict detection
frontend/src/utils/findConfictingCourse.js - Time-slot rules
frontend/src/utils/timeSlots.js - Subject matching
frontend/src/utils/hasSameSubject.js - Filter rules
frontend/src/utils/filterByFreeDaysAndTimes.js - User notifications
frontend/src/utils/toasts
Views and export
- Timetable view
frontend/src/components/TimeTable.jsx - Export dialog
frontend/src/Modals/DownloadPDF.Modal.jsx - PDF generator
frontend/src/libs/downloadPDF.js - Theme state
frontend/src/store/themeStore.js
Other components
- Student
Connections 29
- Student → Landing page: opens
README.md - Landing page → Paste dialog: opens paste
frontend/src/pages/LandingPage.jsx - Paste dialog → Text parser: parses text
frontend/src/Modals/PasteDataModal.jsx - Paste dialog → Course state: sets courses
frontend/src/Modals/PasteDataModal.jsx - App bootstrap → Course state: loads extension data
frontend/src/App.jsx - App bootstrap → Extension data parser: reads browser data
- App bootstrap → Planner page: routes to
frontend/src/App.jsx - Planner page → Search and controls: renders
frontend/src/pages/HomePage.jsx - Planner page → Timetable view: renders
frontend/src/pages/HomePage.jsx - Planner page → Selected courses: renders
frontend/src/pages/HomePage.jsx - Planner page → Course filters: opens
frontend/src/pages/HomePage.jsx - Planner page → Conflict dialog: opens
frontend/src/pages/HomePage.jsx - Planner page → Export dialog: opens
frontend/src/pages/HomePage.jsx - Search and controls → Course state: searches and selects
frontend/src/components/Header.jsx - Search and controls → User notifications: shows feedback
frontend/src/components/Header.jsx - Course filters → Course state: filters and selects
frontend/src/Modals/Filter.Modal.jsx - Course filters → User notifications: shows feedback
frontend/src/Modals/Filter.Modal.jsx - Course state → Browser storage: persists state
README.md - Course state → Conflict detection: checks conflicts
frontend/src/store/courseStore.js - Course state → Subject matching: checks duplicates
frontend/src/store/courseStore.js - Course state → Filter rules: applies filters
frontend/src/store/courseStore.js - Conflict detection → Time-slot rules: compares slots
frontend/src/utils/findConfictingCourse.js - Timetable view → Course state: reads selection
frontend/src/components/TimeTable.jsx - Timetable view → Time-slot rules: lays out slots
frontend/src/components/TimeTable.jsx - Selected courses → Course state: reads selection
frontend/src/components/SelectedCoursesBox.jsx - Export dialog → Course state: reads selection
frontend/src/Modals/DownloadPDF.Modal.jsx - Export dialog → PDF generator: generates PDF
frontend/src/Modals/DownloadPDF.Modal.jsx - PDF generator → Student: downloads timetable
README.md - Search and controls → Theme state: toggles theme
frontend/src/components/Header.jsx