Commits
2026-09-25
feat: 🔎 send the new server filters from the list pagesAhmet Kaan Gümüş · 76f3534
feat: 🔎 send the new server filters from the list pages Events/exams windows, homework due tabs, meals slot, users roles, courses kind/q/taught, appointments teacher/status/window, pomodoro window, messages/boards search, sessions month window — the pages query the server instead of downloading a capped list and filtering in JS. Past/completed tabs read the recent tail (loadCappedTail) because a before-bound sorts ascending server-side.
2026-07-25
feat: 🔭 ask the shell feed for the next rows, not every rowAhmet Kaan Gümüş · 5d93c16
feat: 🔭 ask the shell feed for the next rows, not every row The feed polls events and exams for the upcoming badge and the calendar dot, and until now `limit` truncated the newest-created end — an event scheduled for tomorrow could sit behind a hundred rows created after it. So the feed asked for everything: ~3.37 MB a poll at 5000 rows apiece, re-fetched on every right-nav tab open. The backend now takes `ends_after`, which keeps the rows whose window has not finished and flips the order to soonest-first, so a limit finally cuts the right end. 50 per source is about the next month at a busy school and roughly 15 KB. Both consumers re-filter against the live clock and sort for themselves, so the order flip reaches neither of them.
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
chore: 🧪 migrate tests from bun:test to vitestBurak Boduroğlu · b0a9db1
chore: 🧪 migrate tests from bun:test to vitest - replace bun:test imports with vitest in all 3 test files - add vitest.config.ts with @ alias and test config - add vitest dev dependency and test/watch npm scripts - create src/api/__tests__/ directory for future API tests