> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trilo.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Real-Time Collaboration

> Work together with your team in real-time across all Trilo features

Trilo is built for real-time collaboration. See changes as they happen, know when teammates are online, and work together seamlessly whether you're in the same room or across the world.

## Real-Time Features

### Instant Updates

Everything syncs in real-time:

* **Messages** appear instantly
* **Task changes** reflect immediately
* **Document edits** show as you type
* **Calendar updates** sync across views

No refreshing needed—changes appear as they happen.

### Presence Indicators

Know who's active in your workspace:

| Indicator      | Meaning                   |
| -------------- | ------------------------- |
| **Green dot**  | User is online and active |
| **Yellow dot** | User is online but idle   |
| **No dot**     | User is offline           |

Presence shows in:

* Member lists
* Chat conversations
* Document editing

## Collaborative Editing

### Working on Documents Together

Multiple people can edit the same page simultaneously:

**What you see:**

* Other users' cursors with their names
* Changes appearing in real-time
* Who's currently viewing the document

**How it works:**

1. Open a page that others are viewing
2. See their cursors and selections
3. Type and watch your changes appear for everyone
4. Their changes appear on your screen instantly

### Conflict-Free Editing

Trilo uses advanced technology to prevent conflicts:

* Two people can type in different places simultaneously
* Overlapping edits are merged intelligently
* No "save conflicts" or locked documents
* Changes sync automatically

### Best Practices for Co-Editing

<AccordionGroup>
  <Accordion title="Communicate while editing">
    Use chat alongside document editing to coordinate who's working on what section.
  </Accordion>

  <Accordion title="Work in different areas">
    When co-editing, try to work in different sections of the document to avoid stepping on each other.
  </Accordion>

  <Accordion title="Use comments for feedback">
    Instead of editing someone else's work directly, add comments for discussion.
  </Accordion>
</AccordionGroup>

## Real-Time Chat

### Instant Messaging

Chat messages appear immediately:

* Send a message, it appears for everyone
* No delay or polling
* Typing indicators show when someone is responding

### Typing Indicators

Know when someone is responding:

```
Sarah is typing...
```

Multiple people typing shows all names.

### Message Delivery

Messages are delivered instantly to:

* Active users (appear immediately)
* Offline users (appear when they return)
* Mobile users (via push notifications if enabled)

## Task Collaboration

### Live Task Updates

When someone updates a task:

* Status changes appear immediately
* Assignment changes show in real-time
* Comments appear without refresh

### Seeing Who's Working

On task boards:

* See who's viewing the same board
* Watch tasks move between columns
* Observe real-time progress

## Calendar Collaboration

### Shared Calendar Updates

* New events appear for all participants
* Changes sync across devices
* Booking availability updates in real-time

### Avoiding Conflicts

The calendar shows:

* When teammates have events
* Conflicting times
* Available slots for scheduling

## Notifications

### Real-Time Notifications

Get notified immediately about:

| Event           | Notification             |
| --------------- | ------------------------ |
| New message     | In-app alert, sound      |
| @mention        | Highlighted notification |
| Task assigned   | Alert with task details  |
| Calendar invite | Event notification       |

### Notification Delivery

Notifications arrive via:

* **In-app**: Badge counts and alerts
* **Desktop**: System notifications
* **Mobile**: Push notifications
* **Email**: For missed notifications (configurable)

## Working Across Time Zones

### Time Zone Support

Trilo handles time zones automatically:

* Events show in your local time
* Teammates see times in their local time
* All times convert correctly across zones

### Availability Awareness

See teammate availability:

* Check their local time
* See their online status
* Respect working hours

### Async-Friendly Features

For teams across time zones:

* Messages wait for recipients
* Task updates are logged with timestamps
* Activity history shows what happened while you were away

## Offline Behavior

### When You're Offline

Trilo handles offline gracefully:

* View cached content
* Draft messages (sent when reconnected)
* See an offline indicator

### Reconnecting

When connection returns:

* Drafts are sent
* New content syncs
* You're back to real-time

## Performance

### Optimized for Speed

Real-time features are optimized to be:

* Fast even with many users
* Efficient with bandwidth
* Responsive on all devices

### Large Teams

Trilo scales for large teams:

* Hundreds of concurrent users
* Multiple simultaneous editors
* High-volume chat

## Collaboration Tips

### General Tips

<AccordionGroup>
  <Accordion title="Use presence to coordinate">
    Check who's online before starting collaborative work. Coordinate timing for better collaboration.
  </Accordion>

  <Accordion title="Leverage real-time chat">
    When editing documents together, keep a chat conversation open to coordinate.
  </Accordion>

  <Accordion title="Don't fear simultaneous editing">
    The system handles conflicts well. Don't avoid co-editing—embrace it.
  </Accordion>

  <Accordion title="Stay connected">
    For real-time features to work best, maintain a stable internet connection.
  </Accordion>
</AccordionGroup>

### For Remote Teams

<AccordionGroup>
  <Accordion title="Establish overlap hours">
    Identify times when most team members are online for real-time collaboration.
  </Accordion>

  <Accordion title="Use async effectively">
    Leave detailed messages and task updates for teammates in different time zones.
  </Accordion>

  <Accordion title="Record important discussions">
    Summarize real-time discussions for those who weren't present.
  </Accordion>
</AccordionGroup>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Changes not appearing">
    * Check your internet connection
    * Look for offline indicator
    * Try refreshing the page
    * Log out and back in if issues persist
  </Accordion>

  <Accordion title="Presence not updating">
    * Presence updates every few seconds
    * Brief delays are normal
    * Extended issues may indicate connection problems
  </Accordion>

  <Accordion title="Collaborator edits overwriting mine">
    * This shouldn't happen with Trilo's conflict resolution
    * If it does, refresh and check history
    * Contact support if the issue persists
  </Accordion>

  <Accordion title="Notifications delayed">
    * Check notification settings
    * Verify browser/device permissions
    * Disable and re-enable notifications
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Chat Features" icon="comments" href="/chat/overview">
    Dive deeper into real-time messaging.
  </Card>

  <Card title="Knowledge Base" icon="book" href="/knowledge-base/overview">
    Learn about collaborative documents.
  </Card>
</CardGroup>
