Commits
2026-07-22
feat: ✨ add homework API coverageBurak Boduroğlu · 6d0e29c
feat: ✨ add homework API coverage - add frontend homework endpoint wrappers and shared response types - expose course homework creation and listing helpers - add missing small parity wrappers for note, session, subject, term, and user endpoints - cover new and updated API helpers with targeted vitest tests - update build rule to skip repeat builds after a passing build or explicit user waiver
2026-07-21
feat: ✨ manager-assigned course teachers and role-aware empty search messagesBurak Boduroğlu · ca3a4d4
feat: ✨ manager-assigned course teachers and role-aware empty search messages
- mirror backend course teacher contract: teachers array on Course, POST/DELETE /courses/{id}/teachers
- allow manager+ users to select an initial teacher when creating a course in courses-page
- extend course-management rights to assigned teachers while restricting course deletion to creator or manager+
- add CourseTeachersPanel component with teacher search select and confirmation dialogs
- make UserSearchSelect empty messages role-aware (display 'Uygun öğretmen yok' or 'Uygun öğrenci yok')
- style empty search results with destructive red and medium font weight
- add Turkish and English translations for course teacher staffing workflow
- add Vitest API unit tests for postCourseTeacher and deleteCourseTeacherByUserIdrefactor: 🗃️ 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