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.
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-09-19
fix: 🐛 warn when a blueprint grade matches no section - read `matched` from the blueprint pump response - matched 0 shows a warning naming the grade instead of "applied to every class"; otherwise the toast says how many sections took itBurak Boduroğlu · 0630be8
fix: 🐛 warn when a blueprint grade matches no section - read `matched` from the blueprint pump response - matched 0 shows a warning naming the grade instead of "applied to every class"; otherwise the toast says how many sections took it
2026-09-17
fix: 🎓 open the class the create envelope namesAhmet Kaan Gümüş · a6c4974
fix: 🎓 open the class the create envelope names
- POST /classes answers an envelope — { class, skipped, stocked_from } — but
postClass was typed as the bare ClassGroup, so a create navigated to
/management/classes/undefined and the route 404'd on a class that existed
- CreateClassResponse joins the client types; the page reads created.class.id
- a create whose grade's blueprint left pairs behind now reports them first:
the amber skipped alert plus the skipped-pairs panel, with the course titles
read once up front, and closing the panel opens the new class
- the classes API test mocks the real envelope and asserts it comes back
- the live contract suite read the same response as a bare class in two
fixtures, so both now assert `skipped` is an array and take the id from
`class` — the suite was outside the src/ client sweep
- a new page test proves the create handler navigates to the created id, and
holds the page while the skip report is openfeat: 🏫 follow the backend split between a catalog course and a şube×ders instance - a course row is now the catalog (title, kind, subjects, notes, club/etüt members); attaching it to a class mints the instance that actually carries enrollments, exams, homework, lesson sessions, roll call, ders_saati and the karne flag - new src/api/instances: /instances/me, one instance with its policy PATCH, and the enrollment, exam, homework, session and teacher routes that moved off /courses/{id} - new src/api/academic-years: year CRUD plus archive and the rollover that carries a year's şubeler over with promoted grades - new src/api/rag: thread CRUD, turns, the 202 ask receipt and the SSE url an EventSource takes; plus /ai/capabilities and the course-note reindex - drop the routes the backend no longer serves (/courses/{id}/{enrollments, exams,homework,sessions,teachers}, /classes/{id}/courses) and add the club/etüt membership tier at /courses/{id}/members - rename course to class_course on exams, homework, sessions and roll call; a class links an academic year, a dönem lives inside one, and an exam names the dönem it is filed in - new /instances/$id page holds what left the course page: exams, homework, sessions, roster and staffing, with ders_saati and counts_toward_karne saved optimistically from local signals - new /management/academic-years: years, sınıf-geçme pairs, archiving, and a rollover that reports how many şubeler and students it carried - karne tab on /marks with a dönem picker, the ders_saati-weighted average and the verdict; devamsızlık day counts and their limits on the attendance report - exam and homework creation pick a şube instead of a catalog course, through one shared instance-option loader; the exam form asks for the dönem - settings gain branş, excuse kinds, the per-dönem absence day limits and the school timezone; limits gain the rag tier - contract fixtures build the whole chain now: year → dönem → şube → attached course → instance → examBurak Boduroğlu · 211d704
feat: 🏫 follow the backend split between a catalog course and a şube×ders instance
- a course row is now the catalog (title, kind, subjects, notes, club/etüt
members); attaching it to a class mints the instance that actually carries
enrollments, exams, homework, lesson sessions, roll call, ders_saati and the
karne flag
- new src/api/instances: /instances/me, one instance with its policy PATCH, and
the enrollment, exam, homework, session and teacher routes that moved off
/courses/{id}
- new src/api/academic-years: year CRUD plus archive and the rollover that
carries a year's şubeler over with promoted grades
- new src/api/rag: thread CRUD, turns, the 202 ask receipt and the SSE url an
EventSource takes; plus /ai/capabilities and the course-note reindex
- drop the routes the backend no longer serves (/courses/{id}/{enrollments,
exams,homework,sessions,teachers}, /classes/{id}/courses) and add the
club/etüt membership tier at /courses/{id}/members
- rename course to class_course on exams, homework, sessions and roll call;
a class links an academic year, a dönem lives inside one, and an exam names
the dönem it is filed in
- new /instances/$id page holds what left the course page: exams, homework,
sessions, roster and staffing, with ders_saati and counts_toward_karne
saved optimistically from local signals
- new /management/academic-years: years, sınıf-geçme pairs, archiving, and a
rollover that reports how many şubeler and students it carried
- karne tab on /marks with a dönem picker, the ders_saati-weighted average and
the verdict; devamsızlık day counts and their limits on the attendance report
- exam and homework creation pick a şube instead of a catalog course, through
one shared instance-option loader; the exam form asks for the dönem
- settings gain branş, excuse kinds, the per-dönem absence day limits and the
school timezone; limits gain the rag tier
- contract fixtures build the whole chain now: year → dönem → şube → attached
course → instance → exam2026-09-11
feat: ✨ add module and note intelligence workflowsBurak Boduroğlu · d2570ac
feat: ✨ add module and note intelligence workflows - add module catalog APIs and shared module context - add course-note RAG retrieval and output deletion flows - add term archive controls and blueprint status integration - refine responsive navigation, settings, and note panels - extend API and navigation test coverage
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-02
feat: 🧑🏫 homeroom teacher and student/parent class visibility (phase 5) - class-group: teacher field on ClassGroup, teacher_id on create/update, UserSearchSelect picker + column/badge on classes-page and class-detail-page - creator is now nullable on ClassGroup (backend hides it from non-staff callers) - api/classes: getMyClasses (GET /classes/me) and getClassesByUserId (GET /classes/user/:id) with vitest coverage - student dashboard header shows a class-name badge; parent's my-students overview tab shows the selected child's class and homeroom teacher - i18n: classGroups.homeroomTeacher/noTeacher/selectTeacher/yourClass in en/trBurak Boduroğlu · 678299e
feat: 🧑🏫 homeroom teacher and student/parent class visibility (phase 5) - class-group: teacher field on ClassGroup, teacher_id on create/update, UserSearchSelect picker + column/badge on classes-page and class-detail-page - creator is now nullable on ClassGroup (backend hides it from non-staff callers) - api/classes: getMyClasses (GET /classes/me) and getClassesByUserId (GET /classes/user/:id) with vitest coverage - student dashboard header shows a class-name badge; parent's my-students overview tab shows the selected child's class and homeroom teacher - i18n: classGroups.homeroomTeacher/noTeacher/selectTeacher/yourClass in en/tr
feat: 🏫 classes (şube) management — API, pages, nav, i18n (phase 2) - api/classes: 11 verb-first endpoints (class CRUD, members, courses) over /classes with the shared page helpers, plus ClassGroup/ClassMember/ ClassCourse types and a full per-domain vitest - classes-page: teacher+ read list (DataTable), manager+ create via SidePanel with name/grade/term and length limits from /limits - class-detail-page: Members and Courses tabs, manager add/remove student and attach/detach course; confirm dialogs warn that removing sweeps the class-pumped enrollments; 409/403 surface via formatApiError - nav: new teacher+ "Classes/Şubeler" entry (distinct from Education/courses); routes /management/classes and /management/classes/$id - i18n: classGroups.* keys in both en and trBurak Boduroğlu · 47cb8e8
feat: 🏫 classes (şube) management — API, pages, nav, i18n (phase 2) - api/classes: 11 verb-first endpoints (class CRUD, members, courses) over /classes with the shared page helpers, plus ClassGroup/ClassMember/ ClassCourse types and a full per-domain vitest - classes-page: teacher+ read list (DataTable), manager+ create via SidePanel with name/grade/term and length limits from /limits - class-detail-page: Members and Courses tabs, manager add/remove student and attach/detach course; confirm dialogs warn that removing sweeps the class-pumped enrollments; 409/403 surface via formatApiError - nav: new teacher+ "Classes/Şubeler" entry (distinct from Education/courses); routes /management/classes and /management/classes/$id - i18n: classGroups.* keys in both en and tr