Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates both backend appointment validation rules and several frontend UI areas (student dashboard, auth form styling, logo, and hover animations) to improve scheduling constraints and the user experience.
Changes:
- Updated appointment working hours and minimum advance booking time; switched appointment validation errors to
HttpErrorwith status codes. - Revamped student dashboard “My lessons today” UI (cards + counts) and adjusted teacher dashboard filtering to show only approved lessons.
- Added a new logo asset + logo component update, plus UI animations (auth form border + mouse-follow title effect) and navigation tweaks on the home page.
Reviewed changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| server/src/validation/appointment/appointmentValidation.constants.ts | Adjusts working hours and minimum advance time constants for appointments. |
| server/src/validation/appointment/appointmentScheduleValidation.ts | Uses HttpError for validation failures with proper HTTP status codes. |
| server/src/validation/appointment/appointmentBusinessValidation.ts | Uses HttpError for business-rule validation failures with status codes. |
| client/src/styles/auth.css | Adds animated gradient border effect to the auth form. |
| client/src/layouts/RootLayout.tsx | Enables the new global mouse-follow title effect hook. |
| client/src/hooks/useMouseFollowEffect.ts | Adds a mouse-follow “spotlight” + title glow effect across pages. |
| client/src/components/teacherSection/Reviews/AddReview.tsx | Improves review lesson label to include appointment time. |
| client/src/components/teacherDashboard/MyLessonsSection.tsx | Filters “today lessons” to approved lessons only. |
| client/src/components/logo/Logo.tsx | Switches logo to an SVG image + text layout. |
| client/src/components/homeSection/PopularSubjects/PopularSubjects.tsx | Makes “Start” buttons navigate to teachers and scroll to top. |
| client/src/components/homeSection/Features/Features.tsx | Removes the “More” button section. |
| client/src/components/clientsDashboard/StudentLessonCard.tsx | Introduces a card UI for displaying a student’s lesson summary. |
| client/src/components/clientsDashboard/MyTeachersCard.tsx | Adds an animated KPI card showing unique teachers count. |
| client/src/components/clientsDashboard/MyLessonsSection.tsx | Reworks student dashboard lessons section to use KPI cards + lesson cards grid. |
| client/src/components/clientsDashboard/MyLessonsCard.tsx | Adds an animated KPI card showing total lessons count. |
| client/src/assets/logo.svg | Adds the new SVG logo asset. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Dmytro-Doronin
approved these changes
Mar 6, 2026
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.
new big file - logo.svg created in Adobe Illustrator
dashboard student

Logo

Animation on titles
Animation on form
