Activity Module

Module

Activity tracking, audit logs, and notifications for system events.

Use this module when you need to track user actions, display activity feeds, or send notifications. Supports realtime broadcasts via Supabase channels.

Features

Activity Feed

Track user actions, notes, and system events with timestamps.

Notifications

Bell icon with notification panel for unread activities.

Realtime Broadcasts

Push updates via Supabase realtime channels.

Activity Types

Notes, reminders, tasks, and custom activity types.

Public API

import {
  // Components
  ActivityFeed, ActivityItem,
  NotificationBell, NotificationPanel,

  // Hooks
  useActivities, useNotifications,

  // Server
  activityServer, notificationServer,

  // Types
  ActivityType,
} from "@/modules/activity"

Try It

Full Documentation

For complete documentation including database setup, storage configuration, and removal instructions, see modules/activity/MODULE-ACTIVITY.md