Skip to content

Show lesson number on each reported lesson in teacher-reported-today - #221

Closed
buzz-code wants to merge 1 commit into
mainfrom
claude/project-thread-rma0qh
Closed

buzz-code wants to merge 1 commit into
mainfrom
claude/project-thread-rma0qh

Conversation

@buzz-code

Copy link
Copy Markdown
Owner

Requested by הדסה · project thread

Before: in the "teachers who reported today" report, reported lessons show only the report hour; only the empty gap boxes (from #218) say "שיעור X". Users can't tell which lesson number each reported box is.

After: when lesson times are set in settings, each reported lesson shows "שיעור N" under its hour, using the same lesson matching as the gap boxes. Admins viewing other users see no number, same as gaps.

How: new getReportPeriod(row, lessonTimes) in client/src/utils/lessonGaps.js reuses getDayPeriods/getPeriodIndex; LessonRow renders the number. Tests added; roadmap entry added. Client tests: 243 pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FGf2BmdqG8tsPLXvBQLmCr


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FGf2BmdqG8tsPLXvBQLmCr
@buzz-code buzz-code self-assigned this Oct 16, 2026
@buzz-code buzz-code closed this Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants