Commits
Commits on
dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/lib/today-lessons.test.tsClear filter2026-09-18
feat: 🎓 students get today's lessons on their board too - the student board's "today plan" coming-soon slot becomes the same TodayLessonsPanel with audience=student: the day's sessions from the student's sections, the one on now marked, and no roll-call reads (that route is the teacher's) - rows link to the section's sessions tab - tests for lessonNow and the student panelBurak Boduroğlu · c24b341
feat: 🎓 students get today's lessons on their board too - the student board's "today plan" coming-soon slot becomes the same TodayLessonsPanel with audience=student: the day's sessions from the student's sections, the one on now marked, and no roll-call reads (that route is the teacher's) - rows link to the section's sessions tab - tests for lessonNow and the student panel
feat: 🗓️ the teacher's board leads with today's lessons - TodayLessonsPanel replaces the "Bugünün Programı" coming-soon slot with real reads: the teacher's sections, each one's sessions filtered to the local day (all of them: the route is newest-first with no date filter), and each started lesson's roll-call count against the section's enrollment count - each lesson shows its time, course and topic and a state: not started, roll call not taken, n/total marked, or done; the header counts roll calls still waiting - a row links to /instances/$id?tab=sessions&rollCall=<session>, which opens the sessions tab and that lesson's roll call directly; the board itself still never takes attendance - today-lessons helpers (day bounds, today filter, roll-call state) with tests; dashboard test for the panel, checked across time zonesBurak Boduroğlu · 981b841
feat: 🗓️ the teacher's board leads with today's lessons - TodayLessonsPanel replaces the "Bugünün Programı" coming-soon slot with real reads: the teacher's sections, each one's sessions filtered to the local day (all of them: the route is newest-first with no date filter), and each started lesson's roll-call count against the section's enrollment count - each lesson shows its time, course and topic and a state: not started, roll call not taken, n/total marked, or done; the header counts roll calls still waiting - a row links to /instances/$id?tab=sessions&rollCall=<session>, which opens the sessions tab and that lesson's roll call directly; the board itself still never takes attendance - today-lessons helpers (day bounds, today filter, roll-call state) with tests; dashboard test for the panel, checked across time zones