Commits
2026-09-22
feat: ✨ school identity is the uuidAhmet Kaan Gümüş · a3eb98c
feat: ✨ school identity is the uuid - register picks an active school from GET /auth/schools; an empty list disables submit - builder routes, list, and school API calls use the school id - slug field, slug limits, and the slug-collision error are gone
2026-09-15
feat: ✨ align frontend with live API contractBurak Boduroğlu · 93124b2
feat: ✨ align frontend with live API contract - support person login and multi-school selection - surface pomodoro labels, counted status, and current limits - sync profile badges, exam attempts, and authentication layouts
2026-09-13
fix: 🔌 align three api shapes with the refactored backend - postParentStudent sent a pre-stringified body that client() encoded again, so the backend got a quoted string and 400'd every link; pass the plain object - postRegister declared Promise<User> but the backend's anti-enumeration 201 carries only {username, role}; retype to RegisterResponse - drop Limits.course.max_class_bytes: invented by a past alignment commit, never published or enforced by the backend in any revision - update the auth and parents tests, which pinned both wrong shapesAhmet Kaan Gümüş · aba07ef
fix: 🔌 align three api shapes with the refactored backend
- postParentStudent sent a pre-stringified body that client() encoded
again, so the backend got a quoted string and 400'd every link; pass
the plain object
- postRegister declared Promise<User> but the backend's
anti-enumeration 201 carries only {username, role}; retype to
RegisterResponse
- drop Limits.course.max_class_bytes: invented by a past alignment
commit, never published or enforced by the backend in any revision
- update the auth and parents tests, which pinned both wrong shapes2026-09-12
feat: 🎨 migrate the app onto the Figma design systemBurak Boduroğlu · b2d57d2
feat: 🎨 migrate the app onto the Figma design system - semantic light/dark aliases with the landing page's #00ADD8 brand override and the pixel-wing logo mark; user-selected accents stay authoritative over the default brand - desktop shell geometry at the 1440px reference: 260px sidebar, 45px top bar, 34px nav rows, 30px sub-nav rows, 1100px content area - controls settle on 36px base button/input, 26px small button, 20px badge pill, 32px tab, so per-call-site h-10/rounded-* overrides go away - 39 shared glyphs compiled from the pinned @phosphor-icons/core Regular sources; app-specific Lucide-style icons stay - /login matches the SYS-01 480px standalone panel, keeping the current username/password contract - desktop composition across courses, homework, exams, question bank, classes, admin users, payments, settings, staff work, work log, meals, messages, whiteboards and the teacher report screens: raw palette colors give way to success/warning/destructive and the surface/border aliases, tables pin their actions column to 110px at a 45px row, and ad-hoc tinted section shells defer to data-shell - student mobile: the 7-tab course detail scrolls horizontally below sm instead of wrapping to four cramped rows, nested report tables drop their min-width, and the whiteboard's three floating toolbar islands reflow into one wrapping bar under 640px where they used to overlap - docs/ui/figma-migration-coverage.md records route-level coverage and the features held back for want of a backend contract Figma screens that show mastery scores, AI risk tags, streaks, occupancy bars and work-quality ratings are deliberately not built: the API exposes none of it, and the alternative is a page of invented numbers. Export and discard buttons with nothing behind them are left out for the same reason.
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