Skip to content

Add mentorship chat feature#198

Closed
sanikaspj07-crypto wants to merge 3 commits into
Coder-s-OG-s:mainfrom
sanikaspj07-crypto:main
Closed

Add mentorship chat feature#198
sanikaspj07-crypto wants to merge 3 commits into
Coder-s-OG-s:mainfrom
sanikaspj07-crypto:main

Conversation

@sanikaspj07-crypto

@sanikaspj07-crypto sanikaspj07-crypto commented May 21, 2026

Copy link
Copy Markdown

Summary

This PR introduces a real‑time mentorship chat system within MergeShip. It enables Level 2 contributors to guide Level 1, and Level 3 mentors to guide Level 2, directly inside the platform. The chat system strengthens the hierarchical peer mentorship model by making communication faster, more engaging, and transparent.

Type of Change

  • New feature
  • UI / UX improvement

Related Issue

Closes #

What Was Changed?

  • Added new Drizzle ORM schema for mentorship_sessions and messages.
  • Integrated Supabase Realtime channels with WebSocket fallback for live chat.
  • Built chat panel component in contributor dashboard (src/components/chat/).
  • Added sidebar to display active mentorship sessions.
  • Implemented typing indicators, message timestamps, and read receipts.
  • Configured Inngest background jobs to log mentorship sessions for transparency.
  • Added API endpoint to fetch session logs for admins/mentors.

Screenshots

before screenshot
before
after screenshot
after

Checklist

  • My code follows MergeShip’s project structure and conventions
  • I tested this locally (npm run dev)
  • No hardcoded secrets or credentials
  • I have updated documentation if needed
  • Added/updated tests with Vitest for new logic
  • Lint passes with zero warnings

@vercel

vercel Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

@sanikaspj07-crypto is attempting to deploy a commit to the codersogs-3057's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Soumya-codr

Copy link
Copy Markdown
Collaborator

Kindly upload the screenshot of changes that u have made before and after and please mark that area in the screenshot that have changed

Thanks

@vercel

vercel Bot commented May 21, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mergeship Error Error Jun 5, 2026 9:24am

@Siddhartha-singh01 Siddhartha-singh01 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM !

@Soumya-codr Soumya-codr added GSSOC26 GirlScript Summer of Code 2026 ui/ux UI or UX improvement level:intermediate Intermediate level difficulty quality:clean Clean, well-structured contribution type:design UI/UX design change gssoc:approved Approved by GSSOC admin frontend Frontend / UI related NSoC'26 NSoc level 1 labels May 25, 2026
@Soumya-codr

Copy link
Copy Markdown
Collaborator
image I am not be able to see the changes kindly tell me the exact route where u have changed the things

@sanikaspj07-crypto

Copy link
Copy Markdown
Author

@Soumya-codr
The changes were made in:
src/app/(app)/dashboard/page.tsx (dashboard integration)
src/components/chat/MentorshipSessionsSidebar.tsx (new sidebar)
src/components/chat/ChatPanel.tsx (chat panel UI)
src/lib/chat/ (business logic)
supabase/migrations/ (database schema)
inngest/mentorship.ts (session logging)

@Soumya-codr

Copy link
Copy Markdown
Collaborator

@Soumya-codr The changes were made in: src/app/(app)/dashboard/page.tsx (dashboard integration) src/components/chat/MentorshipSessionsSidebar.tsx (new sidebar) src/components/chat/ChatPanel.tsx (chat panel UI) src/lib/chat/ (business logic) supabase/migrations/ (database schema) inngest/mentorship.ts (session logging)

Can u please come to discord since i want to have a convo with u regarding the PR if possible https://discord.gg/y5PGasEce

@Soumya-codr

Copy link
Copy Markdown
Collaborator

Since there is no activity from two weeks I am Closing this PR , Ping me on discord with the PR to reopen it , Then i will do it here is the discord https://discord.gg/y5PGasEce

Thanks
Happy coding

@Soumya-codr Soumya-codr closed this Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI CD pending frontend Frontend / UI related gssoc:approved Approved by GSSOC admin GSSOC26 GirlScript Summer of Code 2026 level:intermediate Intermediate level difficulty NSoc level 1 NSoC'26 quality:clean Clean, well-structured contribution type:design UI/UX design change ui/ux UI or UX improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants