Commits
2026-09-18
feat: ✅ roll call in a few taps - one list instead of 8-row pages with a picker and a Save button per student: each row has status buttons (the school's statuses from /settings) and a tap saves that row at once, optimistically, reverting with an error if the save fails - "mark the rest present" fills every unmarked student (the teacher row stays a deliberate call), four requests at a time since the API takes one row per call; the button shows its progress - a sticky header shows marked/total, a progress bar and per-status counts; "only unmarked" filters the list - an unmarked row stays visibly unmarked; nothing reads as present until it is saved - fix: the roster renders before the saved marks load, and a tap in that gap was overwritten by them; the buttons now wait for the marks - the roll call panel opens wide so the status buttons sit on one line - tests: teacher row rights, one-tap save without refetch, mark the rest present skips marked rows, a failed save revertsBurak Boduroğlu · 9bea6a1
feat: ✅ roll call in a few taps - one list instead of 8-row pages with a picker and a Save button per student: each row has status buttons (the school's statuses from /settings) and a tap saves that row at once, optimistically, reverting with an error if the save fails - "mark the rest present" fills every unmarked student (the teacher row stays a deliberate call), four requests at a time since the API takes one row per call; the button shows its progress - a sticky header shows marked/total, a progress bar and per-status counts; "only unmarked" filters the list - an unmarked row stays visibly unmarked; nothing reads as present until it is saved - fix: the roster renders before the saved marks load, and a tap in that gap was overwritten by them; the buttons now wait for the marks - the roll call panel opens wide so the status buttons sit on one line - tests: teacher row rights, one-tap save without refetch, mark the rest present skips marked rows, a failed save reverts
2026-09-17
refactor: 🧑🏫 lift lesson roll call into its own component - move the roll-call list out of CourseSessionsPanel into components/sessions/session-roll-call.tsx, with its own test - the session's teacher gets a presence row of their own, offered only to a viewer who may manage staff, per the backend's ruleBurak Boduroğlu · 0a51c44
refactor: 🧑🏫 lift lesson roll call into its own component - move the roll-call list out of CourseSessionsPanel into components/sessions/session-roll-call.tsx, with its own test - the session's teacher gets a presence row of their own, offered only to a viewer who may manage staff, per the backend's rule