Skip to content

Added participant field to mentorship checkins - #462

Merged
stasel merged 1 commit into
mainfrom
mentorship-checkin-participant
Nov 10, 2026
Merged

stasel merged 1 commit into
mainfrom
mentorship-checkin-participant

Conversation

@stasel

@stasel stasel commented Nov 10, 2026 •

Copy link
Copy Markdown
Member
image

Copilot AI balanced review requested due to automatic review settings November 10, 2026 14:01

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.

🟡 Changes recommended

The check-in list incorrectly attributes staff check-ins to the participant by using “by” instead of “with” in both display branches.

1 open issue
What changed in this PR

Adds participant tracking to mentorship check-ins so staff can record whether they checked in with the mentor or trainee.

Changes:

  • Persists and validates the participant, backfilling existing check-ins as mentor check-ins.
  • Adds participant selection and display, using first or preferred names in the timeline.
  • Updates Slack notifications, setup data, and backend tests.
File Description
server-spring/​src/​test/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​MentorshipTest.java Tests first-name and preferred-name responses.
server-spring/​src/​test/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​checkin/​MentorshipCheckinTest.java Tests participant persistence, validation, updates, and notifications.
server-spring/​src/​main/​resources/​db/​migration/​V2__mentorship_checkin_participant.sql Adds the required participant column and backfills existing records.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​volunteer/​dto/​VolunteerReferenceResponse.java Exposes volunteer first names.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​trainee/​profile/​dto/​TraineeReferenceResponse.java Exposes trainee preferred or first names.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​slack/​SlackNotificationSender.java Includes participants in check-in notifications.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​checkin/​MentorshipCheckinService.java Saves participants during creation and updates.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​checkin/​MentorshipCheckinParticipant.java Defines mentor and trainee participant values.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​checkin/​MentorshipCheckin.java Maps the participant as a persisted string enum.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​checkin/​dto/​MentorshipCheckinResponse.java Returns the participant in API responses.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​checkin/​dto/​MentorshipCheckinRequest.java Requires a participant in API requests.
scripts/​setup/​dojo_setup/​generators/​checkin.py Generates sample check-in participants.
client/​src/​features/​mentorships/​Mentorship.ts Adds first names to mentorship person references.
client/​src/​features/​mentorships/​checkins/​MentorshipCheckins.tsx Passes participant names to the timeline and dialog.
client/​src/​features/​mentorships/​checkins/​MentorshipCheckinParticipant.ts Defines client participant values.
client/​src/​features/​mentorships/​checkins/​MentorshipCheckin.ts Adds the participant to the domain model.
client/​src/​features/​mentorships/​checkins/​components/​MentorshipCheckinsList.tsx Displays participant names and roles.
client/​src/​features/​mentorships/​checkins/​components/​MentorshipCheckinDialog.tsx Adds required participant selection.
client/​src/​features/​mentorships/​checkins/​api/​types.ts Adds the participant to API types.
client/​src/​features/​mentorships/​checkins/​api/​mapper.ts Maps participants between API and domain models.
client/​src/​features/​mentorships/​api/​types.ts Adds first names to API person references.
client/​src/​features/​mentorships/​api/​mapper.ts Maps first names into mentorship references.

Review effort: Balanced

@stasel
stasel force-pushed the mentorship-checkin-participant branch from 8f0ee1f to 0a444c7 Compare November 10, 2026 14:09
@stasel
stasel force-pushed the mentorship-checkin-participant branch from 0a444c7 to 1ea8c0f Compare November 10, 2026 14:20
@stasel
stasel merged commit a7d1afb into main Nov 10, 2026
7 checks passed
@stasel
stasel deleted the mentorship-checkin-participant branch November 10, 2026 14:27
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.

2 participants