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-09-20
feat: ✨ student numbers, Mistral-shaped study and studio, evidence redesign - student_number lands on PersonRef, User, CreateUser, ProfileUpdate and limits.user.max_student_number_len, matching the live contract - the field is settable where it belongs: the admin create-user panel offers it only for a student role, and the profile form only on the admin surface (it is the office's field, not the account holder's); blank clears it - Öğrenci Takibi tables share one column set — Öğrenci No, Adı, Sınıfı — extracted to student-directory-columns; search matches the number too - tracking nav reads Yoklamalar / Sınav Notları / Pomodorolar, and the attendance entry uses its own key so a student's own /attendance stays "Yoklama" - podcast history marks each episode with the narration the service settled on; an unsettled job stays unmarked and an unknown format prints verbatim - podcast progress surfaces stage and the receipt's eta_secs, both already on the wire and discarded; polling moves to createLivePoll so a hidden tab stops asking and tab-back is fresh; the player opens in the clicked row - /ai/study follows Le Chat: no card frame and no header strip, landing screen centres the mark and composer, wider composer, copy and "ask again" on a settled answer, rotating thinking phases, pin/unread scroll pill, and recency grouping in the thread list - no thread search box and no stop button: /rag/threads takes no query parameter and RAG messages have no cancel route, so either would lie - /ai/studio follows Mistral Studio: plain title and subtitle instead of the banner, flat hairline producer cards, and the output library as a dense divided list whose active row carries an accent edge; the library is the landing view and steps aside once a note is open - the insights "what supports this" disclosure loses its gradient card and nested box; a new ChartComparatorBar reads a value against its cohort baseline with both numbers printed, and the service's own sentence now leads the numbers it explains - drop three keys that no longer have a callerBurak Boduroğlu · dcf123a
feat: ✨ student numbers, Mistral-shaped study and studio, evidence redesign - student_number lands on PersonRef, User, CreateUser, ProfileUpdate and limits.user.max_student_number_len, matching the live contract - the field is settable where it belongs: the admin create-user panel offers it only for a student role, and the profile form only on the admin surface (it is the office's field, not the account holder's); blank clears it - Öğrenci Takibi tables share one column set — Öğrenci No, Adı, Sınıfı — extracted to student-directory-columns; search matches the number too - tracking nav reads Yoklamalar / Sınav Notları / Pomodorolar, and the attendance entry uses its own key so a student's own /attendance stays "Yoklama" - podcast history marks each episode with the narration the service settled on; an unsettled job stays unmarked and an unknown format prints verbatim - podcast progress surfaces stage and the receipt's eta_secs, both already on the wire and discarded; polling moves to createLivePoll so a hidden tab stops asking and tab-back is fresh; the player opens in the clicked row - /ai/study follows Le Chat: no card frame and no header strip, landing screen centres the mark and composer, wider composer, copy and "ask again" on a settled answer, rotating thinking phases, pin/unread scroll pill, and recency grouping in the thread list - no thread search box and no stop button: /rag/threads takes no query parameter and RAG messages have no cancel route, so either would lie - /ai/studio follows Mistral Studio: plain title and subtitle instead of the banner, flat hairline producer cards, and the output library as a dense divided list whose active row carries an accent edge; the library is the landing view and steps aside once a note is open - the insights "what supports this" disclosure loses its gradient card and nested box; a new ChartComparatorBar reads a value against its cohort baseline with both numbers printed, and the service's own sentence now leads the numbers it explains - drop three keys that no longer have a caller
2026-09-17
feat: 🔌 sync with the latest backend contractBurak Boduroğlu · 2c19dff
feat: 🔌 sync with the latest backend contract - POST /users: admin creates an account directly (postUser, CreateUserInput) - profiles carry a branş: shown beside the role badge, and a teacher+ picks it from settings.branches in the profile form - class members expose their stint (joined_at, left_at) and the şube a rollover copied them from - limits gain academic-year name length, the ders_saati bounds and the rag rate tier - chatbotStreamUrl joins the api layer; the çelebi panel stops building the SSE path inline
2026-08-04
feat: 🎓 grade blueprints, public profiles, badges, and board group invites - cover the four surfaces the backend opened in b15ef98..6ddc914, one API file per endpoint with the domain's mandatory vitest cases - grade blueprints: a manager-only tab on /management/classes plus an "apply blueprint" action on a class. The grade label is the record key and is free text, so it is percent-encoded everywhere - a blueprint's skipped[] is an outcome report, not an error: the save still toasts and the shortfall opens a separate table. Backend English reasons are normalized and localized in lib/blueprint-skip, never rendered raw, and a 409 re-reads the blueprint and reseeds the form since there is no version token to retry with - public profiles at /profile/me and /profile/$userId, with bio and display name on the existing PATCH /users/me. The parent restriction is left to the backend's 403 — a parent may read their linked students, so a client role gate would wrongly close that - avatars ride a plain <img> against the same-origin /api path rather than fetch+objectURL; a shared revision counter busts the browser's image cache after an upload or delete and refreshes the sidebar chip - badges render from the /limits catalogue: unearned tiles carry a padlock and a progress bar, and a tooltip repeats what the tile already shows, since a tooltip can never be opened by touch - boards gain POST /boards/{id}/invite behind a source picker in the settings panel, creator-only, keyed per source kind so a non-creator never fires the list requests - profile links added where people are listed: the user table and detail, class members, linked students, and a parent's own children. A router <Link> inside a modal panel never navigates, so those close the panel first and then navigateBurak Boduroğlu · faaf9bc
feat: 🎓 grade blueprints, public profiles, badges, and board group invites
- cover the four surfaces the backend opened in b15ef98..6ddc914, one API
file per endpoint with the domain's mandatory vitest cases
- grade blueprints: a manager-only tab on /management/classes plus an
"apply blueprint" action on a class. The grade label is the record key
and is free text, so it is percent-encoded everywhere
- a blueprint's skipped[] is an outcome report, not an error: the save
still toasts and the shortfall opens a separate table. Backend English
reasons are normalized and localized in lib/blueprint-skip, never
rendered raw, and a 409 re-reads the blueprint and reseeds the form
since there is no version token to retry with
- public profiles at /profile/me and /profile/$userId, with bio and
display name on the existing PATCH /users/me. The parent restriction is
left to the backend's 403 — a parent may read their linked students, so
a client role gate would wrongly close that
- avatars ride a plain <img> against the same-origin /api path rather than
fetch+objectURL; a shared revision counter busts the browser's image
cache after an upload or delete and refreshes the sidebar chip
- badges render from the /limits catalogue: unearned tiles carry a padlock
and a progress bar, and a tooltip repeats what the tile already shows,
since a tooltip can never be opened by touch
- boards gain POST /boards/{id}/invite behind a source picker in the
settings panel, creator-only, keyed per source kind so a non-creator
never fires the list requests
- profile links added where people are listed: the user table and detail,
class members, linked students, and a parent's own children. A router
<Link> inside a modal panel never navigates, so those close the panel
first and then navigate2026-08-01
feat: ✨ collaborative whiteboard + accent-color backend sync - boards API domain (src/api/boards): create/list/read, current-epoch strokes, full history + epoch index, patch (title/roster/lock), clear, close, delete — with mandatory domain tests - board-stroke-codec: Stroke <-> segmented wire payload in board-space, split under the 4096B cap, reassembled by sid; unit-tested - live canvas (whiteboard-canvas) reusing draw-stroke primitives: pen/eraser/colour/width + pan/zoom, onStroke emit + remote-apply controller - board room WS component modelled on exam-room-ws: join/resync, optimistic draw with resync-from-REST on reject, id dedupe, backoff reconnect - whiteboards list page (create side-panel + participant picker, parents excluded) and board room page (creator commands, roster, epoch replay via DrawingPlayback) - router routes /whiteboards and /whiteboards/$id, nav entry (minRole student), tr/en messages - accent-color sync: palette_color on User + PatchMyPreferences body; setPaletteColor persists to PATCH /users/me/preferences ("" clears), hydratePreferences seeds it on login; users API testsBurak Boduroğlu · 58593cc
feat: ✨ collaborative whiteboard + accent-color backend sync
- boards API domain (src/api/boards): create/list/read, current-epoch
strokes, full history + epoch index, patch (title/roster/lock), clear,
close, delete — with mandatory domain tests
- board-stroke-codec: Stroke <-> segmented wire payload in board-space,
split under the 4096B cap, reassembled by sid; unit-tested
- live canvas (whiteboard-canvas) reusing draw-stroke primitives:
pen/eraser/colour/width + pan/zoom, onStroke emit + remote-apply controller
- board room WS component modelled on exam-room-ws: join/resync, optimistic
draw with resync-from-REST on reject, id dedupe, backoff reconnect
- whiteboards list page (create side-panel + participant picker, parents
excluded) and board room page (creator commands, roster, epoch replay
via DrawingPlayback)
- router routes /whiteboards and /whiteboards/$id, nav entry (minRole
student), tr/en messages
- accent-color sync: palette_color on User + PatchMyPreferences body;
setPaletteColor persists to PATCH /users/me/preferences ("" clears),
hydratePreferences seeds it on login; users API tests2026-07-22
feat: ✨ add homework API coverageBurak Boduroğlu · 6d0e29c
feat: ✨ add homework API coverage - add frontend homework endpoint wrappers and shared response types - expose course homework creation and listing helpers - add missing small parity wrappers for note, session, subject, term, and user endpoints - cover new and updated API helpers with targeted vitest tests - update build rule to skip repeat builds after a passing build or explicit user waiver
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