NotificationsSystem - IEEE-Team-3/map GitHub Wiki

Trigger Sources

  • New chat messages
  • Mentions (@user)
  • Chat lock/unlock status
  • DMs received
  • Added to a new channel or team

Delivery Types

  • In-app toast + sidebar
  • Optional email
  • Future: Push notification support

Structure

  • type: "message" | "mention" | "chat_locked"
  • recipientId: user
  • sourceId: chat/message reference
  • message: notification text
  • read: Boolean
  • timestamp

Example

{
  type: "chat_locked",
  recipientId: "u123",
  sourceId: "c456",
  message: "Team #general chat was locked by Alice",
  read: false,
  timestamp: new Date()
}

UX

  • Bell icon with badge counter
  • Ability to mark all as read
  • Settings to disable specific types of alerts
⚠️ **GitHub.com Fallback** ⚠️