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
2026-07-15
refactor: 🔄 server-pagination api pattern + role-scope-matrix doc - src/api/page.ts: shared Page<T>, PageParams, pageQuery, normalizePage - src/lib/list-page.ts: loadListPage helper (server or client pagination) - all listing API functions: accept PageParams, return Page<T> - pages: adopt loadListPage for pagination state management - docs/role-scope-matrix.md: full role access matrix per page/nav/dashboard - docs/frontend-next-steps: sync pagination audit statusBurak Boduroğlu · 7befd0c
refactor: 🔄 server-pagination api pattern + role-scope-matrix doc - src/api/page.ts: shared Page<T>, PageParams, pageQuery, normalizePage - src/lib/list-page.ts: loadListPage helper (server or client pagination) - all listing API functions: accept PageParams, return Page<T> - pages: adopt loadListPage for pagination state management - docs/role-scope-matrix.md: full role access matrix per page/nav/dashboard - docs/frontend-next-steps: sync pagination audit status