Skip to content

Fe/be/update appointments - #127

Merged
dashaaaa21 merged 3 commits into
developfrom
FE/BE/update-appointments
Feb 28, 2026
Merged

dashaaaa21 merged 3 commits into
developfrom
FE/BE/update-appointments

Conversation

@dashaaaa21

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 28, 2026 12:44
@HackYourFutures
HackYourFutures temporarily deployed to study-bridge-fe-be-upda-mhhvuf February 28, 2026 12:44 Inactive

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 localStorage persistence and “Add to Regular” actions on approved appointments.
  • Wires weekly schedule fetch/update APIs into the Regular Students flow and opens the LessonSchedule modal 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.

@dashaaaa21
dashaaaa21 merged commit e9f22ca into develop Feb 28, 2026
6 checks passed

This branch was previously deployed

1 inactive deployment
study-bridge-fe-be-upda-mhhvuf — 95e61483 Deployed Feb 28, 2026 by HackYourFutures
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.

4 participants