Team Dashboard

Showcase of new collaboration features

Team Activity
Real-time feed of all team actions and updates
No activity yet
Integration Guide
How to use these features in your app

1. Activity Logging

import { useActivityLog } from './hooks/useActivityLog'

const { logActivity } = useActivityLog(teamId)

// Log an action
await logActivity({
  action: ActivityAction.FILE_UPLOADED,
  entity_type: EntityType.FILE,
  entity_name: 'Report.pdf'
})

2. Notifications

// Notifications are automatically shown via the
// NotificationCenter component in the layout

3. @Mentions

import { MentionInput } from './components/mentions/MentionInput'

<MentionInput
  value={text}
  onChange={(val, mentions) => {
    setText(val)
    setMentions(mentions)
  }}
  teamId={teamId}
/>