forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/api/courses/getCourses.tsClear filter

2026-08-03

fix: 🔍 drop query filters the backend never implemented - GET /homework takes limit/offset only, yet getHomework advertised a due_after window; GET /courses and /courses/me likewise take no kind/q/term_id. Serde drops unknown query keys silently, so every one of these looked applied while the response came back unfiltered - the visible symptom was the homepage "courses" stat, which asked for kind=course and counted studies and clubs along with it; it now counts over the unpaged list client-side, the way the courses page already did - three unit tests and one contract test encoded the phantom filters — the contract test claimed "returns filtered courses" and passed only because the backend ignored the filters it sentBurak Boduroğlu · 18dcd69
fix: 🔍 drop query filters the backend never implemented
- GET /homework takes limit/offset only, yet getHomework advertised a
  due_after window; GET /courses and /courses/me likewise take no
  kind/q/term_id. Serde drops unknown query keys silently, so every one
  of these looked applied while the response came back unfiltered
- the visible symptom was the homepage "courses" stat, which asked for
  kind=course and counted studies and clubs along with it; it now counts
  over the unpaged list client-side, the way the courses page already did
- three unit tests and one contract test encoded the phantom filters —
  the contract test claimed "returns filtered courses" and passed only
  because the backend ignored the filters it sent

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