Skip to content

feat: created student card appointment - #124

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

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

Conversation

@dashaaaa21

Copy link
Copy Markdown
Contributor

Update UI for students appointments
Знімок екрана 2026-02-28 о 10 40 03

Знімок екрана 2026-02-28 о 10 39 26

Copilot AI review requested due to automatic review settings February 28, 2026 09:45
@HackYourFutures
HackYourFutures temporarily deployed to study-bridge-fe-be-upda-pkmevh February 28, 2026 09:45 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 updates the student “My Appointments” page UI by replacing the previous table-based layout with a new card-based appointment presentation, including status styling, teacher avatar display, and a join/past indicator.

Changes:

  • Replaced the appointments table view with a list of AppointmentCard components on the student appointments page.
  • Added a new appointmentCard component set (card, status bar, avatar, info, join button) plus styling utilities.
  • Added client-side teacher profile fetching to display teacher avatars in appointment cards.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
client/src/pages/privateStudentsPages/clientsAppointments/ClientsAppointments.tsx Switches student appointments UI from table to card list; adds teacher data fetching for avatars.
client/src/components/appointmentCard/appointmentCard.utils.ts Adds status-to-style mapping and internal video-call link helper.
client/src/components/appointmentCard/AppointmentStatusBar.tsx New status/date/time header bar for appointment cards.
client/src/components/appointmentCard/AppointmentJoinButton.tsx New “Join”/“Past”/“N/A” rendering for video call access.
client/src/components/appointmentCard/AppointmentInfo.tsx New card body section for lesson/teacher/price display.
client/src/components/appointmentCard/AppointmentCard.tsx Composes the card UI and applies status-based styling and join gating logic.
client/src/components/appointmentCard/AppointmentAvatar.tsx Displays teacher avatar with fallback icon.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread client/src/components/appointmentCard/AppointmentCard.tsx
Comment thread client/src/components/appointmentCard/AppointmentStatusBar.tsx
Comment thread client/src/components/appointmentCard/AppointmentCard.tsx
@HackYourFutures
HackYourFutures temporarily deployed to study-bridge-fe-be-upda-pkmevh February 28, 2026 10:15 Inactive
@dashaaaa21
dashaaaa21 merged commit e116146 into develop Feb 28, 2026
2 checks passed

This branch was previously deployed

1 inactive deployment
study-bridge-fe-be-upda-pkmevh — b8c1f76e 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