Skip to content

Added Slack notifications for mentorships - #461

Merged
stasel merged 1 commit into
mainfrom
backend/mentorship-slack-notifications
Nov 6, 2026
Merged

stasel merged 1 commit into
mainfrom
backend/mentorship-slack-notifications

Conversation

@stasel

@stasel stasel commented Nov 6, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings November 6, 2026 10:48

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.

🟢 Approval recommended

The review identifies no active issues with the mentorship and check-in notification changes.

No open issues 🎉

What changed in this PR

Extends Dojo’s Slack notifications to mentorship creation and check-ins, including profile links and reporter attribution while keeping check-in notes private.

Changes:

  • Adds mentorship and check-in notifications with participant links and dates.
  • Passes the authenticated user through create endpoints and distinguishes existing interaction notification headings.
  • Adds tests for notification content and exclusion of check-in notes, using mocked Slack delivery.
File Description
server-spring/​src/​test/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​MentorshipTest.java Tests mentorship notifications with an authenticated reporter.
server-spring/​src/​test/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​checkin/​MentorshipCheckinTest.java Tests check-in notifications and exclusion of private notes.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​slack/​SlackNotificationSender.java Formats new notifications and clarifies interaction headings.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​MentorshipService.java Sends a notification when creating a mentorship.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​MentorshipController.java Passes the authenticated user to mentorship creation.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​Mentorship.java Provides the mentorship profile path for links.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​checkin/​MentorshipCheckinService.java Loads mentorship details and sends check-in notifications.
server-spring/​src/​main/​java/​nl/​hackyourfuture/​dojoserver/​mentorship/​checkin/​MentorshipCheckinController.java Passes the authenticated user to check-in creation.

Review effort: Balanced

@stasel
stasel merged commit 64adb02 into main Nov 6, 2026
5 checks passed
@stasel
stasel deleted the backend/mentorship-slack-notifications branch November 6, 2026 10:52
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