kcar
7a01b3e8f6
Merge remote-tracking branch 'origin/master' into agent/s4-11-marking-results
...
# Conflicts:
# src/AppRoutes.tsx
# src/pages/exam/index.ts
# src/services/exam/examRepository.ts
# src/types/exam.types.ts
2026-06-07 19:58:38 +01:00
kcar
bff91a4b17
feat(exam): S4-11 marking flow and class results
2026-06-07 19:50:20 +01:00
CC Worker and Claude Sonnet 4.6
3389fdcb5b
feat(exam): S4-11 marking flow, results table, CSV, ResultsWidget
...
app-ci-deploy / test-build-deploy (push) Has been cancelled
- /exam-marker/:batchId/mark — ExamMarkingPage: student queue, per-part mark entry, upsert marks
- /exam-marker/:batchId/results — ExamResultsPage: results table with absent rows, CSV download
- ResultsWidget on ClassDetailPage: last batch summary, class average, absent count, batch creation
- New types: MarkingBatch, StudentSubmission, BatchQueueResponse, BatchResultsResponse, MarkUpsertPayload
- New repo methods: createBatch, listBatches, getBatchQueue, getBatchResults, getBatchCsv, upsertMark
Co-Authored-By: Claude Sonnet 4.6 <[email protected] >
2026-06-07 04:35:34 +00:00
kcar
fedbd903ff
fix: centralize app API URL fallbacks
app-ci-deploy / test-build-deploy (push) Has been cancelled
2026-05-28 19:26:00 +01:00
kcar
65ce1bede8
feat: migrate app state to bootstrap endpoint
...
app-ci-deploy / test-build-deploy (push) Has been cancelled
Use GET /me/bootstrap as the primary authenticated state source per ADR-0003. AuthContext now fetches and exposes typed bootstrapData, Header and class/detail admin checks use bootstrap permissions/roles, dashboard surfaces onboarding/calendar/timetable/graph status, and graph navigation derives school setup state from bootstrap instead of /school/status.
Refs: t_44353587
2026-05-28 19:07:07 +01:00
kcar and Claude Sonnet 4.6
6ac5ab7b5c
feat(phase-b): student enrollment UI, teacher/student management pages, lesson views
...
- ClassDetailPage: full rewrite with MUI tabs (students, enrollment requests, teachers),
add/remove students, approve/reject enrollment requests, AddStudentDialog
- StudentLessonsPage: new — student's weekly lesson view with week navigation
- TaughtLessonsPage: teacher's taught lesson week view
- SchoolSettingsPage, StaffManagerPage, StudentManagerPage: school admin management pages
- PlatformAdminPage: platform admin reset/seed controls
- Header: expanded nav menu (student lessons, school management, platform admin items)
- AppRoutes: routes for all new pages
- SchoolCalendarWizard, TeacherTimetableWizard: week_cycle support and improvements
- CCGraphNavPanel: updated navigation integration
- index.ts: export all new timetable pages
Co-Authored-By: Claude Sonnet 4.6 <[email protected] >
2026-05-27 02:56:04 +01: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
00a6f941c7
fix(contexts): replace ProfileContext with UserContext in timetable pages
2026-02-26 07:09:43 +00:00
Agent Zero
c7207eb805
fix(icons): replace lucide-react with @mui/icons-material
...
Replace lucide-react icon imports with @mui/icons-material equivalents
across all timetable pages and common Modal component.
Icons replaced:
- lucide-react Check, X, UserPlus, Users, Filter, Search -> MUI equivalents
- lucide-react ChevronDown, ChevronLeft, ChevronRight -> MUI equivalents
- lucide-react BookOpen, Clock, GraduationCap, School -> MUI equivalents
- lucide-react Calendar, MapPin, Edit, Trash2, Plus -> MUI equivalents
- lucide-react ArrowLeft, FileText, CheckCircle, XCircle -> MUI equivalents
Fixes build error: Failed to resolve import 'lucide-react'
2026-02-26 07:06:11 +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