Skip to content

feat: implement in-app notification system with bell icon#218

Merged
knoxiboy merged 2 commits into
knoxiboy:mainfrom
Krish-Makadiya:feat/in-app-notifications
May 25, 2026
Merged

feat: implement in-app notification system with bell icon#218
knoxiboy merged 2 commits into
knoxiboy:mainfrom
Krish-Makadiya:feat/in-app-notifications

Conversation

@Krish-Makadiya
Copy link
Copy Markdown
Contributor

@Krish-Makadiya Krish-Makadiya commented May 22, 2026

Description

This PR introduces a complete in-app notification system to DoubtDesk to improve user engagement. Users will now receive real-time alerts when someone replies to their doubts without having to refresh or manually check for updates.

Closes #190

Key Changes

  • Added a notificationsTable to the schema and configured database migrations.
  • Created GET and PATCH API routes at /api/notifications for fetching and managing unread states.
  • Built a new NotificationBell UI component using Radix UI and SWR for polling.
  • Integrated the bell into DashboardLayout.
  • Wired the /api/replies route to automatically insert a notification for the doubt author when a reply is posted.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

@Krish-Makadiya is attempting to deploy a commit to the Karan Mani Tripathi 's projects Team on Vercel.

A member of the Team first needs to authorize it.

knoxiboy

This comment was marked as spam.

@knoxiboy knoxiboy added type:feature New feature level:intermediate Intermediate level task gssoc'26 GSSoC program issue labels May 23, 2026
Copy link
Copy Markdown
Owner

@knoxiboy knoxiboy left a comment

Choose a reason for hiding this comment

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

(Automated check cleared)

@Krish-Makadiya
Copy link
Copy Markdown
Contributor Author

Krish-Makadiya commented May 23, 2026

Done broo!!

I think this issue should was a bit advanced, as it had lot of inbuild functionalities, which had to be refactored and been monitored and tested.. just my opinion.
Thanks...

@knoxiboy knoxiboy added gssoc:approved Approved for GSSoC mentor:knoxiboy Reviewed by mentor knoxiboy labels May 24, 2026
knoxiboy

This comment was marked as spam.

knoxiboy

This comment was marked as spam.

Copy link
Copy Markdown
Owner

@knoxiboy knoxiboy left a comment

Choose a reason for hiding this comment

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

Hi @Krish-Makadiya! This PR currently has merge conflicts with the main branch. Please pull the latest changes, resolve the conflicts locally, and push again so we can merge it. Thank you!

@knoxiboy knoxiboy added level:advanced Advanced level task and removed level:intermediate Intermediate level task labels May 24, 2026
@knoxiboy knoxiboy self-requested a review May 24, 2026 12:26
@knoxiboy knoxiboy added gssoc and removed gssoc labels May 24, 2026
Copy link
Copy Markdown
Owner

@knoxiboy knoxiboy left a comment

Choose a reason for hiding this comment

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

Automated review: Thank you for starring the repository! The PR is approved.

@knoxiboy knoxiboy merged commit 2253d49 into knoxiboy:main May 25, 2026
1 of 4 checks passed
@knoxiboy knoxiboy added the quality:clean Clean code quality label May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved Approved for GSSoC gssoc'26 GSSoC program issue level:advanced Advanced level task mentor:knoxiboy Reviewed by mentor knoxiboy quality:clean Clean code quality type:feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add doubt reply notifications with in-app notification bell

2 participants