Skip to content

Education tab Mentor section#267

Merged
MBreathe merged 10 commits intoHackYourFuture:mainfrom
MBreathe:feature/EducationT_mentor-info
Jan 26, 2026
Merged

Education tab Mentor section#267
MBreathe merged 10 commits intoHackYourFuture:mainfrom
MBreathe:feature/EducationT_mentor-info

Conversation

@MBreathe
Copy link
Copy Markdown
Contributor

This pull request introduces support for tracking mentor information (technical, HR, and English mentors) in trainee education records across the application. It updates the frontend, backend, and API schema to include these new fields, and also bumps several server dependencies to newer versions.

Mentor information feature:

  • Added techMentor, hrMentor, and engMentor fields to the TraineeEducationInfo interface in both frontend (client/src/models/Trainee.ts) and backend (server/src/models/Trainee.ts).

  • Updated the trainee education info schema to persist the new mentor fields in the database (server/src/schemas/TraineeSchema.ts).

  • Extended the OpenAPI schema to document the new mentor fields in the API (server/api.yaml).

  • Updated the EducationInfo React component to display and allow editing of the mentor fields in the UI (client/src/components/education/EducationInfo.tsx).
    Dependency updates:

  • Upgraded several server dependencies in server/package-lock.json, including axios, body-parser, debug, iconv-lite, js-yaml, jws, and multiple @smithy/* packages, improving security and compatibility.

Copilot AI review requested due to automatic review settings January 10, 2026 12:41
@MBreathe MBreathe self-assigned this Jan 10, 2026
@MBreathe MBreathe added FE Frontend ticket BE Backend ticket labels Jan 10, 2026
@MBreathe MBreathe linked an issue Jan 10, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request introduces support for tracking mentor information (technical, HR, and English mentors) in trainee education records across all layers of the application stack. The changes are implemented consistently from the database schema through the API to the frontend UI.

Changes:

  • Added three new optional mentor fields (techMentor, hrMentor, engMentor) to the TraineeEducationInfo interface across both backend and frontend models
  • Updated the Mongoose schema, API documentation, and React UI component to support these new fields
  • Upgraded multiple server and client dependencies to newer versions for security and compatibility improvements

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
server/src/models/Trainee.ts Added three optional mentor field types to the TraineeEducationInfo interface
server/src/schemas/TraineeSchema.ts Updated Mongoose schema to persist mentor fields with proper defaults
server/api.yaml Extended OpenAPI specification to document the new mentor fields
client/src/models/Trainee.ts Added mentor fields to frontend TypeScript interface matching backend
client/src/components/education/EducationInfo.tsx Implemented UI form fields for displaying and editing mentor information
server/package-lock.json Updated multiple dependencies including axios, body-parser, debug, and AWS SDK packages
client/package-lock.json Updated multiple dependencies including esbuild, vite, react-router, and related packages
Files not reviewed (2)
  • client/package-lock.json: Language not supported
  • server/package-lock.json: Language not supported

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

Comment thread client/src/components/education/EducationInfo.tsx Outdated
@MBreathe MBreathe force-pushed the feature/EducationT_mentor-info branch from 8af700b to 606505a Compare January 13, 2026 12:27
@HackYourFutures HackYourFutures temporarily deployed to dojo-feature-educationt-b5ltwe January 20, 2026 11:22 Inactive
Comment thread server/api.yaml Outdated
@stasel
Copy link
Copy Markdown
Member

stasel commented Jan 20, 2026

Looks very nice. Can you let it fill the width of the screen a bit more? Similar to the contact or personal tabs. Something like until the red line in this screenshot

image

@HackYourFutures HackYourFutures temporarily deployed to dojo-feature-educationt-b5ltwe January 21, 2026 10:55 Inactive
@HackYourFutures HackYourFutures temporarily deployed to dojo-feature-educationt-b5ltwe January 21, 2026 14:06 Inactive
@HackYourFutures HackYourFutures temporarily deployed to dojo-feature-educationt-b5ltwe January 23, 2026 10:45 Inactive
Comment thread client/src/components/education/EducationInfo.tsx Outdated
@HackYourFutures HackYourFutures temporarily deployed to dojo-feature-educationt-b5ltwe January 26, 2026 12:46 Inactive
@MBreathe MBreathe merged commit 7d13008 into HackYourFuture:main Jan 26, 2026
1 check passed
@MBreathe MBreathe deleted the feature/EducationT_mentor-info branch January 26, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BE Backend ticket FE Frontend ticket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add mentor information to the education tab

4 participants