How niaefeup/tts-fe works
Time Table Selector is a student-facing schedule planner with a separate class-exchange workflow. Students choose courses and class options, compare schedules, and can save planner state locally. The exchange page brings together schedule viewing, request creation and browsing, and course-unit enrollment; authenticated administration provides request and settings views. The graph reflects documented routes and sampled/indexed references. Several subsystems are represented by their exact source directories because their implementation was not sampled; their internal connections are omitted where evidence is unavailable.
Main entry points: Exchange.tsx Exchange page · backend.ts Backend API · App.tsx Routed application · Enrollments.tsx Course enrollment
Components 18
Application shell
- Routed application
src/App.tsx
Schedule planner
- Planner page
src/pages/TimeTableSelector.tsx - Course selection
src/components/planner/sidebar/CoursesController/ClassSelectorDropdownController.tsx - Schedule options
src/contexts/MultipleOptionsContext.tsx - Schedule display
src/components/planner/schedule/PlannerSchedule.tsx
Class exchange
- Exchange page
src/pages/Exchange.tsx - Course enrollment
src/components/exchange/enrollments/Enrollments.tsx - Create exchange request
src/components/exchange/requests/issue/CreateRequest.tsx - Browse requests
src/components/exchange/requests/view/ViewRequests.tsx - Sign-in
src/api/services/authService.ts
Administration
- Admin console
src/pages/Admin.tsx - Admin exchange requests
src/components/admin/requests/AdminMarketplaceExchanges.tsx
API and persistence
- Enrollment submission
src/api/services/courseUnitEnrollmentService.ts - Exchange request API
src/api/services/exchangeRequestService.ts - Backend API
src/api/backend.ts - Browser storage
src/api/storage.ts
Other components
- Student
- Backend service
Connections 20
- Student → Routed application: opens
README.md - Routed application → Exchange page: routes to
src/App.tsx - Routed application → Planner page: routes to
src/App.tsx - Student → Planner page: selects courses
- Course selection → Schedule options: updates options
src/components/planner/sidebar/CoursesController/ClassSelectorDropdownController.tsx - Schedule options → Schedule display: supplies options
- Course selection → Browser storage: reads saved data
src/components/planner/sidebar/CoursesController/ClassSelectorDropdownController.tsx - Exchange page → Course enrollment: renders
src/pages/Exchange.tsx - Exchange page → Create exchange request: renders
src/pages/Exchange.tsx - Exchange page → Browse requests: renders
src/pages/Exchange.tsx - Course enrollment → Backend API: loads majors
src/components/exchange/enrollments/Enrollments.tsx - Course enrollment → Enrollment submission: submits choices
src/components/exchange/enrollments/Enrollments.tsx - Enrollment submission → Backend API: uses configuration
src/api/services/courseUnitEnrollmentService.ts - Backend API → Backend service: requests data
src/api/backend.ts - Exchange request API → Backend API: uses API
src/api/services/exchangeRequestService.ts - Browse requests → Exchange request API: loads related exchanges
- Exchange page → Sign-in: offers sign-in
- Routed application → Admin console: routes to
src/App.tsx - Admin console → Admin exchange requests: renders requests
- Admin exchange requests → Backend API: loads exchange data