Skip to content

feat(timeslot): alert students to hours lost on unused slots#1128

Merged
MeenakshiArunsankar merged 1 commit into
mainfrom
feat/timeslot-lost-hours-alert
Jun 28, 2026
Merged

feat(timeslot): alert students to hours lost on unused slots#1128
MeenakshiArunsankar merged 1 commit into
mainfrom
feat/timeslot-lost-hours-alert

Conversation

@MeenakshiArunsankar

Copy link
Copy Markdown
Collaborator

Surface the cost of missed slots. New GET /slot-bookings/my/hours endpoint returns a committed-hours summary — budget (incl. instructor-granted extra hours), hours reserved, and hours LOST to UNFULFILLED (booked-but-unused) slots. The student booking modal now shows a budget chip ("Xh of Yh left") and a red warning when hours have been lost: "You've lost 2h of your 16h budget to missed slots — cancel at least 1 hour before next time."

Surface the cost of missed slots. New GET /slot-bookings/my/hours endpoint
returns a committed-hours summary — budget (incl. instructor-granted extra
hours), hours reserved, and hours LOST to UNFULFILLED (booked-but-unused)
slots. The student booking modal now shows a budget chip ("Xh of Yh left")
and a red warning when hours have been lost: "You've lost 2h of your 16h
budget to missed slots — cancel at least 1 hour before next time."

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added frontend Changes to the frontend of the project backend labels Jun 28, 2026
@MeenakshiArunsankar MeenakshiArunsankar merged commit e52749b into main Jun 28, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend frontend Changes to the frontend of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant