Agent Zero
0f4956d4a4
fix: correct enrollment service method aliases
...
- Fix getEnrollmentRequests to use listEnrollmentRequests
- Fix respondToEnrollmentRequest to use respondToEnrollment
2026-02-26 17:47:37 +00:00
Agent Zero
d17acffd41
fix: add method aliases to timetableService for store compatibility
...
- Added getClasses, getClass, createClass, updateClass, deleteClass aliases
- Added getMyClasses, getMyTeachingClasses aliases
- Added timetable and lesson method aliases
- Added enrollment request method aliases
- Fixes 'getClasses is not a function' error in timetableStore
2026-02-26 07:49:53 +00:00
Agent Zero
fc6b6c3d10
fix: rename timetableServiceExports to timetableService to fix store imports
...
- timetableOnlyService: timetable-specific methods (line 134)
- timetableService: combined export with class/lesson/enrollment methods (line 328)
- This fixes 'getClasses is not a function' and 'getMyClasses is not a function' errors
2026-02-26 07:44:34 +00:00
Agent Zero
067df34c50
fix: correct Material UI icon naming in Header.tsx and update timetable components
...
- Fix icon naming: remove 'Icon' suffix from MUI icon components in Header.tsx
(AccessTime, Close, Person, School, Schedule, Class, Book, Settings, Student, Login, Logout)
- Update timetable components to use UserContext instead of ProfileContext
- Fix timetableService naming collision and circular reference
- Update various components for consistency
2026-02-26 07:28:47 +00:00
Agent Zero
11c139b410
feat(timetable): add page components, services, stores and types
...
- Add timetable page components:
- ClassesListPage.tsx (browse and search classes)
- MyClassesPage.tsx (student enrolled classes)
- EnrollmentRequestsPage.tsx (teacher approval interface)
- TimetablePage.tsx (weekly schedule view)
- LessonViewPage.tsx (TLDraw-integrated lesson view)
- Add timetableService.ts for API communication
- Add timetableStore.ts for state management
- Add timetable.types.ts for TypeScript definitions
- Add common components (LoadingSpinner, ErrorMessage, EmptyState)
- Add .env.development with local development configuration
2026-02-26 03:27:46 +00:00