forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to src/api/reports/getMyCourses.tsClear filter

2026-09-25

fix: 🎓 follow the backend's grade ladder and per-section course rowsBurak Boduroğlu · 167d960
fix: 🎓 follow the backend's grade ladder and per-section course rows

- classes, blueprints and year promotions carry an integer grade_level
  (0 = anaokulu .. 12) instead of a free-text grade; shared
  GradeLevelSelect picker and gradeLevelLabel helper
- blueprint routes key on the grade level; limits publish
  min/max_grade_level instead of max_class_grade_len
- GET /courses/me now lists class sections, so catalog consumers read the
  already-scoped GET /courses; course detail draws its sections from the
  embedded course.sections instead of a per-class fan-out
- profile course rows are sections: link to the catalog course, show the
  class name; profile class badges show the grade label
- RAG study scopes name the backend's grade label and the section's
  resolved title
- instance/course/limit types gain the resolved-override, section,
  holiday, offering and weekly-plan shapes; map the new refusal codes

2026-07-28

feat(api): 🔌 align backend contractsBurak Boduroğlu · 4e531e5
feat(api): 🔌 align backend contracts

- add runtime limits and complete meal endpoint clients

- align course, homework, report, and settings payloads

- drive auth validation from server limits

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