Commits
2026-09-25
feat: 🍽️ reorganize meal menus and service viewsBurak Boduroğlu · abf1dc0
feat: 🍽️ reorganize meal menus and service views - group menus by week and day with slot filters and publishing panel - split meal detail into focused booking, account, dish and service components - add localized labels and date grouping tests
2026-09-22
fix: 🐛 UX pass from desktop and phone QA - lists: the /exams pager no longer snaps back to page 1 (a fresh rows array reset TanStack's page index); DataTable owns paging and resets only on sort, search or pageResetKey - list search, page, sort, filters, detail tabs and calendar view/date live in the URL (lib/url-state.ts), so Back and refresh keep them - DataTable: aria-sort, "no results for X" empty state with a clear action, no nested scroller, unboxed column-menu-only toolbar, inline status pills on phone cards, column min widths on tablets - courses filter reads "Şube: Tümü / Şubesi olan / Şubesi olmayan"; per-tab exam empty states; upcoming events soonest first - phone shell: content clears the quick-action button, which also hides for the /ai/study and message composers; opaque search dialog; the shell title is the page h1 when a page has none; skip link lands past the header; menu sheet makes the page behind it inert - touch: variant (coarse pointer or narrow screen) keeps 16px inputs and 44px targets on landscape phones and tablets; combobox list and /ai/studio producer no longer widen the page; heatmap labels don't collide - notifications: popover focuses itself, not "Tümünü sil", which now asks first; labelled theme buttons and dismiss targets - settings no longer look dirty on load and warn before leaving with real changes; exam create preselects the current term; exam kinds and meal keys show Turkish labels - homework grading has no "Tamamlandı" default for non-submitters; class edit shows the assigned homeroom teacher; admin demotion warns - instance "Ders saati" saves on Enter/Kaydet instead of blur and the karne switch confirms first - API 404s show "Kayıt bulunamadı" with a link back to the list instead of a retry; neutral confirm/discard copy; compose asks before discarding a draft; staff on student-only pages get an explanation - homework, calendar, dashboard deadlines and notifications name the class ("Matematik — 10-B") - dashboard charts include graded exams without a start time, ordered by id creation time; class card shows student counts - "Yakında" filler columns and KPI cards removed from management lists; marks split into average, band and exam count; teachers list the courses they teach; class filter on attendance and pomodoro listsBurak Boduroğlu · 37148ac
fix: 🐛 UX pass from desktop and phone QA
- lists: the /exams pager no longer snaps back to page 1 (a fresh rows
array reset TanStack's page index); DataTable owns paging and resets
only on sort, search or pageResetKey
- list search, page, sort, filters, detail tabs and calendar view/date
live in the URL (lib/url-state.ts), so Back and refresh keep them
- DataTable: aria-sort, "no results for X" empty state with a clear
action, no nested scroller, unboxed column-menu-only toolbar, inline
status pills on phone cards, column min widths on tablets
- courses filter reads "Şube: Tümü / Şubesi olan / Şubesi olmayan";
per-tab exam empty states; upcoming events soonest first
- phone shell: content clears the quick-action button, which also hides
for the /ai/study and message composers; opaque search dialog; the
shell title is the page h1 when a page has none; skip link lands past
the header; menu sheet makes the page behind it inert
- touch: variant (coarse pointer or narrow screen) keeps 16px inputs
and 44px targets on landscape phones and tablets; combobox list and
/ai/studio producer no longer widen the page; heatmap labels don't
collide
- notifications: popover focuses itself, not "Tümünü sil", which now
asks first; labelled theme buttons and dismiss targets
- settings no longer look dirty on load and warn before leaving with
real changes; exam create preselects the current term; exam kinds and
meal keys show Turkish labels
- homework grading has no "Tamamlandı" default for non-submitters; class
edit shows the assigned homeroom teacher; admin demotion warns
- instance "Ders saati" saves on Enter/Kaydet instead of blur and the
karne switch confirms first
- API 404s show "Kayıt bulunamadı" with a link back to the list instead
of a retry; neutral confirm/discard copy; compose asks before
discarding a draft; staff on student-only pages get an explanation
- homework, calendar, dashboard deadlines and notifications name the
class ("Matematik — 10-B")
- dashboard charts include graded exams without a start time, ordered
by id creation time; class card shows student counts
- "Yakında" filler columns and KPI cards removed from management lists;
marks split into average, band and exam count; teachers list the
courses they teach; class filter on attendance and pomodoro lists2026-09-17
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 → 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-07-28
feat(meals): 🍽️ add meal managementBurak Boduroğlu · 4307fb0
feat(meals): 🍽️ add meal management - add role-aware menus, bookings, service, and balance flows - expose meal and AI policy settings with server limits - add English and Turkish interface copy