Commits
2026-07-21
refactor: 🗃️ restructure API layer into domain folders and add vitest coverage - move 110+ flat API endpoints into domain-specific subdirectories (e.g., auth, courses, exams, notes, etc.) - add index.ts exports to each domain folder for clean namespace imports - update 70+ components and pages to use the new domain-based API import paths - add comprehensive vitest unit tests (~150 tests) for all API endpoints using fetch mocking - update AGENTS.md rulebook to mandate domain-based folder structure for future API additions - migrate existing bun:test test files in src/lib/ to vitest for consistencyBurak Boduroğlu · 6452b17
refactor: 🗃️ restructure API layer into domain folders and add vitest coverage - move 110+ flat API endpoints into domain-specific subdirectories (e.g., auth, courses, exams, notes, etc.) - add index.ts exports to each domain folder for clean namespace imports - update 70+ components and pages to use the new domain-based API import paths - add comprehensive vitest unit tests (~150 tests) for all API endpoints using fetch mocking - update AGENTS.md rulebook to mandate domain-based folder structure for future API additions - migrate existing bun:test test files in src/lib/ to vitest for consistency
feat: 👨👩👧👦 parent role, question pool, and student managementBurak Boduroğlu · 8bd96bf
feat: 👨👩👧👦 parent role, question pool, and student management - add parent role to type system, rank, badge, and i18n labels - my-students page for parent role with nav group and route - admin users: parent-student link/unlink panel from user table - add getMyStudents, getParentStudents, postParentStudent, deleteParentStudent API files - question pool community feature: routes, pages, icons (IconZoomIn, IconHelpCircle, IconMessagePlus, IconPhoto), nav group "Community", full i18n - user-table: parent action column button for admin flow - dashboard: parent role key - various i18n polish: "Grades" nav label, "Saved successfully.", "Actions" plural, confirm review text
2026-07-15
fix: 🐛 exclude students from staff-work search, add role-band guards for work pages - getUserSearch + UserSearchSelect: accept Role[] and comma-separate in URL query - staff-work-page: filter search to teacher/manager/admin with localized labels - route-guard + side-nav: maxRole support + roleInRange helper for role bands - work-log-page: guard maxRole=manager so admin uses staff-work instead - dashboard: personal work card only for manager; admin sees staff-work - router: /work beforeLoad uses roleInRange teacher..manager - i18n: work.teacherIdentity, work.noTeachers TR/ENBurak Boduroğlu · 52be1ae
fix: 🐛 exclude students from staff-work search, add role-band guards for work pages - getUserSearch + UserSearchSelect: accept Role[] and comma-separate in URL query - staff-work-page: filter search to teacher/manager/admin with localized labels - route-guard + side-nav: maxRole support + roleInRange helper for role bands - work-log-page: guard maxRole=manager so admin uses staff-work instead - dashboard: personal work card only for manager; admin sees staff-work - router: /work beforeLoad uses roleInRange teacher..manager - i18n: work.teacherIdentity, work.noTeachers TR/EN
feat: ✨ student-only pages, session PATCH, manager staff-work log, beforeLoad guards - hasExactRole helper + RouteGuard exactRole prop for student-only gates - marks + attendance: RouteGuard exactRole=student + beforeLoad redirect - side-nav: exactRole support on nav items; marks/attendance student-only - router: beforeLoad guards on /marks (student), /attendance (student), /work (teacher+) - staff-work page: manager+ work-log lookup (GET /work/{user}, PATCH/DELETE entries) - course-sessions-panel: edit session via PATCH /sessions/{id}, inline schedule parse - i18n: staff work keys, session editBurak Boduroğlu · 340431f
feat: ✨ student-only pages, session PATCH, manager staff-work log, beforeLoad guards
- hasExactRole helper + RouteGuard exactRole prop for student-only gates
- marks + attendance: RouteGuard exactRole=student + beforeLoad redirect
- side-nav: exactRole support on nav items; marks/attendance student-only
- router: beforeLoad guards on /marks (student), /attendance (student), /work (teacher+)
- staff-work page: manager+ work-log lookup (GET /work/{user}, PATCH/DELETE entries)
- course-sessions-panel: edit session via PATCH /sessions/{id}, inline schedule parse
- i18n: staff work keys, session edit2026-07-12
feat: ✨ rebuild Hezarfen frontend for the full campus backendBurak Boduroğlu · 4deb240
feat: ✨ rebuild Hezarfen frontend for the full campus backend - SolidJS + Vite + TanStack Router + Tailwind/shadcn-solid (Kobalte) - Session cookie auth, role guards, TR/EN i18n, light/dark theme - Notes, events + attendance status chips, admin users search/filter - Courses with roster enrollment; exams created under a course with weight - Report card (/marks) with weighted course averages and overall average - Dashboard KPIs (notes/events/exams/average), wide list panels, guide - Sidebar guide pinned above centered @Hezarfen - 2026 footer - Vite proxy for /auth /users /notes /events /exams /courses /marks