Skip to content

feat: implement realtime notification and activity infrastructure#387

Open
saidai-bhuvanesh wants to merge 7 commits into
anubhavxdev:mainfrom
saidai-bhuvanesh:feature/realtime-notification-activity-infrastructure
Open

feat: implement realtime notification and activity infrastructure#387
saidai-bhuvanesh wants to merge 7 commits into
anubhavxdev:mainfrom
saidai-bhuvanesh:feature/realtime-notification-activity-infrastructure

Conversation

@saidai-bhuvanesh
Copy link
Copy Markdown

@saidai-bhuvanesh saidai-bhuvanesh commented Jun 3, 2026

Overview

This PR builds a scalable, centralized notification and activity tracking infrastructure for EventOne, utilizing real-time Socket.IO communication, unread state sync, and a premium organizer dashboard activity log feed.

Key Changes

  • Database & Services: Added the ActivityLog mongoose schema with 90-day TTL and a centralized logger service (logActivity).
  • Realtime Unread Sync: Realtime unread count updates via socket when notifications are created, deleted, or marked read.
  • Organizer Activity Timeline: Exposed /api/events/activities/organizer route and created a sleek vertical timeline tab on the organizer dashboard.
  • Realtime Event Broadcasts: Dashboard instantly pulls and displays new activities in real-time.
  • Robust Debugging & Cleanup: Fixed multiple frontend reference and scoping bugs in CustomerDashboard.jsx, SocketContext.jsx, and CoOrganizerPanel.jsx.

🔗 Related Issue
Closes #387

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 3, 2026

Someone is attempting to deploy a commit to the anubhav12302387's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

👋 Thanks for opening a PR, @saidai-bhuvanesh!

Your PR has entered the 🎯 EventOne GSSoC PR Review Pipeline.

🟢 GSSoC PR detected — your PR will be routed to an approved GSSoC mentor for Stage 2 review.

What happens next

Stage Reviewer Checks
Stage 1 — Automated Validation 🤖 Bot Title format · Issue link · AI Slop · Branch check
Stage 2 — Mentor Review 🧑‍🏫 GSSoC Mentor Code + Quality Review
Stage 3 — Admin Final Gate 🔑 @anubhavxdev Label check + Final Merge Decision

A pipeline status comment will appear below and update automatically as your PR progresses.


While you wait

  • Sign all commits using git commit -s
  • Link your issue with Closes #123
  • Use a feature branch — not main
  • Avoid unrelated changes in the same PR
  • Write your own description — no AI-generated content

This comment is posted only once.

EventOne × GSSoC Automated Pipeline

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

❌ PR Format Check — Failed — Please Fix Below

Hi @saidai-bhuvanesh! Please fix the issues below before your PR can proceed to mentor review.

❌ Must Fix Before Proceeding

Issue #387 is not assigned to you (@saidai-bhuvanesh) — You must be assigned to the issue before submitting a PR.

Comment /assign on Issue #387 or ask a maintainer to assign it to you.

⚠️ Warnings (recommended)

⚠️ No testing steps mentioned — Add how reviewers can verify your changes


📋 EventOne PR Guidelines (click to expand)

Title format — Conventional Commits:
feat: · fix: · docs: · style: · refactor: · test: · chore: · perf:

Always link an issue: Closes #number

Use a feature branch — never PR directly from main

Write your own description — AI-generated content = gssoc:ai-slop label

EventOne × GSSoC Pipeline — Stage 1 Automated Check

@saidai-bhuvanesh saidai-bhuvanesh changed the title Feature/realtime notification activity infrastructure feat: implement realtime notification and activity infrastructure Jun 3, 2026
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.

1 participant