Fe/be/update appointments - #127
Merged
Merged
Conversation
HackYourFutures
temporarily deployed
to
study-bridge-fe-be-upda-mhhvuf
February 28, 2026 12:44
Inactive
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extends the teacher appointments UI to support managing “regular students” and editing the teacher’s weekly lesson availability from the appointments area.
Changes:
- Adds a Regular Students tab backed by
localStoragepersistence and “Add to Regular” actions on approved appointments. - Wires weekly schedule fetch/update APIs into the Regular Students flow and opens the
LessonSchedulemodal from appointment cards. - Updates appointment card/list components to support regular-tab behavior and schedule-related UI controls.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
client/src/pages/privetTeachersPages/teacherAppointments/TeacherAppointments.tsx |
Adds regular-students state/persistence and schedule modal open/save handlers. |
client/src/components/teacherProfileSection/ProfileExperienceEducation.tsx |
Makes schedule-click handling safer (prevent bubbling) and optional. |
client/src/components/teacherAppointmentCard/TeacherAppointmentsList.tsx |
Adds regular-tab wiring (add/remove regular, schedule click) and conditional actions. |
client/src/components/teacherAppointmentCard/TeacherAppointmentStatusBar.tsx |
Adds optional “Choose schedule” button UI in the status bar. |
client/src/components/teacherAppointmentCard/TeacherAppointmentCard.tsx |
Passes regular-tab and schedule props down to status/actions. |
client/src/components/teacherAppointmentCard/TeacherAppointmentActions.tsx |
Adds “Add to Regular” / “Remove from Regular” actions and adjusts visibility rules. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Alaa2019-ml
approved these changes
Feb 28, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.