Notifications
The notification system keeps users informed about important events and activities on the Kin Conecta platform. From new messages to booking updates and review notifications, the system ensures users stay connected and engaged.Notifications are delivered through the platform interface with plans for email and push notification support in future releases.
System Overview
Notifications are event-driven messages that inform users about activities relevant to their account.Real-time Alerts
Notifications are generated immediately when relevant events occur on the platform.
Type Categories
Different notification types for messages, bookings, reviews, and system updates.
Read Status
Track which notifications have been read with timestamps for user experience.
Entity Linking
Notifications link to related entities (messages, tours, reviews) for easy navigation.
Notification Structure
Each notification contains detailed information about the event:Field Descriptions
notificationId
notificationId
Unique identifier for the notification. Auto-generated by the system.
userId
userId
The ID of the user who should receive this notification. Links notification to recipient.
type
type
Category of notification for filtering and display styling. Examples:
new_message: New chat message receivedbooking_request: New tour booking requestbooking_confirmed: Booking confirmationreview_received: New review on your profilereply_to_review: Guide replied to your reviewmatch_found: New compatible profile foundsystem_update: Platform updates or announcements
title
title
Short, attention-grabbing headline summarizing the notification (60-80 characters).
body
body
More detailed description providing context about the notification event.
relatedEntityType
relatedEntityType
relatedEntityId
relatedEntityId
isRead
isRead
Boolean flag indicating whether the user has viewed this notification.
createdAt
createdAt
Timestamp when the notification was generated.
readAt
readAt
Timestamp when the user marked the notification as read.
null if unread.Notification Types
The system supports various notification categories to cover different user interactions:For Tourists
Message Notifications
- Guide responded to your inquiry
- New message from your guide
- Message thread updated
Booking Notifications
- Booking request confirmed
- Booking request declined
- Tour date/time changed
- Upcoming tour reminder (24h before)
Match Notifications
- New compatible guide found
- Guide viewed your profile
- Recommended guides updated
Review Notifications
- Guide replied to your review
- Reminder to review completed tour
For Guides
Message Notifications
- New inquiry from tourist
- Tourist responded to your message
Booking Notifications
- New booking request received
- Booking cancelled by tourist
- Payment received confirmation
Review Notifications
- New review received
- Your review was liked
- Average rating updated
Profile Notifications
- Profile verification approved
- Tourist viewed your profile
- New compatible tourist found
User Experience
Notification Generated
The system creates a notification record with appropriate type, title, body, and entity links.
Visual Indicator
User sees a badge or counter on the notification bell icon indicating unread notifications.
Take Action
User clicks a notification to navigate to the related entity (message, booking, review, etc.).
Implementation Details
The notification system is implemented with:Core Components
Database Schema
Frontend Integration
Notifications are displayed in the user interface:Notification Bell
Key UI Elements
Bell Icon
Always-visible icon in the header showing notification badge with unread count.
Dropdown List
Clicking the bell reveals a dropdown with recent notifications (typically last 10-20).
Notification Item
Each notification shows icon, title, body, and timestamp. Unread notifications are highlighted.
See All Link
Link to full notifications page for viewing complete history.
API Patterns
While specific API endpoints are under development, typical notification operations include:Get User Notifications
Mark as Read
readAt timestamp.
Mark All as Read
Get Unread Count
Notification Delivery Channels
Current: In-App Notifications
Notifications are currently delivered through the web application interface. Advantages:- Real-time updates while user is active
- No additional setup required
- Rich formatting and interactive elements
Future: Multi-Channel Delivery
Email notifications for important events (bookings, reviews) or digest of activity.
Push Notifications
Browser and mobile app push notifications for real-time alerts even when app is closed.
SMS
Critical notifications like booking confirmations or tour reminders via text message.
Notification Preferences
Users should be able to control their notification settings:Notification Frequency
Notification Frequency
- Real-time: Receive notifications immediately
- Daily Digest: Summary of activity once per day
- Weekly Digest: Weekly summary of activity
Notification Types
Notification Types
Users can enable/disable specific notification types:
- Messages and inquiries
- Bookings and confirmations
- Reviews and replies
- Match recommendations
- Marketing and updates
Delivery Channels
Delivery Channels
Choose which channels to receive notifications:
- In-app notifications
- Email notifications
- Push notifications
- SMS notifications (critical only)
Best Practices
For Implementation
Be Timely
Generate notifications immediately when events occur for maximum relevance.
Be Concise
Keep titles short and bodies informative but brief. Users scan notifications quickly.
Be Actionable
Always link to the relevant entity so users can take immediate action.
Avoid Spam
Don’t over-notify. Group related events and allow users to control frequency.
For Content
- Use Active Voice: “Ana sent you a message” not “A message was sent”
- Personalize: Include names and specific details
- Create Urgency: For time-sensitive notifications (“Tour starts in 24 hours”)
- Be Clear: Avoid ambiguity about what happened and what action is needed
Performance Considerations
Future Enhancements
Planned improvements to the notification system:- Smart Grouping: Automatically group similar notifications (“3 new messages from Ana”)
- Priority Levels: Distinguish between critical, important, and informational notifications
- Rich Media: Include images and interactive buttons in notifications
- Notification History: Full searchable archive of all past notifications
- Real-time Delivery: WebSocket integration for instant in-app notifications
- AI Summarization: AI-generated summaries for digest notifications
- Cross-device Sync: Mark as read on one device, syncs across all devices
- Do Not Disturb: Quiet hours scheduling to avoid late-night notifications