feat: created student card appointment - #124
Merged
Merged
Conversation
HackYourFutures
temporarily deployed
to
study-bridge-fe-be-upda-pkmevh
February 28, 2026 09:45
Inactive
Contributor
There was a problem hiding this comment.
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
AppointmentCardcomponents on the student appointments page. - Added a new
appointmentCardcomponent 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.
HackYourFutures
temporarily deployed
to
study-bridge-fe-be-upda-pkmevh
February 28, 2026 10:15
Inactive
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.
Update UI for students appointments
